Comments (3)
Detected 28434 ESLint reports and/or crashes.
Scanned 6696 repositories.
Reached maximum result count 50.
Showing 50/28434
Rules:
vitest/expect-expect
vitest/no-conditional-tests
vitest/lower-case-title
Click to expand
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/StreakYC/react-smooth-collapse/src/getTransitionTimeMs.test.js:8 Rule: "vitest/expect-expect"
- Path:
StreakYC/react-smooth-collapse/src/getTransitionTimeMs.test.js
- Link
6 |
7 | describe('getTransitionTimeMs', function() {
> 8 | it('works with milliseconds', function() {
9 | assert.strictEqual(getTransitionTimeMs('250ms ease'), 250);
10 | });
11 |
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/StreakYC/react-smooth-collapse/src/getTransitionTimeMs.test.js:8
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/accordion/__tests__/accordion-axe.test.tsx:18 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/accordion/__tests__/accordion-axe.test.tsx
- Link
16 |
17 | describe("<Accordion /> with axe", () => {
> 18 | it("Should not have ARIA violations", async () => {
19 | vi.useRealTimers();
20 | let { getByText, container } = render(
21 | <Accordion data-testid="wrapper">
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/accordion/__tests__/accordion-axe.test.tsx:18
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/accordion/__tests__/accordion.test.tsx:151 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/accordion/__tests__/accordion.test.tsx
- Link
149 | });
150 |
> 151 | it("`hidden` is not present for the active panel element", () => {
152 | expect(panels[0]).not.toHaveAttribute("hidden");
153 | });
154 |
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/accordion/__tests__/accordion.test.tsx:151
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/alert/__tests__/alert-axe.test.tsx:18 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/alert/__tests__/alert-axe.test.tsx
- Link
16 |
17 | describe("<Alert /> with axe", () => {
> 18 | it("Should not have ARIA violations", async () => {
19 | vi.useRealTimers();
20 | let { container, getByTestId } = render(<AlertApp />);
21 | let results: AxeCore.AxeResults = null as any;
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/alert/__tests__/alert-axe.test.tsx:18
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/alert-dialog/__tests__/alert-dialog-axe.test.tsx:18 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/alert-dialog/__tests__/alert-dialog-axe.test.tsx
- Link
16 |
17 | describe("<AlertDialog /> with axe", () => {
> 18 | it("Should not have ARIA violations", async () => {
19 | vi.useRealTimers();
20 | let { container, getByText, getByTestId } = render(<BasicAlertDialog />);
21 | let results: AxeCore.AxeResults = null as any;
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/alert-dialog/__tests__/alert-dialog-axe.test.tsx:18
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/auto-id/__tests__/auto-id-axe.test.tsx:16 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/auto-id/__tests__/auto-id-axe.test.tsx
- Link
14 |
15 | describe("useId with axe", () => {
> 16 | it("should provide a valid ID for a11y", async () => {
17 | vi.useRealTimers();
18 | let { container } = render(<TestInput />);
19 | let results = await axe(container);
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/auto-id/__tests__/auto-id-axe.test.tsx:16
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'object' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/auto-id/__tests__/auto-id.test.tsx:15 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/auto-id/__tests__/auto-id.test.tsx
- Link
13 |
14 | describe("useId", () => {
> 15 | it("should generate a unique ID value", () => {
16 | function Comp() {
17 | let justNull = null;
18 | let randId = useId(justNull);
TypeError: Cannot read property 'object' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/auto-id/__tests__/auto-id.test.tsx:15
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:55
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/checkbox/__tests__/checkbox-axe.test.tsx:22 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/checkbox/__tests__/checkbox-axe.test.tsx
- Link
20 |
21 | describe("<MixedCheckbox />", () => {
> 22 | it("Should not have ARIA violations after render", async () => {
23 | vi.useRealTimers();
24 | let { container } = render(<BasicMixedCheckbox />);
25 | let results: AxeCore.AxeResults = null as any;
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/checkbox/__tests__/checkbox-axe.test.tsx:22
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/combobox/__tests__/combobox-axe.test.tsx:23 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/combobox/__tests__/combobox-axe.test.tsx
- Link
21 |
22 | describe("<Combobox /> with axe", () => {
> 23 | it("Should not have ARIA violations", async () => {
24 | vi.useRealTimers();
25 | let { container } = render(<BasicCombobox />);
26 | let results: AxeCore.AxeResults = null as any;
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/combobox/__tests__/combobox-axe.test.tsx:23
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/dialog/__tests__/dialog-axe.test.tsx:14 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/dialog/__tests__/dialog-axe.test.tsx
- Link
12 |
13 | describe("<Dialog /> with axe", () => {
> 14 | it("Should not have ARIA violations", async () => {
15 | vi.useRealTimers();
16 | const { container } = render(<BasicOpenDialog />);
17 | let results: AxeCore.AxeResults = null as any;
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/dialog/__tests__/dialog-axe.test.tsx:14
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/disclosure/__tests__/disclosure-axe.test.tsx:17 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/disclosure/__tests__/disclosure-axe.test.tsx
- Link
15 |
16 | describe("<Disclosure /> with axe", () => {
> 17 | it("Should not have ARIA violations", async () => {
18 | vi.useRealTimers();
19 | let { getByRole, container } = render(
20 | <Disclosure>
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/disclosure/__tests__/disclosure-axe.test.tsx:17
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/listbox/__tests__/listbox-axe.test.tsx:16 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/listbox/__tests__/listbox-axe.test.tsx
- Link
14 |
15 | describe("<Listbox /> with axe", () => {
> 16 | it("Should not have ARIA violations", async () => {
17 | vi.useRealTimers();
18 | let { container } = render(<FancyListbox />);
19 | let results: AxeCore.AxeResults = null as any;
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/listbox/__tests__/listbox-axe.test.tsx:16
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/listbox/__tests__/listbox.test.tsx:44 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/listbox/__tests__/listbox.test.tsx
- Link
42 | });
43 |
> 44 | it("should mount the composed component", () => {
45 | act(() => {
46 | let { queryByRole } = render(
47 | <ListboxInput>
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/listbox/__tests__/listbox.test.tsx:44
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:62
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/menu-button/__tests__/menu-button-axe.test.tsx:25 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/menu-button/__tests__/menu-button-axe.test.tsx
- Link
23 | describe("<MenuButton /> with axe", () => {
24 | describe("with <MenuItem />", () => {
> 25 | it("Should not have ARIA violations", async () => {
26 | vi.useRealTimers();
27 | let { container, list, button } = renderTestMenu();
28 |
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/menu-button/__tests__/menu-button-axe.test.tsx:25
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/menu-button/__tests__/menu-button.test.tsx:75 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/menu-button/__tests__/menu-button.test.tsx
- Link
73 | });
74 |
> 75 | it("`aria-activedescendant` for list element is not present", () => {
76 | expect(rendered.list).not.toHaveAttribute("aria-activedescendant");
77 | });
78 |
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/menu-button/__tests__/menu-button.test.tsx:75
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/skip-nav/__tests__/skip-nav-axe.test.tsx:14 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/skip-nav/__tests__/skip-nav-axe.test.tsx
- Link
12 | describe("<SkipNavLink />", () => {
13 | describe("a11y", () => {
> 14 | it("Should not have ARIA violations", async () => {
15 | vi.useRealTimers();
16 | let { container } = render(<Layout />);
17 | expect(await axe(container)).toHaveNoViolations();
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/skip-nav/__tests__/skip-nav-axe.test.tsx:14
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/slider/__tests__/slider-axe.test.tsx:14 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/slider/__tests__/slider-axe.test.tsx
- Link
12 | describe("<Slider /> with axe", () => {
13 | describe("a11y", () => {
> 14 | it("Should not have ARIA violations", async () => {
15 | vi.useRealTimers();
16 | const { container } = render(<Slider aria-label="basic slider" />);
17 | const results = await axe(container);
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/slider/__tests__/slider-axe.test.tsx:14
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/tabs/__tests__/tabs-axe.test.tsx:15 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/tabs/__tests__/tabs-axe.test.tsx
- Link
13 |
14 | describe("<Tabs /> with axe", () => {
> 15 | it("Should not have ARIA violations", async () => {
16 | vi.useRealTimers();
17 | const { container } = render(
18 | <div>
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/tabs/__tests__/tabs-axe.test.tsx:15
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/tooltip/__tests__/tooltip.test.tsx:19 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/tooltip/__tests__/tooltip.test.tsx
- Link
17 | describe("<Tooltip />", () => {
18 | describe("rendering", () => {
> 19 | it("renders as any HTML element", () => {
20 | vi.useFakeTimers();
21 |
22 | let tooltipText = "Look at me";
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/tooltip/__tests__/tooltip.test.tsx:19
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/visually-hidden/__tests__/visually-hidden-axe.test.tsx:13 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/visually-hidden/__tests__/visually-hidden-axe.test.tsx
- Link
11 |
12 | describe("<VisuallyHidden /> with axe", () => {
> 13 | it("Should not have ARIA violations", async () => {
14 | vi.useRealTimers();
15 | const { container } = render(
16 | <button onClick={() => void null}>
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/visually-hidden/__tests__/visually-hidden-axe.test.tsx:13
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'object' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/CarouselSpec.tsx:166 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/CarouselSpec.tsx
- Link
164 |
165 | ['onSlide', 'onSlid'].forEach((eventName) => {
> 166 | it(`should call ${eventName} with previous index and direction`, (done) => {
167 | function onEvent(index, direction) {
168 | index.should.equal(0);
169 | direction.should.equal('end');
TypeError: Cannot read property 'object' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/CarouselSpec.tsx:166
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:55
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/CollapseSpec.tsx:35 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/CollapseSpec.tsx
- Link
33 | }
34 |
> 35 | it('should not throw an error with StrictMode', () => {
36 | render(
37 | <React.StrictMode>
38 | <Component in>Panel content</Component>
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/CollapseSpec.tsx:35
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:62
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'name' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/DropdownMenuSpec.tsx:110 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/DropdownMenuSpec.tsx
- Link
108 |
109 | describe('getDropdownMenuPlacement', () => {
> 110 | it('should return top placement', () => {
111 | getDropdownMenuPlacement(false, 'up', false).should.equal('top-start');
112 | getDropdownMenuPlacement(true, 'up', false).should.equal('top-end');
113 | getDropdownMenuPlacement(true, 'up-centered', false).should.equal('top');
TypeError: Cannot read property 'name' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/DropdownMenuSpec.tsx:110
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:69
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/FadeSpec.tsx:33 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/FadeSpec.tsx
- Link
31 | }
32 |
> 33 | it('should not throw an error with StrictMode', () => {
34 | render(
35 | <React.StrictMode>
36 | <Component in>Panel content</Component>
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/FadeSpec.tsx:33
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:62
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/FormControlSpec.tsx:67 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/FormControlSpec.tsx
- Link
65 | });
66 |
> 67 | it('should prefer explicit id', () => {
68 | shouldWarn('ignored');
69 |
70 | const { getByTestId } = render(
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/FormControlSpec.tsx:67
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:62
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/FormLabelSpec.tsx:80 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/FormLabelSpec.tsx
- Link
78 | });
79 |
> 80 | it('should prefer explicit htmlFor', () => {
81 | shouldWarn('ignored');
82 |
83 | const { getByTestId } = render(
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/FormLabelSpec.tsx:80
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:62
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/ListGroupItemSpec.tsx:93 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/ListGroupItemSpec.tsx
- Link
91 | expect(item.getAttribute('href')).to.be.equal('/foo');
92 | });
> 93 | it('renders a div and show warning', () => {
94 | shouldWarn('together');
95 | const { getByTestId } = render(
96 | <ListGroupItem action={false} href="/foo" data-testid="test" />,
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/ListGroupItemSpec.tsx:93
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:62
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/ListGroupSpec.tsx:56 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/ListGroupSpec.tsx
- Link
54 | });
55 |
> 56 | it('throws a warning if flush and horizontal are used', () => {
57 | shouldWarn('together');
58 | render(<ListGroup horizontal variant="flush" />);
59 | });
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/ListGroupSpec.tsx:56
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:62
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/ModalSpec.tsx:143 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/ModalSpec.tsx
- Link
141 | });
142 |
> 143 | it('Should use backdropClassName to add classes to the backdrop', () => {
144 | render(
145 | <Modal show backdropClassName="my-modal-backdrop">
146 | <strong>Message</strong>
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/ModalSpec.tsx:143
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:62
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/NavDropdownSpec.tsx:83 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/NavDropdownSpec.tsx
- Link
81 | });
82 |
> 83 | it('passes menuVariant to dropdown menu', () => {
84 | render(
85 | <NavDropdown renderMenuOnMount title="blah" menuVariant="dark" id="test">
86 | <DropdownItem>Item 1</DropdownItem>
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/NavDropdownSpec.tsx:83
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:62
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/NavSpec.tsx:153 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/NavSpec.tsx
- Link
151 | });
152 |
> 153 | it('should warn when attempting to use a justify navbar nav', () => {
154 | shouldWarn('justify navbar `Nav`s are not supported');
155 |
156 | render(<Nav navbar justify />);
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/NavSpec.tsx:153
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:309:62
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:307:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message: `Cannot read property 'callee' of undefined Occurred while linting
from eslint-plugin-vitest.
Detected 19894 ESLint reports and/or crashes.
Scanned 7108 repositories.
Reached maximum result count 50.
Showing 50/19894
Rules:
vitest/expect-expect
vitest/no-conditional-tests
vitest/lower-case-title
Click to expand
Rule: vitest/expect-expect
- Message:
Cannot read property 'object' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/auto-id/__tests__/auto-id.test.tsx:15 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/auto-id/__tests__/auto-id.test.tsx
- Link
13 |
14 | describe("useId", () => {
> 15 | it("should generate a unique ID value", () => {
16 | function Comp() {
17 | let justNull = null;
18 | let randId = useId(justNull);
TypeError: Cannot read property 'object' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/auto-id/__tests__/auto-id.test.tsx:15
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:56
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/listbox/__tests__/listbox.test.tsx:44 Rule: "vitest/expect-expect"
- Path:
reach/reach-ui/packages/listbox/__tests__/listbox.test.tsx
- Link
42 | });
43 |
> 44 | it("should mount the composed component", () => {
45 | act(() => {
46 | let { queryByRole } = render(
47 | <ListboxInput>
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/listbox/__tests__/listbox.test.tsx:44
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'object' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/CarouselSpec.tsx:166 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/CarouselSpec.tsx
- Link
164 |
165 | ['onSlide', 'onSlid'].forEach((eventName) => {
> 166 | it(`should call ${eventName} with previous index and direction`, (done) => {
167 | function onEvent(index, direction) {
168 | index.should.equal(0);
169 | direction.should.equal('end');
TypeError: Cannot read property 'object' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/CarouselSpec.tsx:166
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:56
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/CollapseSpec.tsx:35 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/CollapseSpec.tsx
- Link
33 | }
34 |
> 35 | it('should not throw an error with StrictMode', () => {
36 | render(
37 | <React.StrictMode>
38 | <Component in>Panel content</Component>
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/CollapseSpec.tsx:35
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/FadeSpec.tsx:33 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/FadeSpec.tsx
- Link
31 | }
32 |
> 33 | it('should not throw an error with StrictMode', () => {
34 | render(
35 | <React.StrictMode>
36 | <Component in>Panel content</Component>
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/FadeSpec.tsx:33
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/FormControlSpec.tsx:67 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/FormControlSpec.tsx
- Link
65 | });
66 |
> 67 | it('should prefer explicit id', () => {
68 | shouldWarn('ignored');
69 |
70 | const { getByTestId } = render(
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/FormControlSpec.tsx:67
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/FormLabelSpec.tsx:80 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/FormLabelSpec.tsx
- Link
78 | });
79 |
> 80 | it('should prefer explicit htmlFor', () => {
81 | shouldWarn('ignored');
82 |
83 | const { getByTestId } = render(
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/FormLabelSpec.tsx:80
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/ListGroupItemSpec.tsx:93 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/ListGroupItemSpec.tsx
- Link
91 | expect(item.getAttribute('href')).to.be.equal('/foo');
92 | });
> 93 | it('renders a div and show warning', () => {
94 | shouldWarn('together');
95 | const { getByTestId } = render(
96 | <ListGroupItem action={false} href="/foo" data-testid="test" />,
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/ListGroupItemSpec.tsx:93
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/ListGroupSpec.tsx:56 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/ListGroupSpec.tsx
- Link
54 | });
55 |
> 56 | it('throws a warning if flush and horizontal are used', () => {
57 | shouldWarn('together');
58 | render(<ListGroup horizontal variant="flush" />);
59 | });
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/ListGroupSpec.tsx:56
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/ModalSpec.tsx:143 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/ModalSpec.tsx
- Link
141 | });
142 |
> 143 | it('Should use backdropClassName to add classes to the backdrop', () => {
144 | render(
145 | <Modal show backdropClassName="my-modal-backdrop">
146 | <strong>Message</strong>
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/ModalSpec.tsx:143
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/NavDropdownSpec.tsx:83 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/NavDropdownSpec.tsx
- Link
81 | });
82 |
> 83 | it('passes menuVariant to dropdown menu', () => {
84 | render(
85 | <NavDropdown renderMenuOnMount title="blah" menuVariant="dark" id="test">
86 | <DropdownItem>Item 1</DropdownItem>
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/NavDropdownSpec.tsx:83
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/NavSpec.tsx:153 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/NavSpec.tsx
- Link
151 | });
152 |
> 153 | it('should warn when attempting to use a justify navbar nav', () => {
154 | shouldWarn('justify navbar `Nav`s are not supported');
155 |
156 | render(<Nav navbar justify />);
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/NavSpec.tsx:153
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/OffcanvasSpec.tsx:65 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/OffcanvasSpec.tsx
- Link
63 | });
64 |
> 65 | it('Should pass backdropClassName to the backdrop', () => {
66 | render(
67 | <Offcanvas show backdropClassName="custom-backdrop" onHide={noop}>
68 | <strong>Message</strong>
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/OffcanvasSpec.tsx:65
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/ProgressBarSpec.tsx:226 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/ProgressBarSpec.tsx
- Link
224 | });
225 |
> 226 | it('allows only ProgressBar in children', () => {
227 | shouldWarn('Failed prop');
228 |
229 | function NotProgressBar() {
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/ProgressBarSpec.tsx:226
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/TabsSpec.tsx:166 Rule: "vitest/expect-expect"
- Path:
react-bootstrap/react-bootstrap/test/TabsSpec.tsx
- Link
164 | });
165 |
> 166 | it('Should not render a Tab without a title', () => {
167 | shouldWarn('Failed prop');
168 | const { getByTestId } = render(
169 | <Tabs data-testid="testid" id="test" defaultActiveKey={1}>
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/react-bootstrap/react-bootstrap/test/TabsSpec.tsx:166
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/packages/core/src/SpringContext.test.tsx:59 Rule: "vitest/expect-expect"
- Path:
pmndrs/react-spring/packages/core/src/SpringContext.test.tsx
- Link
57 | })
58 |
> 59 | it('can pause current animations', () => {
60 | update({})
61 | global.mockRaf.step()
62 | expect(t.idle).toBeFalsy()
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/packages/core/src/SpringContext.test.tsx:59
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/packages/core/src/hooks/useSpring.test.tsx:28 Rule: "vitest/expect-expect"
- Path:
pmndrs/react-spring/packages/core/src/hooks/useSpring.test.tsx
- Link
26 |
27 | describe('when only a props object is passed', () => {
> 28 | it('is updated every render', () => {
29 | update({ x: 0 })
30 | expect(springs.x.goal).toBe(0)
31 |
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/packages/core/src/hooks/useSpring.test.tsx:28
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/packages/core/src/hooks/useSprings.test.tsx:96 Rule: "vitest/expect-expect"
- Path:
pmndrs/react-spring/packages/core/src/hooks/useSprings.test.tsx
- Link
94 |
95 | describe('when only a props array is passed', () => {
> 96 | it('updates each spring on every render', () => {
97 | update(2, [{ x: 0 }, { x: 0 }])
98 | expect(mapSprings(s => s.goal)).toEqual([{ x: 0 }, { x: 0 }])
99 |
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/packages/core/src/hooks/useSprings.test.tsx:96
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/packages/core/src/hooks/useTrail.test.tsx:18 Rule: "vitest/expect-expect"
- Path:
pmndrs/react-spring/packages/core/src/hooks/useTrail.test.tsx
- Link
16 | })
17 |
> 18 | it('has each spring follow the spring before it', () => {
19 | update(2, { x: 100, from: { x: 0 } })
20 | expect(springs.length).toBe(2)
21 | expect(springs[1].x.animation.to).toBe(springs[0].x)
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/packages/core/src/hooks/useTrail.test.tsx:18
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/no-conditional-tests
- Message:
Cannot use 'in' operator to search for 'body' in undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/packages/core/test/setup.ts:120 Rule: "vitest/no-conditional-tests"
- Path:
pmndrs/react-spring/packages/core/test/setup.ts
- Link
118 | global.advanceUntil = async test => {
119 | let steps = 0
> 120 | while (isRunning && !test()) {
121 | // Observe animations scheduled for next frame.
122 | const values: FrameValue[] = []
123 | const observe = (value: unknown) => {
TypeError: Cannot use 'in' operator to search for 'body' in undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/packages/core/test/setup.ts:120
Rule: "vitest/no-conditional-tests"
at checkConditionalTest (/github/workspace/dist/index.cjs:257:20)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:280:9)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/packages/rafz/src/index.test.ts:20 Rule: "vitest/expect-expect"
- Path:
pmndrs/react-spring/packages/rafz/src/index.test.ts
- Link
18 | expect(__raf.isRunning()).toBe(false)
19 | })
> 20 | it('loops when update is registered', () => {
21 | raf(() => true)
22 | expect(__raf.isRunning()).toBe(true)
23 | mockRaf.step()
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/packages/rafz/src/index.test.ts:20
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'object' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/packages/shared/src/hooks/useReducedMotion.test.ts:28 Rule: "vitest/expect-expect"
- Path:
pmndrs/react-spring/packages/shared/src/hooks/useReducedMotion.test.ts
- Link
26 | })
27 |
> 28 | it('returns true if "Reduce motion" is enabled', async () => {
29 | window.matchMedia = jest.fn().mockImplementation(query => {
30 | return {
31 | ...mqDefaults,
TypeError: Cannot read property 'object' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/packages/shared/src/hooks/useReducedMotion.test.ts:28
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:56
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'object' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/targets/web/src/types/__tests__/Spring.tsx:12 Rule: "vitest/expect-expect"
- Path:
pmndrs/react-spring/targets/web/src/types/__tests__/Spring.tsx
- Link
10 | const View = animated('div');
11 |
> 12 | test('basic usage', () => {
13 | <Spring
14 | from={{ opacity: 0 }}
15 | to={{ opacity: 1, color: 'blue' }}
TypeError: Cannot read property 'object' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/targets/web/src/types/__tests__/Spring.tsx:12
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:56
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'length' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/targets/web/src/types/__tests__/Trail.tsx:10 Rule: "vitest/expect-expect"
- Path:
pmndrs/react-spring/targets/web/src/types/__tests__/Trail.tsx
- Link
8 | declare const items: number[];
9 |
> 10 | test('basic usage', () => (
11 | <Trail items={items} from={{ opacity: 0 }} to={{ opacity: 1, color: 'blue' }}>
12 | {(item) => (props) => {
13 | assert(item, _ as unknown); // FIXME: should be "number"
TypeError: Cannot read property 'length' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/targets/web/src/types/__tests__/Trail.tsx:10
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:307:30
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'object' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/targets/web/src/types/__tests__/Transition.tsx:10 Rule: "vitest/expect-expect"
- Path:
pmndrs/react-spring/targets/web/src/types/__tests__/Transition.tsx
- Link
8 | const items = [1, 2] as [1, 2];
9 |
> 10 | test('basic usage', () => {
11 | <Transition
12 | items={items}
13 | from={{ opacity: 0 }}
TypeError: Cannot read property 'object' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/targets/web/src/types/__tests__/Transition.tsx:10
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:56
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/targets/web/src/types/__tests__/useChain.tsx:8 Rule: "vitest/expect-expect"
- Path:
pmndrs/react-spring/targets/web/src/types/__tests__/useChain.tsx
- Link
6 | const refs: RefObject<SpringHandle>[] = [];
7 |
> 8 | test('basic usage', () => {
9 | // No timesteps
10 | useChain(refs);
11 |
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/targets/web/src/types/__tests__/useChain.tsx:8
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/targets/web/src/types/__tests__/useSpring.tsx:213 Rule: "vitest/expect-expect"
- Path:
pmndrs/react-spring/targets/web/src/types/__tests__/useSpring.tsx
- Link
211 | });
212 |
> 213 | test('with "onProps" prop', () => {
214 | useSpring({
215 | width: 0,
216 | onProps(props, spring) {
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/targets/web/src/types/__tests__/useSpring.tsx:213
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/targets/web/src/types/__tests__/useTransition.tsx:82 Rule: "vitest/expect-expect"
- Path:
pmndrs/react-spring/targets/web/src/types/__tests__/useTransition.tsx
- Link
80 | });
81 |
> 82 | test('return an async function', () => {
83 | useTransition(items, {
84 | update: (item) => async (next) => {
85 | assert(item, _ as 1 | 2);
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/pmndrs/react-spring/targets/web/src/types/__tests__/useTransition.tsx:82
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kentcdodds/react-fundamentals/src/__tests__/05.js:7 Rule: "vitest/expect-expect"
- Path:
kentcdodds/react-fundamentals/src/__tests__/05.js
- Link
5 | // import App from '../exercise/05'
6 |
> 7 | test('renders the correct styles new', async () => {
8 | render(<App />)
9 | const allBoxes = screen.getAllByText(/box/i)
10 |
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kentcdodds/react-fundamentals/src/__tests__/05.js:7
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kentcdodds/react-fundamentals/src/__tests__/06.extra-2.js:16 Rule: "vitest/expect-expect"
- Path:
kentcdodds/react-fundamentals/src/__tests__/06.extra-2.js
- Link
14 | })
15 |
> 16 | test('calls the onSubmitUsername handler when the submit is fired', async () => {
17 | render(<App />)
18 | const input = screen.getByLabelText(/username/i)
19 | const submit = screen.getByText(/submit/i)
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kentcdodds/react-fundamentals/src/__tests__/06.extra-2.js:16
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kentcdodds/react-fundamentals/src/__tests__/06.extra-3.js:15 Rule: "vitest/expect-expect"
- Path:
kentcdodds/react-fundamentals/src/__tests__/06.extra-3.js
- Link
13 | })
14 |
> 15 | test('calls the onSubmitUsername handler when the submit is fired', async () => {
16 | render(<App />)
17 | const input = screen.getByLabelText(/username/i)
18 | const submit = screen.getByText(/submit/i)
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kentcdodds/react-fundamentals/src/__tests__/06.extra-3.js:15
Rule: "vitest/expect-expect"
at /github/workspace/dist/index.cjs:308:63
at Array.some (<anonymous>)
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:306:32)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Rule: vitest/expect-expect
- Message:
Cannot read property 'callee' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kentcdodds/react-fundamentals/src/__tests__/06.js:15 Rule: "vitest/expect-expect"
- Path:
kentcdodds/react-fundamentals/src/__tests__/06.js
- Link
13 | })
14 |
> 15 | test('calls the onSubmitUsername handler when the submit is fired', async () => {
16 | render(<App />)
17 | const input = screen.getByLabelText(/username/i)
18 | const submit = screen.getByText(/submit/i)
TypeError: Cannot read property 'callee' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kentcdodds/react-fundamentals/src/__tests__/06.js:15
Rule: "vitest/expect
</details>
from eslint-plugin-vitest.
Detected 79682 ESLint reports and/or crashes.
Scanned 5538 repositories.
Reached maximum result count 50.
Showing 50/79682
Rules:
vitest/consistent-test-it
vitest/expect-expect
vitest/lower-case-title
Click to expand
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/oldboyxx/jira_clone/client/cypress/integration/authentication.spec.js:9 Rule: "vitest/consistent-test-it"
- Path:
oldboyxx/jira_clone/client/cypress/integration/authentication.spec.js
- Link
7 | });
8 |
> 9 | it('creates guest account if user has no auth token', () => {
10 | cy.window()
11 | .its('localStorage.authToken')
12 | .should('be.undefined');
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/oldboyxx/jira_clone/client/cypress/integration/authentication.spec.js:9
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/oldboyxx/jira_clone/client/cypress/integration/issueCreate.spec.js:10 Rule: "vitest/consistent-test-it"
- Path:
oldboyxx/jira_clone/client/cypress/integration/issueCreate.spec.js
- Link
8 | });
9 |
> 10 | it('validates form and creates issue successfully', () => {
11 | cy.get(testid`modal:issue-create`).within(() => {
12 | cy.get('button[type="submit"]').click();
13 | cy.get(testid`form-field:title`).should('contain', 'This field is required');
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/oldboyxx/jira_clone/client/cypress/integration/issueCreate.spec.js:10
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/oldboyxx/jira_clone/client/cypress/integration/issueDetails.spec.js:11 Rule: "vitest/consistent-test-it"
- Path:
oldboyxx/jira_clone/client/cypress/integration/issueDetails.spec.js
- Link
9 | });
10 |
> 11 | it('updates type, status, assignees, reporter, priority successfully', () => {
12 | getIssueDetailsModal().within(() => {
13 | cy.selectOption('type', 'Story');
14 | cy.selectOption('status', 'Done');
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/oldboyxx/jira_clone/client/cypress/integration/issueDetails.spec.js:11
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/oldboyxx/jira_clone/client/cypress/integration/issueFilters.spec.js:10 Rule: "vitest/consistent-test-it"
- Path:
oldboyxx/jira_clone/client/cypress/integration/issueFilters.spec.js
- Link
8 | });
9 |
> 10 | it('filters issues', () => {
11 | getSearchInput().debounced('type', 'Issue title 1');
12 | assertIssuesCount(1);
13 | getSearchInput().debounced('clear');
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/oldboyxx/jira_clone/client/cypress/integration/issueFilters.spec.js:10
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/oldboyxx/jira_clone/client/cypress/integration/issueSearch.spec.js:10 Rule: "vitest/consistent-test-it"
- Path:
oldboyxx/jira_clone/client/cypress/integration/issueSearch.spec.js
- Link
8 | });
9 |
> 10 | it('displays recent issues if search input is empty', () => {
11 | getIssueSearchModal().within(() => {
12 | cy.contains('Recent Issues').should('exist');
13 | getIssues().should('have.length', 3);
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/oldboyxx/jira_clone/client/cypress/integration/issueSearch.spec.js:10
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/oldboyxx/jira_clone/client/cypress/integration/issuesDragDrop.spec.js:12 Rule: "vitest/consistent-test-it"
- Path:
oldboyxx/jira_clone/client/cypress/integration/issuesDragDrop.spec.js
- Link
10 | });
11 |
> 12 | it('moves issue between different lists', () => {
13 | cy.get(testid`board-list:backlog`).should('contain', firstIssueTitle);
14 | cy.get(testid`board-list:selected`).should('not.contain', firstIssueTitle);
15 | moveFirstIssue(KeyCodes.ARROW_RIGHT);
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/oldboyxx/jira_clone/client/cypress/integration/issuesDragDrop.spec.js:12
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/oldboyxx/jira_clone/client/cypress/integration/projectSettings.spec.js:10 Rule: "vitest/consistent-test-it"
- Path:
oldboyxx/jira_clone/client/cypress/integration/projectSettings.spec.js
- Link
8 | });
9 |
> 10 | it('should display current values in form', () => {
11 | cy.get('input[name="name"]').should('have.value', 'Project name');
12 | cy.get('input[name="url"]').should('have.value', 'https://www.testurl.com');
13 | cy.get('.ql-editor').should('contain', 'Project description');
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/oldboyxx/jira_clone/client/cypress/integration/projectSettings.spec.js:10
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/StreakYC/react-smooth-collapse/src/getTransitionTimeMs.test.js:8 Rule: "vitest/consistent-test-it"
- Path:
StreakYC/react-smooth-collapse/src/getTransitionTimeMs.test.js
- Link
6 |
7 | describe('getTransitionTimeMs', function() {
> 8 | it('works with milliseconds', function() {
9 | assert.strictEqual(getTransitionTimeMs('250ms ease'), 250);
10 | });
11 |
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/StreakYC/react-smooth-collapse/src/getTransitionTimeMs.test.js:8
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/accordion/__tests__/accordion-axe.test.tsx:18 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/accordion/__tests__/accordion-axe.test.tsx
- Link
16 |
17 | describe("<Accordion /> with axe", () => {
> 18 | it("Should not have ARIA violations", async () => {
19 | vi.useRealTimers();
20 | let { getByText, container } = render(
21 | <Accordion data-testid="wrapper">
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/accordion/__tests__/accordion-axe.test.tsx:18
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/accordion/__tests__/accordion.test.tsx:29 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/accordion/__tests__/accordion.test.tsx
- Link
27 | });
28 |
> 29 | it("`role` is set to `region` for panel elements", () => {
30 | expect(panels[0]).toHaveAttribute("role", "region");
31 | expect(panels[1]).toHaveAttribute("role", "region");
32 | });
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/accordion/__tests__/accordion.test.tsx:29
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/alert/__tests__/alert-axe.test.tsx:18 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/alert/__tests__/alert-axe.test.tsx
- Link
16 |
17 | describe("<Alert /> with axe", () => {
> 18 | it("Should not have ARIA violations", async () => {
19 | vi.useRealTimers();
20 | let { container, getByTestId } = render(<AlertApp />);
21 | let results: AxeCore.AxeResults = null as any;
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/alert/__tests__/alert-axe.test.tsx:18
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/alert-dialog/__tests__/alert-dialog-axe.test.tsx:18 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/alert-dialog/__tests__/alert-dialog-axe.test.tsx
- Link
16 |
17 | describe("<AlertDialog /> with axe", () => {
> 18 | it("Should not have ARIA violations", async () => {
19 | vi.useRealTimers();
20 | let { container, getByText, getByTestId } = render(<BasicAlertDialog />);
21 | let results: AxeCore.AxeResults = null as any;
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/alert-dialog/__tests__/alert-dialog-axe.test.tsx:18
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/alert-dialog/__tests__/alert-dialog.test.tsx:17 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/alert-dialog/__tests__/alert-dialog.test.tsx
- Link
15 | describe("<AlertDialog />", () => {
16 | describe("rendering", () => {
> 17 | it("should render the correct labels", () => {
18 | const { baseElement, getByText } = render(<BasicAlertDialog />);
19 | let openButton = getByText("Show Dialog");
20 | fireEvent.click(openButton);
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/alert-dialog/__tests__/alert-dialog.test.tsx:17
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/auto-id/__tests__/auto-id-axe.test.tsx:16 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/auto-id/__tests__/auto-id-axe.test.tsx
- Link
14 |
15 | describe("useId with axe", () => {
> 16 | it("should provide a valid ID for a11y", async () => {
17 | vi.useRealTimers();
18 | let { container } = render(<TestInput />);
19 | let results = await axe(container);
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/auto-id/__tests__/auto-id-axe.test.tsx:16
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/auto-id/__tests__/auto-id.test.tsx:15 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/auto-id/__tests__/auto-id.test.tsx
- Link
13 |
14 | describe("useId", () => {
> 15 | it("should generate a unique ID value", () => {
16 | function Comp() {
17 | let justNull = null;
18 | let randId = useId(justNull);
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/auto-id/__tests__/auto-id.test.tsx:15
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/checkbox/__tests__/checkbox-axe.test.tsx:22 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/checkbox/__tests__/checkbox-axe.test.tsx
- Link
20 |
21 | describe("<MixedCheckbox />", () => {
> 22 | it("Should not have ARIA violations after render", async () => {
23 | vi.useRealTimers();
24 | let { container } = render(<BasicMixedCheckbox />);
25 | let results: AxeCore.AxeResults = null as any;
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/checkbox/__tests__/checkbox-axe.test.tsx:22
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/combobox/__tests__/combobox-axe.test.tsx:23 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/combobox/__tests__/combobox-axe.test.tsx
- Link
21 |
22 | describe("<Combobox /> with axe", () => {
> 23 | it("Should not have ARIA violations", async () => {
24 | vi.useRealTimers();
25 | let { container } = render(<BasicCombobox />);
26 | let results: AxeCore.AxeResults = null as any;
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/combobox/__tests__/combobox-axe.test.tsx:23
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/combobox/__tests__/combobox.test.tsx:116 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/combobox/__tests__/combobox.test.tsx
- Link
114 |
115 | describe("a11y", () => {
> 116 | it("should forward aria-label from Combobox to ComboboxInput", () => {
117 | let { getByRole } = render(<ComboboxExample />);
118 | let input = getByRole("combobox");
119 |
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/combobox/__tests__/combobox.test.tsx:116
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/combobox/__tests__/utils.test.ts:11 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/combobox/__tests__/utils.test.ts
- Link
9 | const TEXT = "This is a string with words to search.";
10 |
> 11 | it("should handle empty `textToHighlight`", () => {
12 | let result = HighlightWords.findAll({
13 | searchWords: ["search"],
14 | textToHighlight: "",
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/combobox/__tests__/utils.test.ts:11
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/dialog/__tests__/dialog-axe.test.tsx:14 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/dialog/__tests__/dialog-axe.test.tsx
- Link
12 |
13 | describe("<Dialog /> with axe", () => {
> 14 | it("Should not have ARIA violations", async () => {
15 | vi.useRealTimers();
16 | const { container } = render(<BasicOpenDialog />);
17 | let results: AxeCore.AxeResults = null as any;
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/dialog/__tests__/dialog-axe.test.tsx:14
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/dialog/__tests__/dialog.test.tsx:50 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/dialog/__tests__/dialog.test.tsx
- Link
48 |
49 | describe("rendering", () => {
> 50 | it("does not render children when not open", () => {
51 | const { queryByTestId } = render(
52 | <div data-testid="root">
53 | <Dialog isOpen={false} aria-label="cool dialog">
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/dialog/__tests__/dialog.test.tsx:50
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/disclosure/__tests__/disclosure-axe.test.tsx:17 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/disclosure/__tests__/disclosure-axe.test.tsx
- Link
15 |
16 | describe("<Disclosure /> with axe", () => {
> 17 | it("Should not have ARIA violations", async () => {
18 | vi.useRealTimers();
19 | let { getByRole, container } = render(
20 | <Disclosure>
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/disclosure/__tests__/disclosure-axe.test.tsx:17
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/disclosure/__tests__/disclosure.test.tsx:17 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/disclosure/__tests__/disclosure.test.tsx
- Link
15 | describe("<Disclosure />", () => {
16 | describe("rendering", () => {
> 17 | it("uses the correct data attributes", () => {
18 | let { getByText } = render(
19 | <Disclosure>
20 | <DisclosureButton>Click Button</DisclosureButton>
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/disclosure/__tests__/disclosure.test.tsx:17
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/listbox/__tests__/listbox-axe.test.tsx:16 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/listbox/__tests__/listbox-axe.test.tsx
- Link
14 |
15 | describe("<Listbox /> with axe", () => {
> 16 | it("Should not have ARIA violations", async () => {
17 | vi.useRealTimers();
18 | let { container } = render(<FancyListbox />);
19 | let results: AxeCore.AxeResults = null as any;
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/listbox/__tests__/listbox-axe.test.tsx:16
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/listbox/__tests__/listbox.test.tsx:32 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/listbox/__tests__/listbox.test.tsx
- Link
30 | describe("<Listbox />", () => {
31 | describe("rendering", () => {
> 32 | it("should mount the component", () => {
33 | let { queryByRole } = render(
34 | <Listbox portal={false}>
35 | <ListboxOption value="pollo">Pollo</ListboxOption>
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/listbox/__tests__/listbox.test.tsx:32
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/menu-button/__tests__/menu-button-axe.test.tsx:25 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/menu-button/__tests__/menu-button-axe.test.tsx
- Link
23 | describe("<MenuButton /> with axe", () => {
24 | describe("with <MenuItem />", () => {
> 25 | it("Should not have ARIA violations", async () => {
26 | vi.useRealTimers();
27 | let { container, list, button } = renderTestMenu();
28 |
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/menu-button/__tests__/menu-button-axe.test.tsx:25
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/menu-button/__tests__/menu-button.test.tsx:24 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/menu-button/__tests__/menu-button.test.tsx
- Link
22 | describe("a11y", () => {
23 | describe("ARIA attributes", () => {
> 24 | it("`role` is set to `menu` for list element", () => {
25 | let { button, list } = renderTestMenu();
26 |
27 | // Toggle the menu so that it is rendered
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/menu-button/__tests__/menu-button.test.tsx:24
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1150:32
Rule: vitest/consistent-test-it
- Message:
Cannot read property 'fn' of undefined Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/skip-nav/__tests__/skip-nav-axe.test.tsx:14 Rule: "vitest/consistent-test-it"
- Path:
reach/reach-ui/packages/skip-nav/__tests__/skip-nav-axe.test.tsx
- Link
12 | describe("<SkipNavLink />", () => {
13 | describe("a11y", () => {
> 14 | it("Should not have ARIA violations", async () => {
15 | vi.useRealTimers();
16 | let { container } = render(<Layout />);
17 | expect(await axe(container)).toHaveNoViolations();
TypeError: Cannot read property 'fn' of undefined
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/reach/reach-ui/packages/skip-nav/__tests__/skip-nav-axe.test.tsx:14
Rule: "vitest/consistent-test-it"
at CallExpression[callee.name=/^(it|test)$/] (/github/workspace/dist/index.cjs:382:21)
at ruleErrorHandler (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1115:28)
at /github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/github/workspace/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEve
</details>
from eslint-plugin-vitest.
Related Issues (20)
- vitest/expect-expect shouldn't require assertions for bench HOT 1
- Feature request: `consistent-test-file-path` HOT 2
- Feature request: formatting rules HOT 1
- Invalid flat config HOT 2
- `bench` throw error `Prefer using it instead of test within describe`
- `expect-expect` fails even if `expectTypeOf` is present HOT 7
- Add require `describe`, `it` and `vi` import HOT 1
- Extend the `no-identical-title` rule to support `suite` test block pattern HOT 4
- Consider rule for naming mocks created with `vi.fn()` HOT 1
- Results of weekly scheduled smoke test HOT 1
- Throwing with ESLint 9 and flat config HOT 1
- [BUG] Converting circular structure to JSON HOT 5
- Please provide non-flat config HOT 6
- Declaration file missing plugin configs
- Results of weekly scheduled smoke test HOT 8
- TypeError: Converting circular structure to JSON when extend the recommended HOT 3
- Feature request: `prefer-vi-mocked` HOT 1
- tsc: Fix issues related to types HOT 1
- Readme docs is outdates
- Publish v0.6.0 to NPM HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-plugin-vitest.