Skip to content

Commit 9937f01

Browse files
authored
chore: Bump deps (#207)
1 parent fa22f41 commit 9937f01

File tree

3 files changed

+21
-23
lines changed

3 files changed

+21
-23
lines changed

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -47,39 +47,39 @@
4747
"author": "Daniel Cook",
4848
"license": "MIT",
4949
"dependencies": {
50-
"@babel/runtime": "^7.12.1",
51-
"@testing-library/dom": "^7.28.1",
52-
"@vue/test-utils": "^2.0.0-beta.12"
50+
"@babel/runtime": "^7.12.13",
51+
"@testing-library/dom": "^7.29.4",
52+
"@vue/test-utils": "^2.0.0-rc.0"
5353
},
5454
"devDependencies": {
5555
"@apollo/client": "3.3.6",
56-
"@babel/plugin-transform-runtime": "^7.12.1",
57-
"@testing-library/jest-dom": "^5.11.5",
58-
"@testing-library/user-event": "^12.4.0",
56+
"@babel/plugin-transform-runtime": "^7.12.15",
57+
"@testing-library/jest-dom": "^5.11.9",
58+
"@testing-library/user-event": "^12.7.0",
5959
"@types/estree": "0.0.45",
6060
"@vue/apollo-composable": "^4.0.0-alpha.12",
6161
"@vue/compiler-sfc": "^3.0.4",
6262
"apollo-boost": "^0.4.9",
6363
"axios": "^0.20.0",
64-
"dtslint": "^4.0.6",
65-
"element-plus": "^1.0.1-beta.7",
66-
"eslint-plugin-vue": "^7.1.0",
67-
"graphql": "^15.4.0",
64+
"dtslint": "^4.0.7",
65+
"element-plus": "^1.0.1-beta.27",
66+
"eslint-plugin-vue": "^7.5.0",
67+
"graphql": "^15.5.0",
6868
"graphql-tag": "^2.11.0",
6969
"isomorphic-unfetch": "^3.1.0",
7070
"jest-serializer-vue": "^2.0.2",
71-
"kcd-scripts": "^7.5.1",
71+
"kcd-scripts": "^7.6.0",
7272
"lodash.merge": "^4.6.2",
7373
"msw": "^0.21.3",
74-
"typescript": "^4.1.2",
75-
"vee-validate": "^4.0.2",
74+
"typescript": "^4.1.5",
75+
"vee-validate": "^4.1.18",
7676
"vue": "^3.0.4",
7777
"vue-apollo": "^3.0.5",
78-
"vue-i18n": "^9.0.0-beta.10",
79-
"vue-jest": "^5.0.0-alpha.7",
80-
"vue-router": "^4.0.1",
81-
"vuetify": "^2.3.19",
82-
"vuex": "^4.0.0-rc.2"
78+
"vue-i18n": "^9.0.0-rc.6",
79+
"vue-jest": "^5.0.0-alpha.8",
80+
"vue-router": "^4.0.3",
81+
"vuetify": "^2.4.4",
82+
"vuex": "^4.0.0"
8383
},
8484
"peerDependencies": {
8585
"@vue/compiler-sfc": ">= 3",

src/__tests__/components/Validate.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<template>
22
<Form>
33
<Field :rules="validateEmail" name="email" as="input" type="email" />
4-
5-
<error-message name="email" data-testid="error-message" />
6-
4+
<ErrorMessage name="email" data-testid="error-message" />
75
<button>Sign up</button>
86
</Form>
97
</template>

src/__tests__/validate-plugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import {render, fireEvent} from '..'
44
import VeeValidate from './components/Validate'
55

66
test('can validate using plugin', async () => {
7-
const {findByText, getByRole, getByTestId} = render(VeeValidate)
7+
const {findByText, getByRole, queryByTestId} = render(VeeValidate)
88

99
// Assert error messages are not in the DOM when rendering the component.
10-
expect(getByTestId('error-message')).toBeEmptyDOMElement()
10+
expect(queryByTestId('error-message')).not.toBeInTheDocument()
1111

1212
const emailInput = getByRole('textbox')
1313

0 commit comments

Comments
 (0)