Skip to content

Commit

Permalink
Merge pull request #608 from Sysvale/build/npm-build-errors
Browse files Browse the repository at this point in the history
build: corrige erros de building após subir a versão do node no workflow
  • Loading branch information
RafaelGondi authored Apr 15, 2024
2 parents af00cd9 + c0834f3 commit d62d0a0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 50 deletions.
15 changes: 13 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sysvale/cuida",
"version": "3.0.0-beta.127",
"version": "3.0.0-beta.128",
"description": "A design system built by Sysvale, using storybook and Vue components",
"repository": {
"type": "git",
Expand Down Expand Up @@ -57,6 +57,7 @@
"@storybook/preset-scss": "^1.0.3",
"@storybook/testing-library": "^0.0.13",
"@storybook/vue3": "^6.5.10",
"@types/vue": "^2.0.0",
"@vitejs/plugin-vue": "^3.0.3",
"@vue/test-utils": "^2.0.2",
"babel-loader": "^8.2.5",
Expand Down
31 changes: 0 additions & 31 deletions src/App.vue

This file was deleted.

16 changes: 0 additions & 16 deletions src/tests/Wizard.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,4 @@ describe('Wizard', () => {
expect(validator(mockedSteps)).toBe(true);
expect(validator(invalidSteps)).toBe(false);
});

test('it disables buttons controls correctly', async () => {
const wrapper = mount(Wizard, {
props: {
steps: mockedSteps,
},
});

expect(wrapper.vm.disabledBack).toBe(true);
expect(wrapper.vm.disabledNext).toBe(false);

wrapper.vm.currentStep = 2;

expect(wrapper.vm.disabledBack).toBe(false);
expect(wrapper.vm.disabledNext).toBe(true);
});
});

0 comments on commit d62d0a0

Please sign in to comment.