DEV Community

Discussion on: Setting up a Svelte test environment

Collapse
 
e01t profile image
E01T

Hello there,
Thanks for this great tutorial.
I have a problem, I get this error:

@ECHO OFF

if [ -z $1 ]; then
npx rollup -c rollup.test.config.js
else
npx rollup -c rollup.test.config.js -i $1
fi

if [ $? == 0 ]; then
npx jasmine
fi

Active code page: 1252
-z was unexpected at this time.
npm ERR! Test failed. See above for more details.

Any ideas?
What -z means by the way? Is it batch script?
I am using windows 7