https://pulumi.com logo
#general
Title
# general
f

flat-insurance-25294

01/21/2020, 5:06 PM
@big-potato-91793 Are you trying to read a file? Try logging your current working dir from pulumi and also try absolute path first.
b

big-potato-91793

01/21/2020, 5:48 PM
i’m not using pulumi for running my test.
This is the command that I execute
Copy code
PULUMI_TEST_MODE=true PULUMI_NODEJS_STACK="test" PULUMI_NODEJS_PROJECT="test" PULUMI_CONFIG='{ "aws:region": "us-west-2" }' ts-node node_modules/.bin/jasmine --config=jasmine.json --reporter=jasmine-console-reporter`
f

flat-insurance-25294

01/21/2020, 5:50 PM
Wouldn’t pulumi have to run a preview to generate the cloudformation snapshots?
b

big-potato-91793

01/21/2020, 5:55 PM
I was thinking that we don’t necessary need to run pulumi preview before but… 🤷
f

flat-insurance-25294

01/21/2020, 6:09 PM
But what will you snapshot test (That’s what you’re using Jest, I assume for) against?
b

big-potato-91793

01/21/2020, 8:37 PM
not really ... i’m using jasmine not jest