Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 38f2ec3

Browse files
committed
fix(dependencies): updated jest related dependencies
1 parent 83b7bb9 commit 38f2ec3

19 files changed

+7232
-7777
lines changed

.eslintrc.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,14 @@ module.exports = {
3535
jest: true,
3636
},
3737
},
38+
{
39+
files: [
40+
'**/__tests__/*.{j,t}s?(x)',
41+
'**/tests/unit/**/*.spec.{j,t}s?(x)',
42+
],
43+
env: {
44+
jest: true,
45+
},
46+
},
3847
],
3948
};

cypress.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
{
22
"baseUrl": "http://localhost:6044",
33
"pluginsFile": "tests/e2e/plugins/index.js",
4-
"supportFile": "tests/e2e/support/index.js",
5-
"fixturesFolder": "tests/e2e/fixtures",
6-
"integrationFolder": "tests/e2e/integration",
7-
"testFiles": "**/*.e2e.js*",
8-
"experimentalComponentTesting": true,
9-
"componentFolder": "tests/e2e/components"
4+
"testFiles": "**/*.e2e.js*"
105
}

demos/vue-3/src/views/NumberFields.vue

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,7 @@
2626
</template>
2727

2828
<script lang="ts">
29-
import {
30-
FormValidator,
31-
min,
32-
max,
33-
Validator,
34-
NumberField,
35-
required,
36-
FormOptions,
37-
} from '@/';
29+
import { FormValidator, min, max, Validator, NumberField, required } from '@/';
3830
import { computed, defineComponent, reactive } from 'vue';
3931
import Console from '../components/Console.vue';
4032

demos/vue-3/src/views/TextAreaFields.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ import {
3131
Validator,
3232
TextAreaField,
3333
required,
34-
FormOptions,
3534
minLength,
36-
maxLength,
3735
} from '@/';
3836
import { computed, defineComponent, reactive } from 'vue';
3937
import Console from '../components/Console.vue';

demos/vue-3/src/views/TextFields.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import {
3535
EmailField,
3636
PasswordField,
3737
required,
38-
FormOptions,
3938
} from '@/';
4039
import { computed, defineComponent, reactive } from 'vue';
4140
import Console from '../components/Console.vue';

jest.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ module.exports = {
2222
],
2323

2424
testURL: 'http://localhost/',
25-
2625
transformIgnorePatterns: ['/node_modules/'],
2726
modulePathIgnorePatterns: ['<rootDir>/templates/'],
2827

2928
watchPlugins: [
3029
'jest-watch-typeahead/filename',
3130
'jest-watch-typeahead/testname',
3231
],
32+
3333
collectCoverage: true,
3434
collectCoverageFrom: ['<rootDir>/src/**/*.(vue|ts)'],
35+
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel',
3536
};

0 commit comments

Comments
 (0)