We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cfba58 commit e8b44ddCopy full SHA for e8b44dd
examples/yjs/sst.config.ts
@@ -61,16 +61,18 @@ export default $config({
61
},
62
})
63
64
- const testOutput = command.local.runOutput({
65
- command: `pnpm test:browser`,
66
- dir: `../../`,
67
- environment: {
68
- BASE_URL: $dev ? `http://localhost:5173` : service.url,
69
-
70
- // chain test to the service itself
71
- SERVICE_NAME: service.service,
72
- },
73
- })
+ const testOutput = $resolve([
+ service.url,
+ service.nodes.taskDefinition.arn,
+ ]).apply(([url, ..._rest]) =>
+ command.local.runOutput({
+ command: `pnpm test:browser`,
+ dir: `../../`,
+ environment: {
+ BASE_URL: $dev ? `http://localhost:5173` : url,
+ },
74
+ })
75
+ )
76
77
return {
78
website: testOutput.apply(() => service.url),
0 commit comments