Skip to content

Update deps #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,099 changes: 606 additions & 493 deletions package-lock.json

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,42 +31,42 @@
"author": "Daniel Cook",
"license": "MIT",
"dependencies": {
"@testing-library/dom": "^5.2.0",
"@testing-library/dom": "^5.6.0",
"@vue/test-utils": "^1.0.0-beta.29",
"vue": "^2.6.10",
"vue-template-compiler": "^2.6.10"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/cli": "^7.5.0",
"@babel/core": "^7.5.4",
"@babel/plugin-proposal-object-rest-spread": "^7.5.4",
"@babel/plugin-transform-runtime": "^7.5.0",
"@babel/preset-env": "^7.5.4",
"@testing-library/jest-dom": "^4.0.0",
"axios": "^0.19.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-eslint": "^10.0.2",
"babel-jest": "^24.8.0",
"coveralls": "^3.0.3",
"coveralls": "^3.0.5",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.3.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^5.2.2",
"husky": "^2.4.0",
"eslint-plugin-vue": "^5.2.3",
"husky": "^3.0.0",
"jest": "^24.8.0",
"jest-dom": "^3.4.0",
"jest-in-case": "^1.0.2",
"jest-serializer-vue": "^2.0.2",
"lint-staged": "^8.1.7",
"prettier": "^1.17.1",
"vee-validate": "^2.2.9",
"lint-staged": "^9.2.0",
"prettier": "^1.18.2",
"vee-validate": "^2.2.13",
"vue-i18n": "^8.12.0",
"vue-jest": "^3.0.4",
"vue-router": "^3.0.6",
"vue-router": "^3.0.7",
"vuex": "^3.1.1"
},
"husky": {
Expand Down
2 changes: 1 addition & 1 deletion tests/__tests__/axios-mock.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axiosMock from 'axios'
import { render, fireEvent } from '@testing-library/vue'
import Component from './components/Fetch.vue'
import 'jest-dom/extend-expect'
import '@testing-library/jest-dom/extend-expect'

test('makes an API call and displays the greeting when load-greeting is clicked', async () => {
axiosMock.get.mockImplementationOnce(() =>
Expand Down
2 changes: 1 addition & 1 deletion tests/__tests__/disappearance.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { render, waitForElementToBeRemoved } from '@testing-library/vue'
import Disappearance from './components/Disappearance'
import 'jest-dom/extend-expect'
import '@testing-library/jest-dom/extend-expect'

test('it waits for the data to be loaded', async () => {
const { getByText, queryByText, queryByTestId } = render(Disappearance)
Expand Down
2 changes: 1 addition & 1 deletion tests/__tests__/form.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { render, fireEvent } from '@testing-library/vue'
import 'jest-dom/extend-expect'
import '@testing-library/jest-dom/extend-expect'
import Form from './components/Form'

test('Review form submits', async () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/__tests__/simple-button.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { render, cleanup, fireEvent } from '@testing-library/vue'
import Button from './components/Button'
import 'jest-dom/extend-expect'
import '@testing-library/jest-dom/extend-expect'

afterEach(cleanup)

Expand Down
2 changes: 1 addition & 1 deletion tests/__tests__/stopwatch.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import StopWatch from './components/StopWatch.vue'
import { cleanup, render, wait, fireEvent } from '@testing-library/vue'
import 'jest-dom/extend-expect'
import '@testing-library/jest-dom/extend-expect'

afterEach(cleanup)

Expand Down
2 changes: 1 addition & 1 deletion tests/__tests__/update-props.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import NumberDisplay from './components/NumberDisplay.vue'
import { render } from '@testing-library/vue'
import 'jest-dom/extend-expect'
import '@testing-library/jest-dom/extend-expect'

test('calling render with the same component but different props does not remount', async () => {
const { getByTestId, updateProps } = render(NumberDisplay, {
Expand Down
2 changes: 1 addition & 1 deletion tests/__tests__/validate-plugin.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VeeValidate from 'vee-validate'
import 'jest-dom/extend-expect'
import '@testing-library/jest-dom/extend-expect'

import { render, fireEvent } from '@testing-library/vue'
import Validate from './components/Validate'
Expand Down
2 changes: 1 addition & 1 deletion tests/__tests__/vue-router.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'jest-dom/extend-expect'
import '@testing-library/jest-dom/extend-expect'

import App from './components/Router/App.vue'
import Home from './components/Router/Home.vue'
Expand Down
2 changes: 1 addition & 1 deletion tests/__tests__/vueI18n.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'jest-dom/extend-expect'
import '@testing-library/jest-dom/extend-expect'
import { cleanup, render, fireEvent } from '@testing-library/vue'
import Vuei18n from 'vue-i18n'
import VueI18n from './components/VueI18n'
Expand Down
2 changes: 1 addition & 1 deletion tests/__tests__/vuex.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'jest-dom/extend-expect'
import '@testing-library/jest-dom/extend-expect'
import { cleanup, render, fireEvent } from '@testing-library/vue'

import VuexTest from './components/Store/VuexTest'
Expand Down