Created
April 15, 2022 13:54
-
-
Save lloydjatkinson/c02f906dcb086c4b4a45fa788ec8cd6a to your computer and use it in GitHub Desktop.
Astro test?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@lloydjatkinson ➜ /workspaces/astro-example-integration/packages/astro-example-integration-components (master ✗) $ pnpm run test | |
> @lloydjatkinson/[email protected] test /workspaces/astro-example-integration/packages/astro-example-integration-components | |
> mocha --parallel --timeout 15000 | |
1:53:51 PM [vite] Error when evaluating SSR module /@fs/workspaces/astro-example-integration/packages/astro-example-integration-components/src/Component.astro: | |
Error: Cannot find module 'astro/internal' imported from '/workspaces/astro-example-integration/packages/astro-example-integration-components/src/Component.astro' | |
at viteResolve (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58548:25) | |
at nodeImport (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58583:15) | |
at ssrImport (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58480:20) | |
at eval (/@fs/workspaces/astro-example-integration/packages/astro-example-integration-components/src/Component.astro:3:37) | |
at instantiateModule (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58525:15) | |
1:53:51 PM [vite] Error when evaluating SSR module /workspaces/astro-example-integration/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-component-tester/.test/test-CKltU8/src/pages/index.astro: | |
Error: Cannot find module 'astro/internal' imported from '/workspaces/astro-example-integration/packages/astro-example-integration-components/src/Component.astro' | |
at viteResolve (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58548:25) | |
at nodeImport (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58583:15) | |
at ssrImport (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58480:20) | |
at eval (/@fs/workspaces/astro-example-integration/packages/astro-example-integration-components/src/Component.astro:3:37) | |
at instantiateModule (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58525:15) | |
Error: Cannot find module 'astro/internal' imported from '/workspaces/astro-example-integration/packages/astro-example-integration-components/src/Component.astro' | |
at viteResolve (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58548:25) | |
at nodeImport (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58583:15) | |
at ssrImport (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58480:20) | |
at eval (/@fs/workspaces/astro-example-integration/packages/astro-example-integration-components/src/Component.astro:3:37) | |
at instantiateModule (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58525:15) | |
Example Tests | |
✔ should equal 2 | |
Component test | |
1) "before all" hook for "example component should be empty" | |
1 passing (3s) | |
1 failing | |
1) Example Tests | |
Component test | |
"before all" hook for "example component should be empty": | |
Error: Command failed: npx astro build | |
1:53:51 PM [vite] Error when evaluating SSR module /@fs/workspaces/astro-example-integration/packages/astro-example-integration-components/src/Component.astro: | |
Error: Cannot find module 'astro/internal' imported from '/workspaces/astro-example-integration/packages/astro-example-integration-components/src/Component.astro' | |
at viteResolve (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58548:25) | |
at nodeImport (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58583:15) | |
at ssrImport (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58480:20) | |
at eval (/@fs/workspaces/astro-example-integration/packages/astro-example-integration-components/src/Component.astro:3:37) | |
at instantiateModule (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58525:15) | |
1:53:51 PM [vite] Error when evaluating SSR module /workspaces/astro-example-integration/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-component-tester/.test/test-CKltU8/src/pages/index.astro: | |
Error: Cannot find module 'astro/internal' imported from '/workspaces/astro-example-integration/packages/astro-example-integration-components/src/Component.astro' | |
at viteResolve (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58548:25) | |
at nodeImport (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58583:15) | |
at ssrImport (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58480:20) | |
at eval (/@fs/workspaces/astro-example-integration/packages/astro-example-integration-components/src/Component.astro:3:37) | |
at instantiateModule (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58525:15) | |
Error: Cannot find module 'astro/internal' imported from '/workspaces/astro-example-integration/packages/astro-example-integration-components/src/Component.astro' | |
at viteResolve (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58548:25) | |
at nodeImport (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58583:15) | |
at ssrImport (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58480:20) | |
at eval (/@fs/workspaces/astro-example-integration/packages/astro-example-integration-components/src/Component.astro:3:37) | |
at instantiateModule (/workspaces/astro-example-integration/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:58525:15) | |
at checkExecSyncError (node:child_process:828:11) | |
at execSync (node:child_process:902:15) | |
at file:///workspaces/astro-example-integration/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-component-tester/dist/builder.js:84:21 | |
at step (file:///workspaces/astro-example-integration/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-component-tester/dist/builder.js:32:23) | |
at Object.next (file:///workspaces/astro-example-integration/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-component-tester/dist/builder.js:13:53) | |
at fulfilled (file:///workspaces/astro-example-integration/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-component-tester/dist/builder.js:4:58) | |
ELIFECYCLE Test failed. See above for more details. | |
@lloydjatkinson ➜ /workspaces/astro-example-integration/packages/astro-example-integration-components (master ✗) $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment