Skip to content

Add test coverage

Add test coverage #4

Triggered via pull request February 4, 2025 01:13
Status Failure
Total duration 41s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
src/component/lib.test.ts > migrations > basic migration: src/component/lib.test.ts#L9
Error: Could not find the "_generated" directory, make sure to run `npx convex dev` or `npx convex codegen`. Make sure your `import.meta.glob` includes the files in the "_generated" directory ❯ findModulesRoot node_modules/convex-test/dist/index.js:999:11 ❯ moduleCache node_modules/convex-test/dist/index.js:981:20 ❯ convexTest node_modules/convex-test/dist/index.js:1106:26 ❯ setupTest src/component/lib.test.ts:9:15 ❯ src/component/lib.test.ts:18:15
src/component/lib.test.ts > migrations > basic migration: src/component/lib.test.ts#L22
TypeError: Cannot read properties of undefined (reading 'finishAllScheduledFunctions') ❯ src/component/lib.test.ts:22:13
src/component/lib.test.ts > migrations > cancel migration: src/component/lib.test.ts#L9
Error: Could not find the "_generated" directory, make sure to run `npx convex dev` or `npx convex codegen`. Make sure your `import.meta.glob` includes the files in the "_generated" directory ❯ findModulesRoot node_modules/convex-test/dist/index.js:999:11 ❯ moduleCache node_modules/convex-test/dist/index.js:981:20 ❯ convexTest node_modules/convex-test/dist/index.js:1106:26 ❯ setupTest src/component/lib.test.ts:9:15 ❯ src/component/lib.test.ts:18:15
src/component/lib.test.ts > migrations > cancel migration: src/component/lib.test.ts#L22
TypeError: Cannot read properties of undefined (reading 'finishAllScheduledFunctions') ❯ src/component/lib.test.ts:22:13
src/component/lib.test.ts > migrations > dry run migration: src/component/lib.test.ts#L9
Error: Could not find the "_generated" directory, make sure to run `npx convex dev` or `npx convex codegen`. Make sure your `import.meta.glob` includes the files in the "_generated" directory ❯ findModulesRoot node_modules/convex-test/dist/index.js:999:11 ❯ moduleCache node_modules/convex-test/dist/index.js:981:20 ❯ convexTest node_modules/convex-test/dist/index.js:1106:26 ❯ setupTest src/component/lib.test.ts:9:15 ❯ src/component/lib.test.ts:18:15
src/component/lib.test.ts > migrations > dry run migration: src/component/lib.test.ts#L22
TypeError: Cannot read properties of undefined (reading 'finishAllScheduledFunctions') ❯ src/component/lib.test.ts:22:13
src/component/lib.test.ts > migrations > batch operations: src/component/lib.test.ts#L9
Error: Could not find the "_generated" directory, make sure to run `npx convex dev` or `npx convex codegen`. Make sure your `import.meta.glob` includes the files in the "_generated" directory ❯ findModulesRoot node_modules/convex-test/dist/index.js:999:11 ❯ moduleCache node_modules/convex-test/dist/index.js:981:20 ❯ convexTest node_modules/convex-test/dist/index.js:1106:26 ❯ setupTest src/component/lib.test.ts:9:15 ❯ src/component/lib.test.ts:18:15
src/component/lib.test.ts > migrations > batch operations: src/component/lib.test.ts#L22
TypeError: Cannot read properties of undefined (reading 'finishAllScheduledFunctions') ❯ src/component/lib.test.ts:22:13
src/component/lib.test.ts > migrations > error handling: src/component/lib.test.ts#L9
Error: Could not find the "_generated" directory, make sure to run `npx convex dev` or `npx convex codegen`. Make sure your `import.meta.glob` includes the files in the "_generated" directory ❯ findModulesRoot node_modules/convex-test/dist/index.js:999:11 ❯ moduleCache node_modules/convex-test/dist/index.js:981:20 ❯ convexTest node_modules/convex-test/dist/index.js:1106:26 ❯ setupTest src/component/lib.test.ts:9:15 ❯ src/component/lib.test.ts:18:15
src/component/lib.test.ts > migrations > error handling: src/component/lib.test.ts#L22
TypeError: Cannot read properties of undefined (reading 'finishAllScheduledFunctions') ❯ src/component/lib.test.ts:22:13