Skip to content

Commit 14c9814

Browse files
committed
test:fix test script to recreate snapshots on every run
1 parent 5dd58d0 commit 14c9814

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/npmpublish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
npm i -g yarn
2626
yarn install
2727
yarn test
28+
yarn build
2829
env:
2930
CI: true
3031
VUE_APP_PUBLIC_KEY: ${{ secrets.ik_public_key }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build": "vue-cli-service lint --fix; npm run build:lib",
77
"serve": "vue-cli-service serve",
88
"lint": "vue-cli-service lint",
9-
"test:unit": "rm -f tests/__snapshots__/storyshots.test.js.snap && vue-cli-service test:unit",
9+
"test:unit": "vue-cli-service test:unit -u",
1010
"storybook": "start-storybook -p 6006",
1111
"build-storybook": "build-storybook"
1212
},

0 commit comments

Comments
 (0)