Running Copilot coding agent #90
Annotations
3 errors
|
[internal] keywords/src/index.test.ts > maybeParsedJSON > should return the original object if already an object:
packages/internal/keywords/src/index.test.ts#L73
AssertionError: expected { key: 'value' } to be { key: 'value' } // Object.is equality
If it should pass with deep equality, replace "toBe" with "toStrictEqual"
Expected: { key: 'value' }
Received: serializes to the same string
Compared values have no visual difference.
❯ keywords/src/index.test.ts:73:18
|
|
[@arkenv/vite-plugin] src/index.test.ts:
packages/vite-plugin/src/index.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/index.ts:2:1
❯ src/index.test.ts:26:1
Caused by: Caused by: Error: Failed to resolve entry for package "@repo/scope". The package may have incorrect main/module/exports specified in its package.json.
Plugin: vite:import-analysis
File: /home/runner/work/arkenv/arkenv/packages/arkenv/src/create-env.ts:1:18
1 | import { $ } from "@repo/scope";
| ^
2 | import { ArkEnvError } from "./errors";
3 | import { type } from "./type";
❯ packageEntryFailure ../../node_modules/.pnpm/vite@7.3.0_@types+node@24.10.4_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_tsx@4.21.0/node_modules/vite/dist/node/chunks/config.js:32815:32
❯ resolvePackageEntry ../../node_modules/.pnpm/vite@7.3.0_@types+node@24.10.4_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_tsx@4.21.0/node_modules/vite/dist/node/chunks/config.js:32812:2
❯ tryNodeResolve ../../node_modules/.pnpm/vite@7.3.0_@types+node@24.10.4_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_tsx@4.21.0/node_modules/vite/dist/node/chunks/config.js:32715:70
❯ ResolveIdContext.handler ../../node_modules/.pnpm/vite@7.3.0_@types+node@24.10.4_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_tsx@4.21.0/node_modules/vite/dist/node/chunks/config.js:32554:16
❯ EnvironmentPluginContainer.resolveId ../../node_modules/.pnpm/vite@7.3.0_@types+node@24.10.4_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_tsx@4.21.0/node_modules/vite/dist/node/chunks/config.js:28716:56
❯ TransformPluginContext.resolve ../../node_modules/.pnpm/vite@7.3.0_@types+node@24.10.4_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_tsx@4.21.0/node_modules/vite/dist/node/chunks/config.js:28928:13
❯ normalizeUrl ../../node_modules/.pnpm/vite@7.3.0_@types+node@24.10.4_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_tsx@4.21.0/node_modules/vite/dist/node/chunks/config.js:27110:22
❯ ../../node_modules/.pnpm/vite@7.3.0_@types+node@24.10.4_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_tsx@4.21.0/node_modules/vite/dist/node/chunks/config.js:27176:32
|
|
[internal] keywords/src/index.test.ts > maybeParsedJSON > should return the original object if already an object:
packages/internal/keywords/src/index.test.ts#L73
AssertionError: expected { key: 'value' } to be { key: 'value' } // Object.is equality
If it should pass with deep equality, replace "toBe" with "toStrictEqual"
Expected: { key: 'value' }
Received: serializes to the same string
Compared values have no visual difference.
❯ keywords/src/index.test.ts:73:18
|