-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
I'm just trying to run all tests and get:
cd packages/sst
pnpm test
> sst@2.49.4 test /home/berend/src/sst/sst-v2/packages/sst
> vitest run
RUN v0.33.0 /home/berend/src/sst/sst-v2/packages/sst
❯ test/constructs/Cognito.test.ts (0)
❯ test/constructs/Auth.test.ts (0)
❯ test/constructs/ApiGatewayV1Api.test.ts (0)
❯ test/constructs/Bucket.test.ts (0)
❯ test/constructs/App.test.ts (0)
❯ test/constructs/Api.test.ts (0)
❯ test/constructs/AppSyncApi.test.ts (0)
❯ test/constructs/Cron.test.ts (0)
❯ test/constructs/FunctionalStack.test.ts (0)
❯ test/constructs/Function.test.ts (0)
❯ test/constructs/Distribution.test.ts (0)
❯ test/constructs/EventBus.test.ts (0)
❯ test/constructs/Job.test.ts (0)
❯ test/constructs/KinesisStream.test.ts (0)
❯ test/constructs/NextjsSite.test.ts (0)
❯ test/constructs/RDS.test.ts (0)
❯ test/constructs/RemixSite.test.ts (0)
❯ test/constructs/Queue.test.ts (0)
❯ test/constructs/SsrFunction.test.ts (0)
❯ test/constructs/Script.test.ts (0)
❯ test/constructs/Service.test.ts (0)
✓ test/node/context.test.ts (8)
✓ test/constructs/apiGatewayV2AccessLog.test.ts (1)
✓ test/project.test.ts (2)
❯ test/constructs/Stack.test.ts (0)
❯ test/constructs/Table.test.ts (0)
❯ test/constructs/StaticSite.test.ts (0)
❯ test/constructs/Topic.test.ts (0)
❯ test/constructs/WebSocketApi.test.ts (0)
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Suites 26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
FAIL test/constructs/Api.test.ts [ test/constructs/Api.test.ts ]
FAIL test/constructs/ApiGatewayV1Api.test.ts [ test/constructs/ApiGatewayV1Api.test.ts ]
FAIL test/constructs/App.test.ts [ test/constructs/App.test.ts ]
FAIL test/constructs/AppSyncApi.test.ts [ test/constructs/AppSyncApi.test.ts ]
FAIL test/constructs/Auth.test.ts [ test/constructs/Auth.test.ts ]
FAIL test/constructs/Bucket.test.ts [ test/constructs/Bucket.test.ts ]
FAIL test/constructs/Cognito.test.ts [ test/constructs/Cognito.test.ts ]
FAIL test/constructs/Cron.test.ts [ test/constructs/Cron.test.ts ]
FAIL test/constructs/Distribution.test.ts [ test/constructs/Distribution.test.ts ]
FAIL test/constructs/EventBus.test.ts [ test/constructs/EventBus.test.ts ]
FAIL test/constructs/Function.test.ts [ test/constructs/Function.test.ts ]
FAIL test/constructs/FunctionalStack.test.ts [ test/constructs/FunctionalStack.test.ts ]
FAIL test/constructs/Job.test.ts [ test/constructs/Job.test.ts ]
FAIL test/constructs/KinesisStream.test.ts [ test/constructs/KinesisStream.test.ts ]
FAIL test/constructs/NextjsSite.test.ts [ test/constructs/NextjsSite.test.ts ]
FAIL test/constructs/Queue.test.ts [ test/constructs/Queue.test.ts ]
FAIL test/constructs/RDS.test.ts [ test/constructs/RDS.test.ts ]
FAIL test/constructs/RemixSite.test.ts [ test/constructs/RemixSite.test.ts ]
FAIL test/constructs/Script.test.ts [ test/constructs/Script.test.ts ]
FAIL test/constructs/Service.test.ts [ test/constructs/Service.test.ts ]
FAIL test/constructs/SsrFunction.test.ts [ test/constructs/SsrFunction.test.ts ]
FAIL test/constructs/Stack.test.ts [ test/constructs/Stack.test.ts ]
FAIL test/constructs/StaticSite.test.ts [ test/constructs/StaticSite.test.ts ]
FAIL test/constructs/Table.test.ts [ test/constructs/Table.test.ts ]
FAIL test/constructs/Topic.test.ts [ test/constructs/Topic.test.ts ]
FAIL test/constructs/WebSocketApi.test.ts [ test/constructs/WebSocketApi.test.ts ]
ReferenceError: Cannot access '__vite_ssr_import_9__' before initialization
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/26]⎯
Test Files 26 failed | 3 passed (29)
Tests 11 passed (11)
Start at 12:54:36
Duration 15.17s (transform 2.34s, setup 6ms, collect 498ms, tests 51ms, environment 10ms, prepare 4.87s)
ELIFECYCLE Test failed. See above for more details.
I'm using node 20.19.0
Any reason why tests are not working?
Metadata
Metadata
Assignees
Labels
No labels