Skip to content

Commit

Permalink
FIX cli tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Aug 20, 2019
1 parent 4e9f9bd commit 8fde590
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/cli/bin/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env node -r esm
#!/usr/bin/env node

import './generate';
require('esm')(module)('./generate.js');
4 changes: 2 additions & 2 deletions lib/cli/test/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ do
if [ $dir == *"native"* ]
then
# run @storybook/cli
../../../bin/index.js init --skip-install --yes --install-server
yarn sb init --skip-install --yes --install-server
else
# run @storybook/cli
../../../bin/index.js init --skip-install --yes
yarn sb init --skip-install --yes
fi

cd ..
Expand Down

0 comments on commit 8fde590

Please sign in to comment.