From 92cc81be437cef63b386267d1bbaeb9846cb7550 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:08:13 +1000
Subject: [PATCH 01/32] refactor: use jest
---
.babelrc | 5 -
babel.config.js | 12 +
docs/api/wrapper-array/setChecked.md | 8 +-
docs/api/wrapper-array/setValue.md | 8 +-
docs/ja/api/wrapper-array/setChecked.md | 8 +-
docs/ja/api/wrapper-array/setValue.md | 8 +-
docs/ru/api/wrapper-array/setChecked.md | 8 +-
docs/ru/api/wrapper-array/setValue.md | 8 +-
docs/zh/api/wrapper-array/setChecked.md | 8 +-
docs/zh/api/wrapper-array/setValue.md | 8 +-
jest.config.js | 9 +
package.json | 14 +-
test/setup/mocha.setup.js | 14 -
test/specs/components/RouterLink.spec.js | 18 +-
test/specs/config.spec.js | 16 +-
test/specs/create-dom-event.spec.js | 4 +-
test/specs/create-local-vue.spec.js | 18 +-
test/specs/create-wrapper.spec.js | 6 +-
test/specs/error-wrapper.spec.js | 2 +-
test/specs/mount.spec.js | 50 +-
test/specs/mounting-options/attachTo.spec.js | 14 +-
.../mounting-options/attachToDocument.spec.js | 2 +-
test/specs/mounting-options/attrs.spec.js | 4 +-
test/specs/mounting-options/listeners.spec.js | 2 +-
test/specs/mounting-options/localVue.spec.js | 4 +-
test/specs/mounting-options/mocks.spec.js | 4 +-
test/specs/mounting-options/provide.spec.js | 14 +-
.../mounting-options/scopedSlots.spec.js | 42 +-
test/specs/mounting-options/slots.spec.js | 60 +-
test/specs/mounting-options/stubs.spec.js | 14 +-
test/specs/mounting-options/watch.spec.js | 2 +-
test/specs/render.spec.js | 4 +-
test/specs/shallow-mount.spec.js | 80 +-
test/specs/vue-wrapper.spec.js | 2 +-
test/specs/wrapper-array.spec.js | 52 +-
test/specs/wrapper-array/contains.spec.js | 4 +-
test/specs/wrapper-array/is.spec.js | 8 +-
test/specs/wrapper-array/isEmpty.spec.js | 4 +-
test/specs/wrapper-array/isVisible.spec.js | 6 +-
.../specs/wrapper-array/isVueInstance.spec.js | 4 +-
test/specs/wrapper-array/setChecked.spec.js | 12 +-
test/specs/wrapper-array/setData.spec.js | 4 +-
test/specs/wrapper-array/setProps.spec.js | 8 +-
test/specs/wrapper-array/setValue.spec.js | 12 +-
test/specs/wrapper-array/trigger.spec.js | 6 +-
test/specs/wrapper.spec.js | 2 +-
test/specs/wrapper/classes.spec.js | 2 +-
test/specs/wrapper/contains.spec.js | 26 +-
test/specs/wrapper/destroy.spec.js | 8 +-
test/specs/wrapper/emitted.spec.js | 12 +-
test/specs/wrapper/exists.spec.js | 6 +-
test/specs/wrapper/find.spec.js | 60 +-
test/specs/wrapper/findAll.spec.js | 78 +-
test/specs/wrapper/html.spec.js | 8 +-
test/specs/wrapper/is.spec.js | 26 +-
test/specs/wrapper/isEmpty.spec.js | 16 +-
test/specs/wrapper/isVisible.spec.js | 38 +-
test/specs/wrapper/isVueInstance.spec.js | 4 +-
test/specs/wrapper/name.spec.js | 6 +-
test/specs/wrapper/props.spec.js | 2 +-
test/specs/wrapper/setChecked.spec.js | 10 +-
test/specs/wrapper/setData.spec.js | 44 +-
test/specs/wrapper/setMethods.spec.js | 10 +-
test/specs/wrapper/setProps.spec.js | 40 +-
test/specs/wrapper/setSelected.spec.js | 2 +-
test/specs/wrapper/setValue.spec.js | 6 +-
test/specs/wrapper/text.spec.js | 4 +-
test/specs/wrapper/trigger.spec.js | 20 +-
yarn.lock | 3567 +++++++++++++----
69 files changed, 3406 insertions(+), 1191 deletions(-)
delete mode 100644 .babelrc
create mode 100644 babel.config.js
create mode 100644 jest.config.js
diff --git a/.babelrc b/.babelrc
deleted file mode 100644
index 4d755394a..000000000
--- a/.babelrc
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "presets": ["env", "stage-2", "flow-vue"],
- "plugins": ["transform-decorators-legacy", "transform-vue-jsx"],
- "comments": false
-}
diff --git a/babel.config.js b/babel.config.js
new file mode 100644
index 000000000..c76a0d028
--- /dev/null
+++ b/babel.config.js
@@ -0,0 +1,12 @@
+module.exports = {
+ presets: [
+ [
+ '@babel/preset-env',
+ {
+ targets: {
+ node: 'current'
+ }
+ }
+ ]
+ ]
+}
diff --git a/docs/api/wrapper-array/setChecked.md b/docs/api/wrapper-array/setChecked.md
index d3dc1ff6f..e59784c89 100644
--- a/docs/api/wrapper-array/setChecked.md
+++ b/docs/api/wrapper-array/setChecked.md
@@ -31,9 +31,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal(false)
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual(false)
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setChecked()
-expect(wrapper.vm.t1).to.equal(true)
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual(true)
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/docs/api/wrapper-array/setValue.md b/docs/api/wrapper-array/setValue.md
index a584c6a3f..1a50d0f38 100644
--- a/docs/api/wrapper-array/setValue.md
+++ b/docs/api/wrapper-array/setValue.md
@@ -30,9 +30,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal('')
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual('')
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setValue('foo')
-expect(wrapper.vm.t1).to.equal('foo')
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual('foo')
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/docs/ja/api/wrapper-array/setChecked.md b/docs/ja/api/wrapper-array/setChecked.md
index ee936441a..9d2783ef8 100644
--- a/docs/ja/api/wrapper-array/setChecked.md
+++ b/docs/ja/api/wrapper-array/setChecked.md
@@ -31,9 +31,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal(false)
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual(false)
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setChecked()
-expect(wrapper.vm.t1).to.equal(true)
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual(true)
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/docs/ja/api/wrapper-array/setValue.md b/docs/ja/api/wrapper-array/setValue.md
index 2c8c5f918..80bb6ddaa 100644
--- a/docs/ja/api/wrapper-array/setValue.md
+++ b/docs/ja/api/wrapper-array/setValue.md
@@ -30,9 +30,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal('')
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual('')
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setValue('foo')
-expect(wrapper.vm.t1).to.equal('foo')
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual('foo')
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/docs/ru/api/wrapper-array/setChecked.md b/docs/ru/api/wrapper-array/setChecked.md
index bb5f389b7..ead59d2e6 100644
--- a/docs/ru/api/wrapper-array/setChecked.md
+++ b/docs/ru/api/wrapper-array/setChecked.md
@@ -31,9 +31,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal(false)
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual(false)
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setChecked()
-expect(wrapper.vm.t1).to.equal(true)
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual(true)
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/docs/ru/api/wrapper-array/setValue.md b/docs/ru/api/wrapper-array/setValue.md
index 53396c0dd..33d2cfb24 100644
--- a/docs/ru/api/wrapper-array/setValue.md
+++ b/docs/ru/api/wrapper-array/setValue.md
@@ -30,9 +30,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal('')
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual('')
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setValue('foo')
-expect(wrapper.vm.t1).to.equal('foo')
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual('foo')
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/docs/zh/api/wrapper-array/setChecked.md b/docs/zh/api/wrapper-array/setChecked.md
index d6cbfdaff..eb2a64c85 100644
--- a/docs/zh/api/wrapper-array/setChecked.md
+++ b/docs/zh/api/wrapper-array/setChecked.md
@@ -31,9 +31,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal(false)
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual(false)
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setChecked()
-expect(wrapper.vm.t1).to.equal(true)
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual(true)
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/docs/zh/api/wrapper-array/setValue.md b/docs/zh/api/wrapper-array/setValue.md
index 5d8007bbf..f6b1a2430 100644
--- a/docs/zh/api/wrapper-array/setValue.md
+++ b/docs/zh/api/wrapper-array/setValue.md
@@ -30,9 +30,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal('')
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual('')
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setValue('foo')
-expect(wrapper.vm.t1).to.equal('foo')
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual('foo')
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/jest.config.js b/jest.config.js
new file mode 100644
index 000000000..bd8c60972
--- /dev/null
+++ b/jest.config.js
@@ -0,0 +1,9 @@
+module.exports = {
+ moduleNameMapper: {
+ '^~(.*)$': '/test/$1'
+ },
+ transform: {
+ '.*\\.(vue)$': 'vue-jest',
+ '^.+\\.js$': '/node_modules/babel-jest'
+ }
+}
diff --git a/package.json b/package.json
index 4e2719338..0d81dda85 100644
--- a/package.json
+++ b/package.json
@@ -32,17 +32,10 @@
"test:types": "tsc -p packages/test-utils/types && tsc -p packages/server-test-utils/types"
},
"dependencies": {
- "babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
- "babel-loader": "^7.1.3",
- "babel-plugin-syntax-jsx": "^6.18.0",
- "babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-vue-jsx": "^3.7.0",
"babel-polyfill": "^6.26.0",
- "babel-preset-env": "^1.6.0",
- "babel-preset-flow-vue": "^1.0.0",
- "babel-preset-stage-2": "^6.24.1",
"chai": "^4.0.0",
"chalk": "^2.4.2",
"conditional-specs": "^1.0.1",
@@ -91,16 +84,21 @@
"webpack-node-externals": "^1.6.0"
},
"devDependencies": {
+ "@babel/core": "^7.10.3",
+ "@babel/preset-env": "^7.10.3",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@vue/composition-api": "^0.6.4",
+ "babel-jest": "^26.0.1",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"husky": "^3.1.0",
+ "jest": "^26.0.1",
"lint-staged": "^9.5.0",
"prettier": "^1.16.0",
"rollup-plugin-delete": "^1.2.0",
- "rollup-plugin-replace": "^2.2.0"
+ "rollup-plugin-replace": "^2.2.0",
+ "vue-jest": "^4.0.0-beta.3"
},
"config": {
"commitizen": {
diff --git a/test/setup/mocha.setup.js b/test/setup/mocha.setup.js
index 1a6ddf331..e69de29bb 100644
--- a/test/setup/mocha.setup.js
+++ b/test/setup/mocha.setup.js
@@ -1,14 +0,0 @@
-require('babel-polyfill')
-
-if (process.env.TEST_ENV !== 'node') {
- require('jsdom-global')()
-}
-
-const chai = require('chai')
-const sinon = require('sinon')
-const sinonChai = require('sinon-chai')
-
-chai.use(sinonChai)
-
-global.expect = chai.expect
-global.sinon = sinon
diff --git a/test/specs/components/RouterLink.spec.js b/test/specs/components/RouterLink.spec.js
index 47f8e4373..0592b7591 100644
--- a/test/specs/components/RouterLink.spec.js
+++ b/test/specs/components/RouterLink.spec.js
@@ -26,14 +26,14 @@ describeWithShallowAndMount('RouterLinkStub', mountingMethod => {
})
const routerLink = wrapper.find(RouterLinkStub)
- expect(routerLink.props().to).to.equal('to1')
- expect(routerLink.props().tag).to.equal('a')
- expect(routerLink.props().exact).to.equal(true)
- expect(routerLink.props().append).to.equal(true)
- expect(routerLink.props().replace).to.equal(true)
- expect(routerLink.props().activeClass).to.equal('activeClass1')
- expect(routerLink.props().exactActiveClass).to.equal('exactActiveClass1')
- expect(routerLink.props().event).to.equal('event1')
+ expect(routerLink.props().to).toEqual('to1')
+ expect(routerLink.props().tag).toEqual('a')
+ expect(routerLink.props().exact).toEqual(true)
+ expect(routerLink.props().append).toEqual(true)
+ expect(routerLink.props().replace).toEqual(true)
+ expect(routerLink.props().activeClass).toEqual('activeClass1')
+ expect(routerLink.props().exactActiveClass).toEqual('exactActiveClass1')
+ expect(routerLink.props().event).toEqual('event1')
})
it('renders slot content', () => {
@@ -49,6 +49,6 @@ describeWithShallowAndMount('RouterLinkStub', mountingMethod => {
RouterLink: RouterLinkStub
}
})
- expect(wrapper.find(RouterLinkStub).text()).to.equal('some text')
+ expect(wrapper.find(RouterLinkStub).text()).toEqual('some text')
})
})
diff --git a/test/specs/config.spec.js b/test/specs/config.spec.js
index 4cdf3281a..7dd1c8965 100644
--- a/test/specs/config.spec.js
+++ b/test/specs/config.spec.js
@@ -40,8 +40,8 @@ describeWithShallowAndMount('config', mountingMethod => {
t
})
- expect(wrapper.vm.$t).to.equal('mock value')
- expect(wrapper.text()).to.equal('mock value')
+ expect(wrapper.vm.$t).toEqual('mock value')
+ expect(wrapper.text()).toEqual('mock value')
localVue.prototype.$t = undefined
})
@@ -57,8 +57,8 @@ describeWithShallowAndMount('config', mountingMethod => {
const wrapper = mountingMethod(testComponent)
- expect(wrapper.vm.val()).to.equal('method')
- expect(wrapper.text()).to.equal('method')
+ expect(wrapper.vm.val()).toEqual('method')
+ expect(wrapper.text()).toEqual('method')
})
it("doesn't throw Vue warning when silent is set to true", () => {
@@ -70,7 +70,7 @@ describeWithShallowAndMount('config', mountingMethod => {
},
localVue
})
- expect(wrapper.vm.prop1).to.equal('example')
+ expect(wrapper.vm.prop1).toEqual('example')
wrapper.setProps({
prop1: 'new value'
})
@@ -86,7 +86,7 @@ describeWithShallowAndMount('config', mountingMethod => {
},
localVue
})
- expect(wrapper.vm.prop1).to.equal('example')
+ expect(wrapper.vm.prop1).toEqual('example')
wrapper.setProps({
prop1: 'new value'
})
@@ -95,10 +95,10 @@ describeWithShallowAndMount('config', mountingMethod => {
it('stubs out transitions by default', async () => {
const wrapper = mountingMethod(ComponentWithTransitions)
- expect(wrapper.find('[data-testid="expanded"]').exists()).to.equal(true)
+ expect(wrapper.find('[data-testid="expanded"]').exists()).toEqual(true)
wrapper.setData({ expanded: true })
await wrapper.vm.$nextTick()
- expect(wrapper.find('[data-testid="expanded"]').exists()).to.equal(false)
+ expect(wrapper.find('[data-testid="expanded"]').exists()).toEqual(false)
})
it('allows control deprecation warnings visibility for name method', () => {
diff --git a/test/specs/create-dom-event.spec.js b/test/specs/create-dom-event.spec.js
index 263620425..ee47e243a 100644
--- a/test/specs/create-dom-event.spec.js
+++ b/test/specs/create-dom-event.spec.js
@@ -5,7 +5,7 @@ import { itDoNotRunIf } from 'conditional-specs'
describe('createDOMEvent', () => {
itDoNotRunIf(isRunningPhantomJS, 'returns cancelable event', () => {
const event = createDOMEvent('click', {})
- expect(event.bubbles).to.equal(true)
- expect(event.cancelable).to.equal(true)
+ expect(event.bubbles).toEqual(true)
+ expect(event.cancelable).toEqual(true)
})
})
diff --git a/test/specs/create-local-vue.spec.js b/test/specs/create-local-vue.spec.js
index 45c82d4f5..526f8ac69 100644
--- a/test/specs/create-local-vue.spec.js
+++ b/test/specs/create-local-vue.spec.js
@@ -23,7 +23,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
const wrapper = mountingMethod(Component, { localVue, store })
expect(wrapper.vm.$store).to.be.an('object')
const freshWrapper = mountingMethod(Component)
- expect(typeof freshWrapper.vm.$store).to.equal('undefined')
+ expect(typeof freshWrapper.vm.$store).toEqual('undefined')
})
it('Vuex should work properly with local Vue', async () => {
@@ -46,10 +46,10 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
})
const wrapper = mountingMethod(ComponentWithVuex, { localVue, store })
expect(wrapper.vm.$store).to.be.an('object')
- expect(wrapper.text()).to.equal('0 1')
+ expect(wrapper.text()).toEqual('0 1')
wrapper.trigger('click')
await Vue.nextTick()
- expect(wrapper.text()).to.equal('1 1')
+ expect(wrapper.text()).toEqual('1 1')
})
it('installs Router without polluting global Vue', () => {
@@ -62,7 +62,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
const wrapper = mountingMethod(Component, { localVue, router })
expect(wrapper.vm.$route).to.be.an('object')
const freshWrapper = mountingMethod(Component)
- expect(typeof freshWrapper.vm.$route).to.equal('undefined')
+ expect(typeof freshWrapper.vm.$route).toEqual('undefined')
})
itDoNotRunIf(
@@ -97,7 +97,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
expect(wrapper.text()).to.contain('foo')
const freshWrapper = mountingMethod(Component)
- expect(typeof freshWrapper.vm.$route).to.equal('undefined')
+ expect(typeof freshWrapper.vm.$route).toEqual('undefined')
}
)
@@ -106,7 +106,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
const pluginOptions = { foo: 'bar' }
const plugin = {
install: function(_Vue, options) {
- expect(options).to.equal(pluginOptions)
+ expect(options).toEqual(pluginOptions)
}
}
localVue.use(plugin, pluginOptions)
@@ -118,7 +118,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
class Plugin {}
Plugin.install = function(_Vue) {
if (_Vue._installedPlugins) {
- expect(_Vue._installedPlugins.indexOf(Plugin)).to.equal(-1)
+ expect(_Vue._installedPlugins.indexOf(Plugin)).toEqual(-1)
}
installCount++
}
@@ -128,8 +128,8 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
localVue.use(Plugin)
if (localVue._installedPlugins) {
- expect(localVue._installedPlugins.indexOf(Plugin)).to.equal(0)
+ expect(localVue._installedPlugins.indexOf(Plugin)).toEqual(0)
}
- expect(installCount).to.equal(2)
+ expect(installCount).toEqual(2)
})
})
diff --git a/test/specs/create-wrapper.spec.js b/test/specs/create-wrapper.spec.js
index b2f1e35ae..0ee6d5841 100644
--- a/test/specs/create-wrapper.spec.js
+++ b/test/specs/create-wrapper.spec.js
@@ -8,14 +8,14 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const Constructor = Vue.extend(Component)
const vm = new Constructor().$mount()
const wrapper = createWrapper(vm)
- expect(wrapper.is(Component)).to.equal(true)
+ expect(wrapper.is(Component)).toEqual(true)
expect(wrapper).instanceof(Wrapper)
expect(wrapper.findAll('div')).instanceof(WrapperArray)
})
it('handles HTMLElement', () => {
const wrapper = createWrapper(document.createElement('div'))
- expect(wrapper.is('div')).to.equal(true)
+ expect(wrapper.is('div')).toEqual(true)
})
it('handles options', () => {
@@ -24,6 +24,6 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const wrapper = createWrapper(vm, {
attachToDocument: true
})
- expect(wrapper.options.attachToDocument).to.equal(true)
+ expect(wrapper.options.attachToDocument).toEqual(true)
})
})
diff --git a/test/specs/error-wrapper.spec.js b/test/specs/error-wrapper.spec.js
index 3357194c9..3f5723280 100644
--- a/test/specs/error-wrapper.spec.js
+++ b/test/specs/error-wrapper.spec.js
@@ -43,7 +43,7 @@ describeWithShallowAndMount('ErrorWrapper', mountingMethod => {
const message = `[vue-test-utils]: find did not return ${selector}, cannot call ${method}() on empty Wrapper`
const wrapper = mountingMethod(TestComponent)
const error = wrapper.find(selector)
- expect(error.constructor.name).to.equal('ErrorWrapper')
+ expect(error.constructor.name).toEqual('ErrorWrapper')
expect(() => error[method]())
.to.throw()
.with.property('message', message)
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index b7b0dc738..fff5fece2 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -39,7 +39,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
}
const wrapper = mount(TestComponent)
- expect(wrapper.findAll('p').length).to.equal(2)
+ expect(wrapper.findAll('p').length).toEqual(2)
})
it('returns new VueWrapper with correct props data', () => {
@@ -47,9 +47,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const wrapper = mount(ComponentWithProps, { propsData: { prop1 } })
expect(wrapper.vm).to.be.an('object')
if (wrapper.vm.$props) {
- expect(wrapper.vm.$props.prop1).to.equal(prop1)
+ expect(wrapper.vm.$props.prop1).toEqual(prop1)
} else {
- expect(wrapper.vm.$options.propsData.prop1).to.equal(prop1)
+ expect(wrapper.vm.$options.propsData.prop1).toEqual(prop1)
}
})
@@ -76,7 +76,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
extends: BaseComponent
}
const wrapper = mount(TestComponent)
- expect(wrapper.findAll('div').length).to.equal(1)
+ expect(wrapper.findAll('div').length).toEqual(1)
})
it('handles nested uncompiled extended Vue component', () => {
@@ -96,7 +96,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
extends: TestComponentC
}
const wrapper = mount(TestComponentD)
- expect(wrapper.findAll('div').length).to.equal(1)
+ expect(wrapper.findAll('div').length).toEqual(1)
})
itSkipIf(
@@ -123,7 +123,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
} catch (err) {
} finally {
delete Vue.options.components['child-component']
- expect(wrapper.find(ChildComponent).exists()).to.equal(true)
+ expect(wrapper.find(ChildComponent).exists()).toEqual(true)
}
}
)
@@ -131,11 +131,11 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
it('does not use cached component', () => {
sandbox.stub(ComponentWithMixin.methods, 'someMethod')
mount(ComponentWithMixin)
- expect(ComponentWithMixin.methods.someMethod.callCount).to.equal(1)
+ expect(ComponentWithMixin.methods.someMethod.callCount).toEqual(1)
ComponentWithMixin.methods.someMethod.restore()
sandbox.stub(ComponentWithMixin.methods, 'someMethod')
mount(ComponentWithMixin)
- expect(ComponentWithMixin.methods.someMethod.callCount).to.equal(1)
+ expect(ComponentWithMixin.methods.someMethod.callCount).toEqual(1)
})
it('throws an error if window is undefined', () => {
@@ -159,7 +159,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
template: `foo
`
})
expect(wrapper.vm).to.be.an('object')
- expect(wrapper.html()).to.equal(`foo
`)
+ expect(wrapper.html()).toEqual(`foo
`)
})
itDoNotRunIf(
@@ -175,7 +175,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
template: '#foo'
})
expect(wrapper.vm).to.be.an('object')
- expect(wrapper.html()).to.equal(`foo
`)
+ expect(wrapper.html()).toEqual(`foo
`)
window.body.removeChild(template)
}
@@ -231,7 +231,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
template: '
'
})
const wrapper = mount(TestComponent)
- expect(wrapper.html()).to.equal(`
`)
+ expect(wrapper.html()).toEqual(`
`)
})
itDoNotRunIf(
@@ -246,7 +246,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
}
const wrapper = mount(TestComponent)
setTimeout(() => {
- expect(wrapper.find(Component).exists()).to.equal(true)
+ expect(wrapper.find(Component).exists()).toEqual(true)
done()
})
}
@@ -281,19 +281,19 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
}
)
if (injectSupported) {
- expect(typeof wrapper.vm.$options.provide).to.equal(
+ expect(typeof wrapper.vm.$options.provide).toEqual(
vueVersion < 2.5 ? 'function' : 'object'
)
}
- expect(wrapper.vm.$options.attachToDocument).to.equal(undefined)
- expect(wrapper.vm.$options.mocks).to.equal(undefined)
- expect(wrapper.vm.$options.slots).to.equal(undefined)
- expect(wrapper.vm.$options.localVue).to.equal(undefined)
- expect(wrapper.vm.$options.stubs).to.equal(undefined)
- expect(wrapper.vm.$options.context).to.equal(undefined)
- expect(wrapper.vm.$options.attrs).to.equal(undefined)
- expect(wrapper.vm.$options.listeners).to.equal(undefined)
+ expect(wrapper.vm.$options.attachToDocument).toEqual(undefined)
+ expect(wrapper.vm.$options.mocks).toEqual(undefined)
+ expect(wrapper.vm.$options.slots).toEqual(undefined)
+ expect(wrapper.vm.$options.localVue).toEqual(undefined)
+ expect(wrapper.vm.$options.stubs).toEqual(undefined)
+ expect(wrapper.vm.$options.context).toEqual(undefined)
+ expect(wrapper.vm.$options.attrs).toEqual(undefined)
+ expect(wrapper.vm.$options.listeners).toEqual(undefined)
wrapper.destroy()
})
@@ -362,7 +362,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
expect(wrapper.vm.$attrs).to.eql({ height: '50px', extra: 'attr' })
}
- expect(wrapper.html()).to.equal(
+ expect(wrapper.html()).toEqual(
'\n' +
'
prop1
\n' +
'
\n' +
@@ -394,7 +394,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
}
}
const wrapper = mount(Component, options)
- expect(wrapper.text()).to.equal('aBC')
+ expect(wrapper.text()).toEqual('aBC')
})
it('handles inline components', () => {
@@ -411,7 +411,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const wrapper = mount(TestComponent, {
localVue
})
- expect(wrapper.findAll(ChildComponent).length).to.equal(1)
+ expect(wrapper.findAll(ChildComponent).length).toEqual(1)
})
it('handles nested components with extends', () => {
@@ -449,7 +449,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
}
}
const wrapper = mount(Comp, { localVue })
- expect(wrapper.html()).to.equal('
composition api
')
+ expect(wrapper.html()).toEqual('
composition api
')
})
itDoNotRunIf.skip(
diff --git a/test/specs/mounting-options/attachTo.spec.js b/test/specs/mounting-options/attachTo.spec.js
index ff519812a..1e1e20e5c 100644
--- a/test/specs/mounting-options/attachTo.spec.js
+++ b/test/specs/mounting-options/attachTo.spec.js
@@ -27,8 +27,8 @@ describeWithShallowAndMount('options.attachTo', mountingMethod => {
expect(wrapper.vm.$el.parentNode).to.not.be.null
expect(root).to.be.null
expect(rendered).to.not.be.null
- expect(rendered.outerHTML).to.equal(outerHTML)
- expect(wrapper.options.attachedToDocument).to.equal(true)
+ expect(rendered.outerHTML).toEqual(outerHTML)
+ expect(wrapper.options.attachedToDocument).toEqual(true)
wrapper.destroy()
expect(document.getElementById('attach-to')).to.be.null
})
@@ -47,8 +47,8 @@ describeWithShallowAndMount('options.attachTo', mountingMethod => {
expect(wrapper.vm.$el.parentNode).to.not.be.null
expect(root).to.be.null
expect(rendered).to.not.be.null
- expect(rendered.outerHTML).to.equal(outerHTML)
- expect(wrapper.options.attachedToDocument).to.equal(true)
+ expect(rendered.outerHTML).toEqual(outerHTML)
+ expect(wrapper.options.attachedToDocument).toEqual(true)
wrapper.destroy()
expect(document.getElementById('attach-to')).to.be.null
})
@@ -61,7 +61,7 @@ describeWithShallowAndMount('options.attachTo', mountingMethod => {
div.setAttribute('data-server-rendered', 'true')
div.innerHTML = innerHTML
document.body.appendChild(div)
- expect(div.outerHTML).to.equal(ssrHTML)
+ expect(div.outerHTML).toEqual(ssrHTML)
const wrapper = mountingMethod(TestComponent, {
attachTo: '#attach-to'
})
@@ -69,8 +69,8 @@ describeWithShallowAndMount('options.attachTo', mountingMethod => {
const rendered = document.getElementById('attach-to')
expect(wrapper.vm.$el.parentNode).to.not.be.null
expect(rendered).to.not.be.null
- expect(rendered.outerHTML).to.equal(outerHTML)
- expect(wrapper.options.attachedToDocument).to.equal(true)
+ expect(rendered.outerHTML).toEqual(outerHTML)
+ expect(wrapper.options.attachedToDocument).toEqual(true)
wrapper.destroy()
expect(document.getElementById('attach-to')).to.be.null
})
diff --git a/test/specs/mounting-options/attachToDocument.spec.js b/test/specs/mounting-options/attachToDocument.spec.js
index 97083e0cf..6b4175b64 100644
--- a/test/specs/mounting-options/attachToDocument.spec.js
+++ b/test/specs/mounting-options/attachToDocument.spec.js
@@ -10,7 +10,7 @@ describeWithShallowAndMount('options.attachToDocument', mountingMethod => {
attachToDocument: true
})
expect(document.querySelector('.attached')).to.not.equal(null)
- expect(wrapper.options.attachedToDocument).to.equal(true)
+ expect(wrapper.options.attachedToDocument).toEqual(true)
})
})
diff --git a/test/specs/mounting-options/attrs.spec.js b/test/specs/mounting-options/attrs.spec.js
index c0282f82a..9ad08ab6c 100644
--- a/test/specs/mounting-options/attrs.spec.js
+++ b/test/specs/mounting-options/attrs.spec.js
@@ -20,8 +20,8 @@ describeWithShallowAndMount('options.attrs', mountingMethod => {
anAttr: 'an attribute'
}
})
- expect(wrapper.vm.$attrs.anAttr).to.equal('an attribute')
- expect(wrapper.vm.$attrs.anAttr).to.equal('an attribute')
+ expect(wrapper.vm.$attrs.anAttr).toEqual('an attribute')
+ expect(wrapper.vm.$attrs.anAttr).toEqual('an attribute')
}
)
diff --git a/test/specs/mounting-options/listeners.spec.js b/test/specs/mounting-options/listeners.spec.js
index d9aabc859..298dd61c1 100644
--- a/test/specs/mounting-options/listeners.spec.js
+++ b/test/specs/mounting-options/listeners.spec.js
@@ -23,7 +23,7 @@ describeWithShallowAndMount('options.listeners', mountingMethod => {
}
)
- expect(wrapper.vm.$listeners.aListener.fns).to.equal(aListener)
+ expect(wrapper.vm.$listeners.aListener.fns).toEqual(aListener)
}
)
diff --git a/test/specs/mounting-options/localVue.spec.js b/test/specs/mounting-options/localVue.spec.js
index 2ebd112b0..8e5b92490 100644
--- a/test/specs/mounting-options/localVue.spec.js
+++ b/test/specs/mounting-options/localVue.spec.js
@@ -137,7 +137,7 @@ describeWithShallowAndMount('options.localVue', mountingMethod => {
localVue
}
)
- expect(localVue.options.created).to.equal(undefined)
+ expect(localVue.options.created).toEqual(undefined)
})
it('handles merging Vue instances', () => {
@@ -197,7 +197,7 @@ describeWithShallowAndMount('options.localVue', mountingMethod => {
if (mountingMethod.name === 'renderToString') {
return
}
- expect(wrapper.findAll(ChildComponent).length).to.equal(1)
+ expect(wrapper.findAll(ChildComponent).length).toEqual(1)
}
)
diff --git a/test/specs/mounting-options/mocks.spec.js b/test/specs/mounting-options/mocks.spec.js
index d6b86db2e..8964278e4 100644
--- a/test/specs/mounting-options/mocks.spec.js
+++ b/test/specs/mounting-options/mocks.spec.js
@@ -138,9 +138,9 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
$store
}
})
- expect(wrapper.vm.$store).to.equal($store)
+ expect(wrapper.vm.$store).toEqual($store)
const freshWrapper = mountingMethod(Component)
- expect(typeof freshWrapper.vm.$store).to.equal('undefined')
+ expect(typeof freshWrapper.vm.$store).toEqual('undefined')
})
it('logs that a property cannot be overwritten if there are problems writing', () => {
diff --git a/test/specs/mounting-options/provide.spec.js b/test/specs/mounting-options/provide.spec.js
index 904958611..de9bca524 100644
--- a/test/specs/mounting-options/provide.spec.js
+++ b/test/specs/mounting-options/provide.spec.js
@@ -54,8 +54,8 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
}
})
- expect(wrapper.vm.foo).to.equal('from parent')
- expect(wrapper.vm.foo2).to.equal('from config')
+ expect(wrapper.vm.foo).toEqual('from parent')
+ expect(wrapper.vm.foo2).toEqual('from config')
}
)
@@ -81,8 +81,8 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
}
})
- expect(wrapper.vm.foo).to.equal('from parent')
- expect(wrapper.vm.foo2).to.equal('from config')
+ expect(wrapper.vm.foo).toEqual('from parent')
+ expect(wrapper.vm.foo2).toEqual('from config')
}
)
@@ -108,7 +108,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
}
})
- expect(wrapper.vm.foo).to.equal('from config')
+ expect(wrapper.vm.foo).toEqual('from config')
}
)
@@ -137,7 +137,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
provide: { fromMount: '_' }
})
- expect(wrapper.vm.setInBeforeCreate).to.equal('created')
+ expect(wrapper.vm.setInBeforeCreate).toEqual('created')
}
)
@@ -154,7 +154,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
localVue
})
- expect(wrapper.vm.setInSetup).to.equal('created')
+ expect(wrapper.vm.setInSetup).toEqual('created')
}
)
diff --git a/test/specs/mounting-options/scopedSlots.spec.js b/test/specs/mounting-options/scopedSlots.spec.js
index 2bd3fc2a3..d457801ee 100644
--- a/test/specs/mounting-options/scopedSlots.spec.js
+++ b/test/specs/mounting-options/scopedSlots.spec.js
@@ -28,7 +28,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(wrapper.html()).to.equal('
')
+ expect(wrapper.html()).toEqual('
')
})
itDoNotRunIf(vueVersion < 2.1, 'handles render functions', () => {
@@ -47,7 +47,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(wrapper.html()).to.equal('
')
+ expect(wrapper.html()).toEqual('
')
})
itDoNotRunIf(
@@ -70,7 +70,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(destructuringWrapper.html()).to.equal('
1,foo
')
+ expect(destructuringWrapper.html()).toEqual('
1,foo
')
const notDestructuringWrapper = mountingMethod(
{
@@ -87,7 +87,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(notDestructuringWrapper.html()).to.equal('
1,foo
')
+ expect(notDestructuringWrapper.html()).toEqual('
1,foo
')
}
)
@@ -112,7 +112,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(destructuringWrapper.html()).to.equal('
1,foo
')
+ expect(destructuringWrapper.html()).toEqual('
1,foo
')
const notDestructuringWrapper = mountingMethod(
{
@@ -130,7 +130,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(notDestructuringWrapper.html()).to.equal('
1,foo
')
+ expect(notDestructuringWrapper.html()).toEqual('
1,foo
')
}
)
@@ -145,54 +145,54 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
noProps: '
baz
'
}
})
- expect(wrapper.find('#destructuring').html()).to.equal(
+ expect(wrapper.find('#destructuring').html()).toEqual(
'
\n' +
'
0,1
\n' +
'
1,2
\n' +
'
2,3
\n' +
'
'
)
- expect(wrapper.find('#slots').html()).to.equal(
+ expect(wrapper.find('#slots').html()).toEqual(
'
123
'
)
- expect(wrapper.find('#list').html()).to.equal(
+ expect(wrapper.find('#list').html()).toEqual(
'
\n' +
'
0,a1
\n' +
'
1,a2
\n' +
'
2,a3
\n' +
'
'
)
- expect(wrapper.find('#single').html()).to.equal(
+ expect(wrapper.find('#single').html()).toEqual(
'
'
)
- expect(wrapper.find('#noProps').html()).to.equal(
+ expect(wrapper.find('#noProps').html()).toEqual(
'
'
)
wrapper.vm.items = [4, 5, 6]
wrapper.vm.foo = [{ text: 'b1' }, { text: 'b2' }, { text: 'b3' }]
wrapper.vm.bar = 'ABC'
await Vue.nextTick()
- expect(wrapper.find('#destructuring').html()).to.equal(
+ expect(wrapper.find('#destructuring').html()).toEqual(
'
\n' +
'
0,4
\n' +
'
1,5
\n' +
'
2,6
\n' +
'
'
)
- expect(wrapper.find('#slots').html()).to.equal(
+ expect(wrapper.find('#slots').html()).toEqual(
'
123
'
)
- expect(wrapper.find('#list').html()).to.equal(
+ expect(wrapper.find('#list').html()).toEqual(
'
\n' +
'
0,b1
\n' +
'
1,b2
\n' +
'
2,b3
\n' +
'
'
)
- expect(wrapper.find('#single').html()).to.equal(
+ expect(wrapper.find('#single').html()).toEqual(
'
'
)
- expect(wrapper.find('#noProps').html()).to.equal(
+ expect(wrapper.find('#noProps').html()).toEqual(
'
'
)
})
@@ -213,7 +213,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(wrapper.html()).to.equal('
')
+ expect(wrapper.html()).toEqual('
')
})
itDoNotRunIf(vueVersion < 2.5, 'handles no slot-scope', () => {
@@ -230,7 +230,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(wrapper.html()).to.equal('
')
+ expect(wrapper.html()).toEqual('
')
})
itDoNotRunIf(
@@ -303,7 +303,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
'
{{ prop.val }}
'
}
})
- expect(wrapper.html()).to.equal('
')
+ expect(wrapper.html()).toEqual('
')
}
)
@@ -327,7 +327,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
named: '
{{ prop.val }}
'
}
})
- expect(wrapper.html()).to.equal('
')
+ expect(wrapper.html()).toEqual('
')
}
)
@@ -375,7 +375,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
)
wrapper.find('input').setValue('abc')
- expect(wrapper.find('input').element.value).to.equal('abc')
+ expect(wrapper.find('input').element.value).toEqual('abc')
}
)
})
diff --git a/test/specs/mounting-options/slots.spec.js b/test/specs/mounting-options/slots.spec.js
index 1fc2ddd9d..f1e5117a1 100644
--- a/test/specs/mounting-options/slots.spec.js
+++ b/test/specs/mounting-options/slots.spec.js
@@ -12,7 +12,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: Component }
})
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
})
itDoNotRunIf(
@@ -33,7 +33,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
},
localVue
})
- expect(wrapper.contains('time')).to.equal(true)
+ expect(wrapper.contains('time')).toEqual(true)
}
)
@@ -41,7 +41,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: [Component] }
})
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
})
it('mounts component with default slot if passed compiled options in slot object', () => {
@@ -49,7 +49,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: [compiled] }
})
- expect(wrapper.contains('#div')).to.equal(true)
+ expect(wrapper.contains('#div')).toEqual(true)
})
itDoNotRunIf(
@@ -59,7 +59,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: '
' }
})
- expect(wrapper.contains('span')).to.equal(true)
+ expect(wrapper.contains('span')).toEqual(true)
}
)
@@ -70,7 +70,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentAsAClass, {
slots: { default: '
' }
})
- expect(wrapper.contains('span')).to.equal(true)
+ expect(wrapper.contains('span')).toEqual(true)
}
)
@@ -84,7 +84,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: [Component] }
})
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
window = windowSave // eslint-disable-line no-native-reassign
}
)
@@ -127,7 +127,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: ['
'] }
})
- expect(wrapper.contains('span')).to.equal(true)
+ expect(wrapper.contains('span')).toEqual(true)
}
)
@@ -168,7 +168,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
footer: [Component]
}
})
- expect(wrapper.findAll(Component).length).to.equal(2)
+ expect(wrapper.findAll(Component).length).toEqual(2)
})
it('mounts component with default and named slots', () => {
@@ -214,8 +214,8 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
header: Component
}
})
- expect(wrapper.findAll(Component).length).to.equal(1)
- expect(Array.isArray(wrapper.vm.$slots.header)).to.equal(true)
+ expect(wrapper.findAll(Component).length).toEqual(1)
+ expect(Array.isArray(wrapper.vm.$slots.header)).toEqual(true)
})
it('mounts functional component with default slot if passed component in slot object', () => {
@@ -227,7 +227,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { default: Component }
})
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
})
it('mounts component with default slot if passed component in slot object', () => {
@@ -239,7 +239,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { default: [Component] }
})
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
})
it('mounts component with default slot if passed object with template prop in slot object', () => {
@@ -252,7 +252,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { default: [compiled] }
})
- expect(wrapper.contains('#div')).to.equal(true)
+ expect(wrapper.contains('#div')).toEqual(true)
})
itDoNotRunIf(
@@ -267,7 +267,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { default: '
' }
})
- expect(wrapper.contains('span')).to.equal(true)
+ expect(wrapper.contains('span')).toEqual(true)
}
)
@@ -277,7 +277,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
default: ['
']
}
})
- expect(wrapper.findAll('time').length).to.equal(2)
+ expect(wrapper.findAll('time').length).toEqual(2)
})
itDoNotRunIf(
@@ -291,7 +291,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { named: Component }
})
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
}
)
@@ -303,7 +303,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { named: [Component] }
})
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
})
it('mounts component with named slot if passed string in slot object in array', () => {
@@ -314,7 +314,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { named: '
' }
})
- expect(wrapper.contains('span')).to.equal(true)
+ expect(wrapper.contains('span')).toEqual(true)
})
it('mounts component with named slot if passed string in slot object in array', () => {
@@ -325,7 +325,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { named: ['
'] }
})
- expect(wrapper.contains('span')).to.equal(true)
+ expect(wrapper.contains('span')).toEqual(true)
})
it('throws error if passed false for named slots', () => {
@@ -449,14 +449,14 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: ComponentAsAClass }
})
- expect(wrapper.contains(ComponentAsAClass)).to.equal(true)
+ expect(wrapper.contains(ComponentAsAClass)).toEqual(true)
})
it('mounts component with default slot if passed class component in array in slot object', () => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: [ComponentAsAClass] }
})
- expect(wrapper.contains(ComponentAsAClass)).to.equal(true)
+ expect(wrapper.contains(ComponentAsAClass)).toEqual(true)
})
it('sets a component which can access the parent component and the child component', () => {
@@ -486,14 +486,14 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
localVue
}
)
- expect(ParentComponent.vm.childComponentName).to.equal(childComponentName)
- expect(ParentComponent.vm.$children.length).to.equal(2)
+ expect(ParentComponent.vm.childComponentName).toEqual(childComponentName)
+ expect(ParentComponent.vm.$children.length).toEqual(2)
expect(
ParentComponent.vm.$children.every(
c => c.$options.name === childComponentName
)
- ).to.equal(true)
- expect(ParentComponent.html()).to.equal(
+ ).toEqual(true)
+ expect(ParentComponent.html()).toEqual(
'
\n' +
'
FOO,quux
\n' +
'
FOO,quux
\n' +
@@ -522,14 +522,14 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
}
}
)
- expect(ParentComponent.vm.childComponentName).to.equal(childComponentName)
- expect(ParentComponent.vm.$children.length).to.equal(1)
+ expect(ParentComponent.vm.childComponentName).toEqual(childComponentName)
+ expect(ParentComponent.vm.$children.length).toEqual(1)
expect(
ParentComponent.vm.$children.every(
c => c.$options.name === childComponentName
)
- ).to.equal(true)
- expect(ParentComponent.html()).to.equal(
+ ).toEqual(true)
+ expect(ParentComponent.html()).toEqual(
'
'
)
})
diff --git a/test/specs/mounting-options/stubs.spec.js b/test/specs/mounting-options/stubs.spec.js
index da081bb38..51e0a0f63 100644
--- a/test/specs/mounting-options/stubs.spec.js
+++ b/test/specs/mounting-options/stubs.spec.js
@@ -54,8 +54,8 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ChildComponent: Stub
}
})
- expect(wrapper.findAll('.stub').length).to.equal(1)
- expect(wrapper.findAll(Component).length).to.equal(1)
+ expect(wrapper.findAll('.stub').length).toEqual(1)
+ expect(wrapper.findAll(Component).length).toEqual(1)
})
it('replaces component with a component', () => {
@@ -69,7 +69,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ChildComponent: Stub
}
})
- expect(wrapper.findAll(Stub).length).to.equal(1)
+ expect(wrapper.findAll(Stub).length).toEqual(1)
expect(mounted).calledOnce
})
@@ -114,10 +114,10 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ChildComponent: '
'
}
})
- expect(wrapper.findAll(Component).length).to.equal(0)
+ expect(wrapper.findAll(Component).length).toEqual(0)
const mountedWrapper = mountingMethod(ComponentWithNestedChildren)
- expect(mountedWrapper.findAll(Component).length).to.equal(1)
+ expect(mountedWrapper.findAll(Component).length).toEqual(1)
}
)
@@ -372,7 +372,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
}
)
- expect(wrapper.find('time').exists()).to.equal(false)
+ expect(wrapper.find('time').exists()).toEqual(false)
}
)
@@ -592,7 +592,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
})
const result = wrapper.find(ChildComponent)
expect(result.exists()).to.be.true
- expect(result.props().propA).to.equal('A')
+ expect(result.props().propA).toEqual('A')
delete Vue.options.components['child-component']
})
diff --git a/test/specs/mounting-options/watch.spec.js b/test/specs/mounting-options/watch.spec.js
index f92dfbbed..866c57693 100644
--- a/test/specs/mounting-options/watch.spec.js
+++ b/test/specs/mounting-options/watch.spec.js
@@ -31,6 +31,6 @@ describeWithShallowAndMount('options.watch', mountingMethod => {
wrapper.setProps({ someProp: 'some-new-val' })
await wrapper.vm.$nextTick()
- expect(wrapper.text()).to.equal('bar')
+ expect(wrapper.text()).toEqual('bar')
})
})
diff --git a/test/specs/render.spec.js b/test/specs/render.spec.js
index b2a7d1510..ddebc03f7 100644
--- a/test/specs/render.spec.js
+++ b/test/specs/render.spec.js
@@ -9,7 +9,7 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'render', () => {
}
const wrapper = await render(TestComponent)
expect(wrapper).to.be.an.instanceof(Cheerio)
- expect(wrapper.find('h2').text()).to.equal('Test')
- expect(wrapper.find('p').length).to.equal(2)
+ expect(wrapper.find('h2').text()).toEqual('Test')
+ expect(wrapper.find('p').length).toEqual(2)
})
})
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index eb3f444f0..ba8ebf177 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -40,23 +40,23 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
it('returns new VueWrapper of Vue localVue if no options are passed', () => {
const compiled = compileToFunctions('
')
const wrapper = shallowMount(compiled)
- expect(wrapper.isVueInstance()).to.equal(true)
+ expect(wrapper.isVueInstance()).toEqual(true)
expect(wrapper.vm).to.be.an('object')
})
it('returns new VueWrapper with all children stubbed', () => {
const wrapper = shallowMount(ComponentWithNestedChildren)
- expect(wrapper.isVueInstance()).to.equal(true)
- expect(wrapper.findAll(Component).length).to.equal(0)
- expect(wrapper.findAll(ComponentWithChild).length).to.equal(1)
+ expect(wrapper.isVueInstance()).toEqual(true)
+ expect(wrapper.findAll(Component).length).toEqual(0)
+ expect(wrapper.findAll(ComponentWithChild).length).toEqual(1)
})
it('does not modify component directly', () => {
const wrapper = shallowMount(ComponentWithNestedChildren)
- expect(wrapper.findAll(Component).length).to.equal(0)
+ expect(wrapper.findAll(Component).length).toEqual(0)
const mountedWrapper = mount(ComponentWithNestedChildren)
- expect(mountedWrapper.findAll(Component).length).to.equal(1)
+ expect(mountedWrapper.findAll(Component).length).toEqual(1)
})
it('stubs globally registered components when options.localVue is provided', () => {
@@ -69,7 +69,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
localVue.component('registered-component', ComponentWithLifecycleHooks)
mount(TestComponent, { localVue })
- expect(console.info.callCount).to.equal(4)
+ expect(console.info.callCount).toEqual(4)
})
it('renders children', () => {
@@ -83,7 +83,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
const wrapper = shallowMount(TestComponent, {
localVue
})
- expect(wrapper.html()).to.equal('
Hello ')
+ expect(wrapper.html()).toEqual('
Hello ')
})
it('renders named slots', () => {
@@ -102,7 +102,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
const wrapper = shallowMount(TestComponent, {
localVue
})
- expect(wrapper.html()).to.equal(
+ expect(wrapper.html()).toEqual(
'
\n' +
' Hello
\n' +
' World
\n' +
@@ -113,9 +113,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
it('renders SFC with named slots with v-slot syntax', () => {
const wrapper = shallowMount(ComponentWithVSlotSyntax)
- expect(wrapper.find(ComponentWithVSlot).exists()).to.equal(true)
- expect(wrapper.find('.new-example').exists()).to.equal(true)
- expect(wrapper.html()).to.equal(
+ expect(wrapper.find(ComponentWithVSlot).exists()).toEqual(true)
+ expect(wrapper.find('.new-example').exists()).toEqual(true)
+ expect(wrapper.html()).toEqual(
'\n' +
' new slot syntax
\n' +
' '
@@ -139,9 +139,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
const wrapper = shallowMount(TestComponent, {
localVue
})
- expect(wrapper.find({ name: 'Foo' }).exists()).to.equal(true)
- expect(wrapper.find('.new-example').exists()).to.equal(true)
- expect(wrapper.html()).to.equal(
+ expect(wrapper.find({ name: 'Foo' }).exists()).toEqual(true)
+ expect(wrapper.find('.new-example').exists()).toEqual(true)
+ expect(wrapper.html()).toEqual(
'\n' + ' text
\n' + ' '
)
})
@@ -152,7 +152,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
components: { Child: {} }
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.equal(' ')
+ expect(wrapper.html()).toEqual(' ')
})
it('renders children for functional components', () => {
@@ -167,7 +167,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
const wrapper = shallowMount(TestComponent, {
localVue
})
- expect(wrapper.html()).to.equal('Hello ')
+ expect(wrapper.html()).toEqual('Hello ')
})
it('stubs globally registered components', () => {
@@ -178,7 +178,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
shallowMount(Component)
mount(Component)
- expect(console.info.callCount).to.equal(4)
+ expect(console.info.callCount).toEqual(4)
})
itDoNotRunIf(
@@ -313,7 +313,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
it('does not call stubbed children lifecycle hooks', () => {
shallowMount(ComponentWithNestedChildren)
- expect(console.info.called).to.equal(false)
+ expect(console.info.called).toEqual(false)
})
it('stubs extended components', () => {
@@ -336,8 +336,8 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.find(ComponentWithPTag).exists()).to.equal(true)
- expect(wrapper.find('p').exists()).to.equal(false)
+ expect(wrapper.find(ComponentWithPTag).exists()).toEqual(true)
+ expect(wrapper.find('p').exists()).toEqual(false)
})
it('stubs nested extended components', () => {
@@ -364,8 +364,8 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.find(ComponentWithPTag).exists()).to.equal(true)
- expect(wrapper.find('p').exists()).to.equal(false)
+ expect(wrapper.find(ComponentWithPTag).exists()).toEqual(true)
+ expect(wrapper.find('p').exists()).toEqual(false)
})
it('stubs components that receive props through mixin', () => {
@@ -396,14 +396,14 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.find(ChildComponent).props('a')).to.equal('val')
- expect(wrapper.find(ChildComponentExtended).props('a')).to.equal('val')
+ expect(wrapper.find(ChildComponent).props('a')).toEqual('val')
+ expect(wrapper.find(ChildComponentExtended).props('a')).toEqual('val')
})
itDoNotRunIf(vueVersion < 2.3, 'stubs Vue class component children', () => {
const wrapper = shallowMount(ComponentAsAClassWithChild)
- expect(wrapper.find(Component).exists()).to.equal(true)
- expect(wrapper.findAll('div').length).to.equal(1)
+ expect(wrapper.find(Component).exists()).toEqual(true)
+ expect(wrapper.findAll('div').length).toEqual(1)
})
it('works correctly with find, contains, findAll, and is on unnamed components', () => {
@@ -418,9 +418,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.contains(ComponentWithoutName)).to.equal(true)
- expect(wrapper.find(ComponentWithoutName).exists()).to.equal(true)
- expect(wrapper.findAll(ComponentWithoutName).length).to.equal(1)
+ expect(wrapper.contains(ComponentWithoutName)).toEqual(true)
+ expect(wrapper.find(ComponentWithoutName).exists()).toEqual(true)
+ expect(wrapper.findAll(ComponentWithoutName).length).toEqual(1)
})
it('works correctly with find, contains, findAll, and is on named components', () => {
@@ -435,9 +435,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.contains(Component)).to.equal(true)
- expect(wrapper.find(Component).exists()).to.equal(true)
- expect(wrapper.findAll(Component).length).to.equal(1)
+ expect(wrapper.contains(Component)).toEqual(true)
+ expect(wrapper.find(Component).exists()).toEqual(true)
+ expect(wrapper.findAll(Component).length).toEqual(1)
})
it('works correctly with find on recursive components', () => {
@@ -449,7 +449,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
})
- expect(wrapper.findAll(RecursiveComponent).length).to.equal(3)
+ expect(wrapper.findAll(RecursiveComponent).length).toEqual(3)
})
it('handles extended stubs', () => {
@@ -465,7 +465,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
stubs: ['child-component']
})
- expect(wrapper.find(ChildComponent).vm.propA).to.equal('hey')
+ expect(wrapper.find(ChildComponent).vm.propA).toEqual('hey')
})
it('does not stub unregistered components', () => {
@@ -474,7 +474,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.equal(' ')
+ expect(wrapper.html()).toEqual(' ')
})
it('stubs lazily registered components', () => {
@@ -489,8 +489,8 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.findAll('p').length).to.equal(0)
- expect(wrapper.findAll(Child).length).to.equal(1)
+ expect(wrapper.findAll('p').length).toEqual(0)
+ expect(wrapper.findAll(Child).length).toEqual(1)
})
itDoNotRunIf(
@@ -569,7 +569,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.equal(
+ expect(wrapper.html()).toEqual(
'\n' +
'
\n' +
'
\n' +
@@ -627,6 +627,6 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
components: { ChildComponent }
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.find(ChildComponent).vm.a).to.equal('123')
+ expect(wrapper.find(ChildComponent).vm.a).toEqual('123')
})
})
diff --git a/test/specs/vue-wrapper.spec.js b/test/specs/vue-wrapper.spec.js
index 53b585c37..2a0eb7e3b 100644
--- a/test/specs/vue-wrapper.spec.js
+++ b/test/specs/vue-wrapper.spec.js
@@ -4,7 +4,7 @@ describeWithShallowAndMount('VueWrapper', mountingMethod => {
;['vnode', 'element', 'vm', 'options'].forEach(property => {
it(`has the ${property} property which is read-only`, () => {
const wrapper = mountingMethod({ template: '
' })
- expect(wrapper.constructor.name).to.equal('VueWrapper')
+ expect(wrapper.constructor.name).toEqual('VueWrapper')
const message = `[vue-test-utils]: wrapper.${property} is read-only`
expect(() => {
wrapper[property] = 'foo'
diff --git a/test/specs/wrapper-array.spec.js b/test/specs/wrapper-array.spec.js
index 38bf4c03f..77ce0e0cd 100644
--- a/test/specs/wrapper-array.spec.js
+++ b/test/specs/wrapper-array.spec.js
@@ -34,12 +34,12 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
it('returns class with length equal to length of wrappers passed in constructor', () => {
const wrapperArray = getWrapperArray()
- expect(wrapperArray.length).to.equal(3)
+ expect(wrapperArray.length).toEqual(3)
})
it('returns wrapper at index 0 when at(0) is called', () => {
const wrapperArray = getWrapperArray()
- expect(wrapperArray.at(0).text()).to.equal('1')
+ expect(wrapperArray.at(0).text()).toEqual('1')
})
it('returns filtered wrapper when filter is called', () => {
@@ -48,7 +48,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
wrapperArray.filter(w => {
return w.text() !== '2'
}).length
- ).to.equal(2)
+ ).toEqual(2)
})
const methods = [
@@ -120,14 +120,14 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
it('exists returns true if it has every existing wrappers', () => {
const wrapperArray = getWrapperArray()
wrapperArray.wrappers.forEach(w => {
- expect(w.exists()).to.equal(true)
+ expect(w.exists()).toEqual(true)
})
- expect(wrapperArray.exists()).to.equal(true)
+ expect(wrapperArray.exists()).toEqual(true)
})
it('exists returns false if it does not have existing wrappers', () => {
const wrapperArray = getWrapperArray([])
- expect(wrapperArray.exists()).to.equal(false)
+ expect(wrapperArray.exists()).toEqual(false)
})
it('exists returns false if it has not existing wrappers', () => {
@@ -142,7 +142,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
}
}
const wrapperArray = getWrapperArray([wrapper1, wrapper2])
- expect(wrapperArray.exists()).to.equal(false)
+ expect(wrapperArray.exists()).toEqual(false)
})
it('contains returns true if every wrapper.contains() returns true', () => {
@@ -150,7 +150,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const contains = sandbox.stub()
contains.withArgs(selector).returns(true)
const wrapperArray = getWrapperArray([{ contains }, { contains }])
- expect(wrapperArray.contains(selector)).to.equal(true)
+ expect(wrapperArray.contains(selector)).toEqual(true)
})
it('contains returns false if not every wrapper.contains() returns true', () => {
@@ -158,7 +158,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ contains: () => true },
{ contains: () => false }
])
- expect(wrapperArray.contains()).to.equal(false)
+ expect(wrapperArray.contains()).toEqual(false)
})
it('is returns true if every wrapper.is() returns true', () => {
@@ -166,7 +166,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const is = sandbox.stub()
is.withArgs(selector).returns(true)
const wrapperArray = getWrapperArray([{ is }, { is }])
- expect(wrapperArray.is(selector)).to.equal(true)
+ expect(wrapperArray.is(selector)).toEqual(true)
})
it('is returns false if not every wrapper.is() returns true', () => {
@@ -174,7 +174,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ is: () => true },
{ is: () => false }
])
- expect(wrapperArray.is('selector')).to.equal(false)
+ expect(wrapperArray.is('selector')).toEqual(false)
})
it('isEmpty returns true if every wrapper.isEmpty() returns true', () => {
@@ -182,7 +182,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ isEmpty: () => true },
{ isEmpty: () => true }
])
- expect(wrapperArray.isEmpty()).to.equal(true)
+ expect(wrapperArray.isEmpty()).toEqual(true)
})
it('isEmpty returns false if not every wrapper.isEmpty() returns true', () => {
@@ -190,7 +190,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ isEmpty: () => true },
{ isEmpty: () => false }
])
- expect(wrapperArray.isEmpty()).to.equal(false)
+ expect(wrapperArray.isEmpty()).toEqual(false)
})
it('isVisible returns true if every wrapper.isVisible() returns true', () => {
@@ -198,7 +198,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ isVisible: () => true },
{ isVisible: () => true }
])
- expect(wrapperArray.isVisible()).to.equal(true)
+ expect(wrapperArray.isVisible()).toEqual(true)
})
it('isVisible returns false if not every wrapper.isVisible() returns true', () => {
@@ -206,7 +206,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ isVisible: () => true },
{ isVisible: () => false }
])
- expect(wrapperArray.isVisible()).to.equal(false)
+ expect(wrapperArray.isVisible()).toEqual(false)
})
it('isVueInstance returns true if every wrapper.isVueInstance() returns true', () => {
@@ -214,7 +214,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ isVueInstance: () => true },
{ isVueInstance: () => true }
])
- expect(wrapperArray.isVueInstance()).to.equal(true)
+ expect(wrapperArray.isVueInstance()).toEqual(true)
})
it('isVueInstance returns false if not every wrapper.isVueInstance() returns true', () => {
@@ -222,7 +222,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ isVueInstance: () => true },
{ isVueInstance: () => false }
])
- expect(wrapperArray.isVueInstance()).to.equal(false)
+ expect(wrapperArray.isVueInstance()).toEqual(false)
})
it('setMethods calls setMethods on each wrapper', () => {
@@ -230,8 +230,8 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const methods = {}
const wrapperArray = getWrapperArray([{ setMethods }, { setMethods }])
wrapperArray.setMethods(methods)
- expect(setMethods.calledTwice).to.equal(true)
- expect(setMethods.calledWith(methods)).to.equal(true)
+ expect(setMethods.calledTwice).toEqual(true)
+ expect(setMethods.calledWith(methods)).toEqual(true)
})
it('setData calls setData on each wrapper', () => {
@@ -239,8 +239,8 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const data = {}
const wrapperArray = getWrapperArray([{ setData }, { setData }])
wrapperArray.setData(data)
- expect(setData.calledTwice).to.equal(true)
- expect(setData.calledWith(data)).to.equal(true)
+ expect(setData.calledTwice).toEqual(true)
+ expect(setData.calledWith(data)).toEqual(true)
})
it('setProps calls setProps on each wrapper', () => {
@@ -248,8 +248,8 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const props = {}
const wrapperArray = getWrapperArray([{ setProps }, { setProps }])
wrapperArray.setProps(props)
- expect(setProps.calledTwice).to.equal(true)
- expect(setProps.calledWith(props)).to.equal(true)
+ expect(setProps.calledTwice).toEqual(true)
+ expect(setProps.calledWith(props)).toEqual(true)
})
it('trigger calls trigger on each wrapper', () => {
@@ -258,14 +258,14 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const options = {}
const wrapperArray = getWrapperArray([{ trigger }, { trigger }])
wrapperArray.trigger(event, options)
- expect(trigger.calledTwice).to.equal(true)
- expect(trigger.calledWith(event, options)).to.equal(true)
+ expect(trigger.calledTwice).toEqual(true)
+ expect(trigger.calledWith(event, options)).toEqual(true)
})
it('destroy calls destroy on each wrapper', () => {
const destroy = sandbox.stub()
const wrapperArray = getWrapperArray([{ destroy }, { destroy }])
wrapperArray.destroy()
- expect(destroy.calledTwice).to.equal(true)
+ expect(destroy.calledTwice).toEqual(true)
})
})
diff --git a/test/specs/wrapper-array/contains.spec.js b/test/specs/wrapper-array/contains.spec.js
index 6a8246067..50118eeed 100644
--- a/test/specs/wrapper-array/contains.spec.js
+++ b/test/specs/wrapper-array/contains.spec.js
@@ -8,14 +8,14 @@ describeWithShallowAndMount('contains', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
const divArr = wrapper.findAll('div')
- expect(divArr.contains('p')).to.equal(true)
+ expect(divArr.contains('p')).toEqual(true)
})
it('returns false if any Wrapper does not contain element', () => {
const TestComponent = { template: '
' }
const wrapper = mountingMethod(TestComponent)
const divArr = wrapper.findAll('div')
- expect(divArr.contains('p')).to.equal(false)
+ expect(divArr.contains('p')).toEqual(false)
})
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/is.spec.js b/test/specs/wrapper-array/is.spec.js
index 87b1bf682..b1a128eb7 100644
--- a/test/specs/wrapper-array/is.spec.js
+++ b/test/specs/wrapper-array/is.spec.js
@@ -7,19 +7,19 @@ describeWithShallowAndMount('is', mountingMethod => {
it('returns true if ech item matches selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('div').is('div')).to.equal(true)
+ expect(wrapper.findAll('div').is('div')).toEqual(true)
})
it('returns true if each item matches Vue Component selector', () => {
const wrapper = mountingMethod(ComponentWithChild)
const component = wrapper.findAll(Component).at(0)
- expect(component.is(Component)).to.equal(true)
+ expect(component.is(Component)).toEqual(true)
})
it('returns false if each item is not a Vue Component', () => {
const wrapper = mountingMethod(ComponentWithChild)
const input = wrapper.findAll('span').at(0)
- expect(input.is(Component)).to.equal(false)
+ expect(input.is(Component)).toEqual(false)
})
it('returns false if each item does not match tag selector', () => {
@@ -27,7 +27,7 @@ describeWithShallowAndMount('is', mountingMethod => {
'
'
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('div').is('.a-class')).to.equal(false)
+ expect(wrapper.findAll('div').is('.a-class')).toEqual(false)
})
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/isEmpty.spec.js b/test/specs/wrapper-array/isEmpty.spec.js
index cd57a9541..70e38134c 100644
--- a/test/specs/wrapper-array/isEmpty.spec.js
+++ b/test/specs/wrapper-array/isEmpty.spec.js
@@ -7,14 +7,14 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('p').isEmpty()).to.equal(true)
+ expect(wrapper.findAll('p').isEmpty()).toEqual(true)
})
it('returns false if node contains other nodes', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('span').isEmpty()).to.equal(false)
+ expect(wrapper.findAll('span').isEmpty()).toEqual(false)
})
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/isVisible.spec.js b/test/specs/wrapper-array/isVisible.spec.js
index 3fb085410..104c0c16b 100644
--- a/test/specs/wrapper-array/isVisible.spec.js
+++ b/test/specs/wrapper-array/isVisible.spec.js
@@ -7,7 +7,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('p').isVisible()).to.equal(true)
+ expect(wrapper.findAll('p').isVisible()).toEqual(true)
})
it('returns false if node has inline style display: none', () => {
@@ -16,7 +16,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('p').isVisible()).to.equal(false)
+ expect(wrapper.findAll('p').isVisible()).toEqual(false)
})
it('returns false if node has visibility: hidden', () => {
@@ -25,7 +25,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('p').isVisible()).to.equal(false)
+ expect(wrapper.findAll('p').isVisible()).toEqual(false)
})
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/isVueInstance.spec.js b/test/specs/wrapper-array/isVueInstance.spec.js
index 96c84d335..255b61a2c 100644
--- a/test/specs/wrapper-array/isVueInstance.spec.js
+++ b/test/specs/wrapper-array/isVueInstance.spec.js
@@ -6,13 +6,13 @@ import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('isVueInstance', mountingMethod => {
it('returns true if wrapper is Vue instance', () => {
const wrapper = mountingMethod(ComponentWithChild)
- expect(wrapper.findAll(Component).isVueInstance()).to.equal(true)
+ expect(wrapper.findAll(Component).isVueInstance()).toEqual(true)
})
it('returns the tag name of the element if it is not a Vue component', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('p').isVueInstance()).to.equal(false)
+ expect(wrapper.findAll('p').isVueInstance()).toEqual(false)
})
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/setChecked.spec.js b/test/specs/wrapper-array/setChecked.spec.js
index 9f4792070..b4358e361 100644
--- a/test/specs/wrapper-array/setChecked.spec.js
+++ b/test/specs/wrapper-array/setChecked.spec.js
@@ -18,13 +18,13 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
`
})
const wrapperArray = wrapper.findAll('.foo')
- expect(wrapper.vm.t1).to.equal(false)
- expect(wrapper.vm.t2).to.equal('')
+ expect(wrapper.vm.t1).toEqual(false)
+ expect(wrapper.vm.t2).toEqual('')
wrapperArray.setChecked()
await Vue.nextTick()
- expect(wrapper.vm.t1).to.equal(true)
- expect(wrapper.vm.t2).to.equal('foo')
- expect(wrapperArray.at(0).element.checked).to.equal(true)
- expect(wrapperArray.at(1).element.checked).to.equal(true)
+ expect(wrapper.vm.t1).toEqual(true)
+ expect(wrapper.vm.t2).toEqual('foo')
+ expect(wrapperArray.at(0).element.checked).toEqual(true)
+ expect(wrapperArray.at(1).element.checked).toEqual(true)
})
})
diff --git a/test/specs/wrapper-array/setData.spec.js b/test/specs/wrapper-array/setData.spec.js
index 57ebbc441..9a1219344 100644
--- a/test/specs/wrapper-array/setData.spec.js
+++ b/test/specs/wrapper-array/setData.spec.js
@@ -7,10 +7,10 @@ describeWithShallowAndMount('setData', mountingMethod => {
it('sets component data and updates nested vm nodes', async () => {
const wrapper = mountingMethod(ComponentWithVIf)
const componentArr = wrapper.findAll(ComponentWithVIf)
- expect(componentArr.at(0).findAll('.child.ready').length).to.equal(0)
+ expect(componentArr.at(0).findAll('.child.ready').length).toEqual(0)
componentArr.setData({ ready: true })
await Vue.nextTick()
- expect(componentArr.at(0).findAll('.child.ready').length).to.equal(1)
+ expect(componentArr.at(0).findAll('.child.ready').length).toEqual(1)
})
it('throws an error if node is not a Vue instance', () => {
diff --git a/test/specs/wrapper-array/setProps.spec.js b/test/specs/wrapper-array/setProps.spec.js
index 1697a5077..c7fbc2d9f 100644
--- a/test/specs/wrapper-array/setProps.spec.js
+++ b/test/specs/wrapper-array/setProps.spec.js
@@ -11,8 +11,8 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(ComponentWithProps, { propsData })
wrapper.findAll(ComponentWithProps).setProps({ prop1 })
await Vue.nextTick()
- expect(wrapper.find('.prop-1').element.textContent).to.equal(prop1)
- expect(wrapper.find('.prop-2').element.textContent).to.equal(prop2)
+ expect(wrapper.find('.prop-1').element.textContent).toEqual(prop1)
+ expect(wrapper.find('.prop-2').element.textContent).toEqual(prop2)
})
it('sets component props when propsData was not initially passed', async () => {
@@ -21,8 +21,8 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(ComponentWithProps)
wrapper.findAll(ComponentWithProps).setProps({ prop1, prop2 })
await Vue.nextTick()
- expect(wrapper.find('.prop-1').element.textContent).to.equal(prop1)
- expect(wrapper.find('.prop-2').element.textContent).to.equal(prop2)
+ expect(wrapper.find('.prop-1').element.textContent).toEqual(prop1)
+ expect(wrapper.find('.prop-2').element.textContent).toEqual(prop2)
})
it('throws an error if node is not a Vue instance', () => {
diff --git a/test/specs/wrapper-array/setValue.spec.js b/test/specs/wrapper-array/setValue.spec.js
index 2b1960427..cc164a851 100644
--- a/test/specs/wrapper-array/setValue.spec.js
+++ b/test/specs/wrapper-array/setValue.spec.js
@@ -16,12 +16,12 @@ describeWithShallowAndMount('setValue', mountingMethod => {
`
})
const wrapperArray = wrapper.findAll('.foo')
- expect(wrapper.vm.t1).to.equal('')
- expect(wrapper.vm.t2).to.equal('')
+ expect(wrapper.vm.t1).toEqual('')
+ expect(wrapper.vm.t2).toEqual('')
wrapperArray.setValue('foo')
- expect(wrapper.vm.t1).to.equal('foo')
- expect(wrapper.vm.t2).to.equal('foo')
- expect(wrapperArray.at(0).element.value).to.equal('foo')
- expect(wrapperArray.at(1).element.value).to.equal('foo')
+ expect(wrapper.vm.t1).toEqual('foo')
+ expect(wrapper.vm.t2).toEqual('foo')
+ expect(wrapperArray.at(0).element.value).toEqual('foo')
+ expect(wrapperArray.at(1).element.value).toEqual('foo')
})
})
diff --git a/test/specs/wrapper-array/trigger.spec.js b/test/specs/wrapper-array/trigger.spec.js
index 81c5ad77f..35956e008 100644
--- a/test/specs/wrapper-array/trigger.spec.js
+++ b/test/specs/wrapper-array/trigger.spec.js
@@ -18,7 +18,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
const buttonArr = wrapper.findAll('.click')
buttonArr.trigger('click')
- expect(clickHandler.calledOnce).to.equal(true)
+ expect(clickHandler.calledOnce).toEqual(true)
})
it('causes keydown handler to fire when wrapper.trigger("keydown") is fired on a Component', () => {
@@ -28,7 +28,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
wrapper.findAll('.keydown').trigger('keydown')
- expect(keydownHandler.calledOnce).to.equal(true)
+ expect(keydownHandler.calledOnce).toEqual(true)
})
it('causes keydown handler to fire when wrapper.trigger("keydown.enter") is fired on a Component', () => {
@@ -38,7 +38,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
wrapper.findAll('.keydown-enter').trigger('keydown.enter')
- expect(keydownHandler.calledOnce).to.equal(true)
+ expect(keydownHandler.calledOnce).toEqual(true)
})
it('throws an error if type is not a string', () => {
diff --git a/test/specs/wrapper.spec.js b/test/specs/wrapper.spec.js
index aaa013719..c3fbc06a2 100644
--- a/test/specs/wrapper.spec.js
+++ b/test/specs/wrapper.spec.js
@@ -7,7 +7,7 @@ describeWithShallowAndMount('Wrapper', mountingMethod => {
const wrapper = mountingMethod({ template: '
' }).find(
'p'
)
- expect(wrapper.constructor.name).to.equal('Wrapper')
+ expect(wrapper.constructor.name).toEqual('Wrapper')
const message = `[vue-test-utils]: wrapper.${property} is read-only`
expect(() => {
wrapper[property] = 'foo'
diff --git a/test/specs/wrapper/classes.spec.js b/test/specs/wrapper/classes.spec.js
index 82e3b8156..81024fc93 100644
--- a/test/specs/wrapper/classes.spec.js
+++ b/test/specs/wrapper/classes.spec.js
@@ -13,7 +13,7 @@ describeWithShallowAndMount('classes', mountingMethod => {
it('returns empty array if wrapper has no classes', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.classes().length).to.equal(0)
+ expect(wrapper.classes().length).toEqual(0)
})
it('returns original class names when element mapped in css modules', () => {
diff --git a/test/specs/wrapper/contains.spec.js b/test/specs/wrapper/contains.spec.js
index 35d664da7..b963f4954 100644
--- a/test/specs/wrapper/contains.spec.js
+++ b/test/specs/wrapper/contains.spec.js
@@ -15,12 +15,12 @@ describeWithShallowAndMount('contains', mountingMethod => {
it('returns true if wrapper contains element', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.contains('input')).to.equal(true)
+ expect(wrapper.contains('input')).toEqual(true)
})
it('returns true if wrapper contains Vue component', () => {
const wrapper = mountingMethod(ComponentWithChild)
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
})
it('returns true if wrapper contains functional Vue component', () => {
@@ -39,7 +39,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.contains(FunctionalComponent)).to.equal(true)
+ expect(wrapper.contains(FunctionalComponent)).toEqual(true)
})
itSkipIf(
@@ -57,14 +57,14 @@ describeWithShallowAndMount('contains', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.contains(ComponentAsAClass)).to.equal(true)
+ expect(wrapper.contains(ComponentAsAClass)).toEqual(true)
}
)
it('returns true if wrapper contains element specified by ref selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.contains({ ref: 'foo' })).to.equal(true)
+ expect(wrapper.contains({ ref: 'foo' })).toEqual(true)
})
it('throws an error when ref selector is called on a wrapper that is not a Vue component', () => {
@@ -82,13 +82,13 @@ describeWithShallowAndMount('contains', mountingMethod => {
it('returns true when wrapper contains root element', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.contains('doesntexist')).to.equal(false)
+ expect(wrapper.contains('doesntexist')).toEqual(false)
})
it('returns true if wrapper root element matches contains', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.contains('doesntexist')).to.equal(false)
+ expect(wrapper.contains('doesntexist')).toEqual(false)
})
it('returns true if wrapper root Component matches selector', () => {
@@ -103,24 +103,24 @@ describeWithShallowAndMount('contains', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.contains(ComponentWithoutName)).to.equal(true)
+ expect(wrapper.contains(ComponentWithoutName)).toEqual(true)
})
it('returns true if wrapper root Component matches selector', () => {
const wrapper = mountingMethod(Component)
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
})
it('returns false if wrapper does not contain element', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.contains('div')).to.equal(true)
+ expect(wrapper.contains('div')).toEqual(true)
})
it('returns false if wrapper does not contain element specified by ref selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.contains({ ref: 'foo' })).to.equal(false)
+ expect(wrapper.contains({ ref: 'foo' })).toEqual(false)
})
it('works correctly with innerHTML', () => {
@@ -134,8 +134,8 @@ describeWithShallowAndMount('contains', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.contains('svg')).to.equal(true)
- expect(wrapper.find('svg').contains('svg')).to.equal(true)
+ expect(wrapper.contains('svg')).toEqual(true)
+ expect(wrapper.find('svg').contains('svg')).toEqual(true)
})
it('throws an error if selector is not a valid selector', () => {
diff --git a/test/specs/wrapper/destroy.spec.js b/test/specs/wrapper/destroy.spec.js
index 3b698f834..a78d770b5 100644
--- a/test/specs/wrapper/destroy.spec.js
+++ b/test/specs/wrapper/destroy.spec.js
@@ -16,7 +16,7 @@ describeWithShallowAndMount('destroy', mountingMethod => {
stub()
}
}).destroy()
- expect(stub.calledOnce).to.equal(true)
+ expect(stub.calledOnce).toEqual(true)
})
it('triggers destroy ', () => {
@@ -27,7 +27,7 @@ describeWithShallowAndMount('destroy', mountingMethod => {
stub()
}
}).destroy()
- expect(stub.calledOnce).to.equal(true)
+ expect(stub.calledOnce).toEqual(true)
})
it('removes element from document.body', () => {
@@ -35,7 +35,7 @@ describeWithShallowAndMount('destroy', mountingMethod => {
{ template: '
' },
{ attachToDocument: true }
)
- expect(wrapper.vm.$el.parentNode).to.equal(document.body)
+ expect(wrapper.vm.$el.parentNode).toEqual(document.body)
wrapper.destroy()
expect(wrapper.vm.$el.parentNode).to.be.null
})
@@ -50,7 +50,7 @@ describeWithShallowAndMount('destroy', mountingMethod => {
},
{ attachToDocument: true }
)
- expect(wrapper.element.parentNode).to.equal(document.body)
+ expect(wrapper.element.parentNode).toEqual(document.body)
wrapper.destroy()
expect(wrapper.element.parentNode).to.be.null
})
diff --git a/test/specs/wrapper/emitted.spec.js b/test/specs/wrapper/emitted.spec.js
index 65b7d4457..335add46a 100644
--- a/test/specs/wrapper/emitted.spec.js
+++ b/test/specs/wrapper/emitted.spec.js
@@ -11,18 +11,18 @@ describeWithShallowAndMount('emitted', mountingMethod => {
wrapper.vm.$emit('foo')
expect(wrapper.emitted('foo')).to.exist
- expect(wrapper.emitted('foo').length).to.equal(1)
+ expect(wrapper.emitted('foo').length).toEqual(1)
expect(wrapper.emitted('foo')[0]).to.eql([])
expect(wrapper.emitted('bar')).not.to.exist
wrapper.vm.$emit('bar', 1, 2, 3)
expect(wrapper.emitted('bar')).to.exist
- expect(wrapper.emitted('bar').length).to.equal(1)
+ expect(wrapper.emitted('bar').length).toEqual(1)
expect(wrapper.emitted('bar')[0]).to.eql([1, 2, 3])
wrapper.vm.$emit('foo', 2, 3, 4)
expect(wrapper.emitted('foo')).to.exist
- expect(wrapper.emitted('foo').length).to.equal(2)
+ expect(wrapper.emitted('foo').length).toEqual(2)
expect(wrapper.emitted('foo')[1]).to.eql([2, 3, 4])
})
@@ -33,18 +33,18 @@ describeWithShallowAndMount('emitted', mountingMethod => {
wrapper.vm.$emit('foo')
expect(wrapper.emitted().foo).to.exist
- expect(wrapper.emitted().foo.length).to.equal(1)
+ expect(wrapper.emitted().foo.length).toEqual(1)
expect(wrapper.emitted().foo[0]).to.eql([])
expect(wrapper.emitted().bar).not.to.exist
wrapper.vm.$emit('bar', 1, 2, 3)
expect(wrapper.emitted().bar).to.exist
- expect(wrapper.emitted().bar.length).to.equal(1)
+ expect(wrapper.emitted().bar.length).toEqual(1)
expect(wrapper.emitted().bar[0]).to.eql([1, 2, 3])
wrapper.vm.$emit('foo', 2, 3, 4)
expect(wrapper.emitted().foo).to.exist
- expect(wrapper.emitted().foo.length).to.equal(2)
+ expect(wrapper.emitted().foo.length).toEqual(2)
expect(wrapper.emitted().foo[1]).to.eql([2, 3, 4])
})
diff --git a/test/specs/wrapper/exists.spec.js b/test/specs/wrapper/exists.spec.js
index 8fd2b63d3..7a013188a 100644
--- a/test/specs/wrapper/exists.spec.js
+++ b/test/specs/wrapper/exists.spec.js
@@ -5,19 +5,19 @@ describeWithShallowAndMount('exists', mountingMethod => {
it('returns true if called on Wrapper', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.exists()).to.equal(true)
+ expect(wrapper.exists()).toEqual(true)
})
it('returns false if Wrapper is destroyed', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
wrapper.destroy()
- expect(wrapper.exists()).to.equal(false)
+ expect(wrapper.exists()).toEqual(false)
})
it('returns false if called on an ErrorWrapper', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('does-not-exist').exists()).to.equal(false)
+ expect(wrapper.find('does-not-exist').exists()).toEqual(false)
})
})
diff --git a/test/specs/wrapper/find.spec.js b/test/specs/wrapper/find.spec.js
index ed3a306f4..2f9e718cf 100644
--- a/test/specs/wrapper/find.spec.js
+++ b/test/specs/wrapper/find.spec.js
@@ -21,14 +21,14 @@ describeWithShallowAndMount('find', mountingMethod => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
expect(wrapper.find('p').vnode).to.be.an('object')
- expect(wrapper.find('p').vm).to.equal(undefined)
+ expect(wrapper.find('p').vm).toEqual(undefined)
})
it('returns Wrapper matching class selector passed', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
expect(wrapper.find('.foo').vnode).to.be.an('object')
- expect(wrapper.find('.foo').vm).to.equal(undefined)
+ expect(wrapper.find('.foo').vm).toEqual(undefined)
})
it('returns Wrapper matching class selector passed if nested in a transition', () => {
@@ -92,7 +92,7 @@ describeWithShallowAndMount('find', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(ChildComponent).name()).to.equal('child-component')
+ expect(wrapper.find(ChildComponent).name()).toEqual('child-component')
})
it('returns Wrapper of elements matching attribute selector passed', () => {
@@ -225,7 +225,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
expect(wrapper.find(FunctionalComponent).vnode).to.be.an('object')
- expect(wrapper.find(FunctionalComponent).vm).to.equal(undefined)
+ expect(wrapper.find(FunctionalComponent).vm).toEqual(undefined)
})
it('returns functional component with name', () => {
@@ -249,7 +249,7 @@ describeWithShallowAndMount('find', mountingMethod => {
.to.throw()
.with.property('message', message)
} else {
- expect(wrapper.find(TestFunctionalComponent).exists()).to.equal(true)
+ expect(wrapper.find(TestFunctionalComponent).exists()).toEqual(true)
}
})
@@ -273,7 +273,7 @@ describeWithShallowAndMount('find', mountingMethod => {
.to.throw()
.with.property('message', message)
} else {
- expect(wrapper.find(TestFunctionalComponent).exists()).to.equal(true)
+ expect(wrapper.find(TestFunctionalComponent).exists()).toEqual(true)
}
})
@@ -293,7 +293,7 @@ describeWithShallowAndMount('find', mountingMethod => {
.find('svg')
.find('svg')
.exists()
- ).to.equal(true)
+ ).toEqual(true)
})
it('throws errror when searching for a component on an element Wrapper', () => {
@@ -380,22 +380,22 @@ describeWithShallowAndMount('find', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent, { localVue })
const span = wrapper.find('span')
- expect(span.find(AComponent).exists()).to.equal(false)
+ expect(span.find(AComponent).exists()).toEqual(false)
})
it('returns empty Wrapper with error if no nodes are found', () => {
const wrapper = mountingMethod(Component)
const selector = 'pre'
const error = wrapper.find(selector)
- expect(error.exists()).to.equal(false)
- expect(error.selector).to.equal(selector)
+ expect(error.exists()).toEqual(false)
+ expect(error.selector).toEqual(selector)
})
it('returns empty Wrapper with error if no nodes are found when passed a component', () => {
const wrapper = mountingMethod(Component)
const error = wrapper.find(ComponentWithChild)
- expect(error.exists()).to.equal(false)
- expect(error.selector).to.equal(ComponentWithChild)
+ expect(error.exists()).toEqual(false)
+ expect(error.selector).toEqual(ComponentWithChild)
})
it('returns Wrapper of elements matching the ref in options object', () => {
@@ -416,7 +416,7 @@ describeWithShallowAndMount('find', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(FunctionalExtendedComponent).exists()).to.equal(true)
+ expect(wrapper.find(FunctionalExtendedComponent).exists()).toEqual(true)
})
it('returns Wrapper of Vue Component matching the extended component', () => {
@@ -431,8 +431,8 @@ describeWithShallowAndMount('find', mountingMethod => {
name: 'test-component'
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(TestComponent).exists()).to.equal(true)
- expect(wrapper.find(TestComponent).isVueInstance()).to.equal(true)
+ expect(wrapper.find(TestComponent).exists()).toEqual(true)
+ expect(wrapper.find(TestComponent).isVueInstance()).toEqual(true)
})
it('works for extended child components', () => {
@@ -446,12 +446,12 @@ describeWithShallowAndMount('find', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(ChildComponent).exists()).to.equal(true)
+ expect(wrapper.find(ChildComponent).exists()).toEqual(true)
})
it('returns a Wrapper matching a component name in options object', () => {
const wrapper = mountingMethod(ComponentWithChild)
- expect(wrapper.find({ name: 'test-component' }).name()).to.equal(
+ expect(wrapper.find({ name: 'test-component' }).name()).toEqual(
'test-component'
)
})
@@ -462,7 +462,7 @@ describeWithShallowAndMount('find', mountingMethod => {
render: h => h('div')
}
const wrapper = mountingMethod(component)
- expect(wrapper.find({ name: 'camelCase' }).name()).to.equal('CamelCase')
+ expect(wrapper.find({ name: 'camelCase' }).name()).toEqual('CamelCase')
})
it('returns a Wrapper matching a kebab-case name option and a Pascal Case component name ', () => {
@@ -471,7 +471,7 @@ describeWithShallowAndMount('find', mountingMethod => {
render: h => h('div')
}
const wrapper = mountingMethod(component)
- expect(wrapper.find({ name: 'camel-case' }).name()).to.equal('CamelCase')
+ expect(wrapper.find({ name: 'camel-case' }).name()).toEqual('CamelCase')
})
it('returns a Wrapper matching a Pascal Case name option and a kebab-casecomponent name ', () => {
@@ -480,12 +480,12 @@ describeWithShallowAndMount('find', mountingMethod => {
render: h => h('div')
}
const wrapper = mountingMethod(component)
- expect(wrapper.find({ name: 'CamelCase' }).name()).to.equal('camel-case')
+ expect(wrapper.find({ name: 'CamelCase' }).name()).toEqual('camel-case')
})
it('returns Wrapper of Vue Component matching the ref in options object', () => {
const wrapper = mountingMethod(ComponentWithChild)
- expect(wrapper.find({ ref: 'child' }).isVueInstance()).to.equal(true)
+ expect(wrapper.find({ ref: 'child' }).isVueInstance()).toEqual(true)
})
it('throws an error when ref selector is called on a wrapper that is not a Vue component', () => {
@@ -512,8 +512,8 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrapper = mountingMethod(Component)
const selector = { ref: 'foo' }
const error = wrapper.find(selector)
- expect(error.exists()).to.equal(false)
- expect(error.selector).to.equal(selector)
+ expect(error.exists()).toEqual(false)
+ expect(error.selector).toEqual(selector)
})
it('returns Wrapper matching component that has no name property', () => {
@@ -528,7 +528,7 @@ describeWithShallowAndMount('find', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(ComponentWithoutName).exists()).to.equal(true)
+ expect(wrapper.find(ComponentWithoutName).exists()).toEqual(true)
})
it('throws an error if selector is not a valid selector', () => {
@@ -591,8 +591,8 @@ describeWithShallowAndMount('find', mountingMethod => {
template: '
',
components: { childComponent }
})
- expect(wrapper.find('div').vm.$options.name).to.equal('foo')
- expect(wrapper.find('p').vm.$options.name).to.equal('bar')
+ expect(wrapper.find('div').vm.$options.name).toEqual('foo')
+ expect(wrapper.find('p').vm.$options.name).toEqual('bar')
}
)
@@ -601,7 +601,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrapper = mountingMethod(compiled)
const selector = 'p'
const result = wrapper.find(selector)
- expect(result.selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
})
it('stores ref selector', () => {
@@ -609,20 +609,20 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrapper = mountingMethod(compiled)
const selector = { ref: 'foo' }
const result = wrapper.find(selector)
- expect(result.selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
})
it('stores component selector', () => {
const wrapper = mountingMethod(ComponentWithChild)
const selector = Component
const result = wrapper.find(selector)
- expect(result.selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
})
it('stores name selector', () => {
const wrapper = mountingMethod(ComponentWithChild)
const selector = { name: 'test-component' }
const result = wrapper.find(selector)
- expect(result.selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
})
})
diff --git a/test/specs/wrapper/findAll.spec.js b/test/specs/wrapper/findAll.spec.js
index 515ff0bbf..9ab80e054 100644
--- a/test/specs/wrapper/findAll.spec.js
+++ b/test/specs/wrapper/findAll.spec.js
@@ -18,21 +18,21 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
const divs = wrapper.findAll('p')
- expect(divs.length).to.equal(2)
+ expect(divs.length).toEqual(2)
})
it('returns an array of Wrapper of elements matching class selector passed', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
const fooArr = wrapper.findAll('.foo')
- expect(fooArr.length).to.equal(1)
+ expect(fooArr.length).toEqual(1)
})
it('returns an array of Wrapper of elements matching class selector passed if they are nested in a transition', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
const divArr = wrapper.findAll('div')
- expect(divArr.length).to.equal(1)
+ expect(divArr.length).toEqual(1)
})
itDoNotRunIf(
@@ -45,7 +45,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
}
})
const fooArr = wrapper.findAll('.foo')
- expect(fooArr.length).to.equal(2)
+ expect(fooArr.length).toEqual(2)
}
)
@@ -66,7 +66,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.findAll('p').length).to.equal(3)
+ expect(wrapper.findAll('p').length).toEqual(3)
})
it('works correctly with innerHTML', () => {
@@ -80,21 +80,21 @@ describeWithShallowAndMount('findAll', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.findAll('svg').length).to.equal(1)
+ expect(wrapper.findAll('svg').length).toEqual(1)
})
it('returns an array of Wrappers of elements matching id selector passed', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
const fooArr = wrapper.findAll('#foo')
- expect(fooArr.length).to.equal(1)
+ expect(fooArr.length).toEqual(1)
})
it('returns an array of Wrappers of elements matching attribute selector passed', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
const hrefArr = wrapper.findAll('[href="/"]')
- expect(hrefArr.length).to.equal(1)
+ expect(hrefArr.length).toEqual(1)
})
it('throws an error when passed an invalid DOM selector', () => {
@@ -114,7 +114,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
const liArr = wrapper.findAll('div li')
- expect(liArr.length).to.equal(2)
+ expect(liArr.length).toEqual(2)
})
it('does not return duplicate nodes', () => {
@@ -122,33 +122,33 @@ describeWithShallowAndMount('findAll', mountingMethod => {
'
'
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('div p').length).to.equal(2)
+ expect(wrapper.findAll('div p').length).toEqual(2)
})
it('returns an array of Wrappers of elements matching selector with direct descendant combinator passed', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
const ulArr = wrapper.findAll('div > ul')
- expect(ulArr.length).to.equal(1)
+ expect(ulArr.length).toEqual(1)
})
it('returns an array of Wrappers of elements matching pseudo selector', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
const divs = wrapper.findAll('p:first-of-type')
- expect(divs.length).to.equal(1)
+ expect(divs.length).toEqual(1)
})
it('returns an array of VueWrappers of Vue Components matching component', () => {
const wrapper = mountingMethod(ComponentWithChild)
const componentArr = wrapper.findAll(Component)
- expect(componentArr.length).to.equal(1)
+ expect(componentArr.length).toEqual(1)
})
it('returns an array of VueWrappers of Vue Components matching components using findAllComponents', () => {
const wrapper = mountingMethod(ComponentWithChild)
const componentArr = wrapper.findAllComponents(Component)
- expect(componentArr.length).to.equal(1)
+ expect(componentArr.length).toEqual(1)
})
it('throws an error if findAllComponents selector is a CSS selector', () => {
@@ -175,14 +175,14 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const items = [{ id: 1 }, { id: 2 }, { id: 3 }]
const wrapper = mountingMethod(ComponentWithVFor, { propsData: { items } })
const componentArray = wrapper.findAll(Component)
- expect(componentArray.length).to.equal(items.length)
+ expect(componentArray.length).toEqual(items.length)
})
it('returns array of VueWrappers of Vue Components matching component if component name in parent is different to filename', () => {
const wrapper = mountingMethod(ComponentWithChild)
const div = wrapper.findAll('span').at(0)
const componentArr = div.findAll(Component)
- expect(componentArr.length).to.equal(1)
+ expect(componentArr.length).toEqual(1)
})
it('returns an array of VueWrappers of Vue Components matching component using Wrapper as reference', () => {
@@ -190,7 +190,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const wrapper = mountingMethod(ComponentWithChild)
const div = wrapper.findAll('span').at(0)
const componentArr = div.findAll(Component)
- expect(componentArr.length).to.equal(1)
+ expect(componentArr.length).toEqual(1)
})
it('only returns Vue components that exists as children of Wrapper', () => {
@@ -213,7 +213,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
const span = wrapper.find('span')
- expect(span.findAll(AComponent).length).to.equal(1)
+ expect(span.findAll(AComponent).length).toEqual(1)
})
it('returns matching Vue components that have no name property', () => {
@@ -230,7 +230,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.findAll(ComponentWithoutName).length).to.equal(3)
+ expect(wrapper.findAll(ComponentWithoutName).length).toEqual(3)
})
itSkipIf(isRunningPhantomJS, 'returns Wrapper of class component', () => {
@@ -246,7 +246,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.findAll(ComponentAsAClass).length).to.equal(1)
+ expect(wrapper.findAll(ComponentAsAClass).length).toEqual(1)
})
it('returns Wrapper of Vue Component matching functional component', () => {
@@ -265,28 +265,28 @@ describeWithShallowAndMount('findAll', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.findAll(FunctionalComponent).length).to.equal(1)
+ expect(wrapper.findAll(FunctionalComponent).length).toEqual(1)
})
it('returns VueWrapper with length 0 if no nodes matching selector are found', () => {
const wrapper = mountingMethod(Component)
const preArray = wrapper.findAll('pre')
- expect(preArray.length).to.equal(0)
+ expect(preArray.length).toEqual(0)
expect(preArray.wrappers).to.deep.equal([])
})
it('returns an array of Wrapper of elements matching a component name in options object', () => {
const wrapper = mountingMethod(ComponentWithChild)
const wrapperArray = wrapper.findAll({ name: 'test-component' })
- expect(wrapperArray.at(0).name()).to.equal('test-component')
- expect(wrapperArray.length).to.equal(1)
+ expect(wrapperArray.at(0).name()).toEqual('test-component')
+ expect(wrapperArray.length).toEqual(1)
})
it('returns an array of Wrapper of elements matching the ref in options object', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
const fooArr = wrapper.findAll({ ref: 'foo' })
- expect(fooArr.length).to.equal(1)
+ expect(fooArr.length).toEqual(1)
})
it('throws an error when ref selector is called on a wrapper that is not a Vue component', () => {
@@ -307,20 +307,20 @@ describeWithShallowAndMount('findAll', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
const divArr = wrapper.findAll({ ref: 'foo' })
- expect(divArr.length).to.equal(1)
+ expect(divArr.length).toEqual(1)
})
it('returns correct number of Vue Wrapper when component has a v-for and matches the ref in options object', () => {
const items = [{ id: 1 }, { id: 2 }, { id: 3 }]
const wrapper = mountingMethod(ComponentWithVFor, { propsData: { items } })
const componentArray = wrapper.findAll({ ref: 'item' })
- expect(componentArray.length).to.equal(items.length)
+ expect(componentArray.length).toEqual(items.length)
})
it('returns VueWrapper with length 0 if no nodes matching the ref in options object are found', () => {
const wrapper = mountingMethod(Component)
const preArray = wrapper.findAll({ ref: 'foo' })
- expect(preArray.length).to.equal(0)
+ expect(preArray.length).toEqual(0)
expect(preArray.wrappers).to.deep.equal([])
})
@@ -364,9 +364,9 @@ describeWithShallowAndMount('findAll', mountingMethod => {
components: { childComponent }
})
const wrappers = wrapper.findAll('.foo')
- expect(wrappers.at(0).vm.$options.name).to.equal('foo')
- expect(wrappers.at(1).vm).to.equal(undefined)
- expect(wrappers.at(2).vm.$options.name).to.equal('bar')
+ expect(wrappers.at(0).vm.$options.name).toEqual('foo')
+ expect(wrappers.at(1).vm).toEqual(undefined)
+ expect(wrappers.at(2).vm.$options.name).toEqual('bar')
}
)
@@ -375,8 +375,8 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const wrapper = mountingMethod(compiled)
const selector = 'p'
const result = wrapper.findAll('p')
- expect(result.selector).to.equal(selector)
- expect(result.at(0).selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
+ expect(result.at(0).selector).toEqual(selector)
})
it('stores ref selector', () => {
@@ -384,23 +384,23 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const wrapper = mountingMethod(compiled)
const selector = { ref: 'foo' }
const result = wrapper.findAll(selector)
- expect(result.selector).to.equal(selector)
- expect(result.at(0).selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
+ expect(result.at(0).selector).toEqual(selector)
})
it('stores component selector', () => {
const wrapper = mountingMethod(ComponentWithChild)
const selector = Component
const result = wrapper.findAll(selector)
- expect(result.selector).to.equal(selector)
- expect(result.at(0).selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
+ expect(result.at(0).selector).toEqual(selector)
})
it('stores name selector', () => {
const wrapper = mountingMethod(ComponentWithChild)
const selector = { name: 'test-component' }
const result = wrapper.findAll(selector)
- expect(result.selector).to.equal(selector)
- expect(result.at(0).selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
+ expect(result.at(0).selector).toEqual(selector)
})
})
diff --git a/test/specs/wrapper/html.spec.js b/test/specs/wrapper/html.spec.js
index 50f8d809a..abc618d46 100644
--- a/test/specs/wrapper/html.spec.js
+++ b/test/specs/wrapper/html.spec.js
@@ -7,7 +7,7 @@ describeWithShallowAndMount('html', mountingMethod => {
it('returns a VueWrappers HTML as a string', () => {
const expectedHtml = '
'
const wrapper = mountingMethod(Component)
- expect(wrapper.html()).to.equal(expectedHtml)
+ expect(wrapper.html()).toEqual(expectedHtml)
})
it('returns a VueWrappers HTML as a string when component has no render function', () => {
@@ -21,7 +21,7 @@ describeWithShallowAndMount('html', mountingMethod => {
}
})
const expectedHtml = ''
- expect(wrapper.html()).to.equal(expectedHtml)
+ expect(wrapper.html()).toEqual(expectedHtml)
})
it('handles class component', () => {
@@ -29,7 +29,7 @@ describeWithShallowAndMount('html', mountingMethod => {
return
}
const wrapper = mountingMethod(ComponentAsAClass)
- expect(wrapper.html()).to.equal('
')
+ expect(wrapper.html()).toEqual('
')
})
it('returns a Wrappers HTML as a pretty printed string', () => {
@@ -45,6 +45,6 @@ describeWithShallowAndMount('html', mountingMethod => {
const compiled = compileToFunctions(expectedHtml)
const wrapper = mountingMethod(compiled)
- expect(wrapper.html()).to.equal(expectedHtml)
+ expect(wrapper.html()).toEqual(expectedHtml)
})
})
diff --git a/test/specs/wrapper/is.spec.js b/test/specs/wrapper/is.spec.js
index 23129c3aa..ff8251688 100644
--- a/test/specs/wrapper/is.spec.js
+++ b/test/specs/wrapper/is.spec.js
@@ -13,35 +13,35 @@ describeWithShallowAndMount('is', mountingMethod => {
it('returns true if root node matches tag selector', () => {
const compiled = compileToFunctions(' ')
const wrapper = mountingMethod(compiled)
- expect(wrapper.is('input')).to.equal(true)
+ expect(wrapper.is('input')).toEqual(true)
})
it('returns true if root node matches class selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.is('.div')).to.equal(true)
+ expect(wrapper.is('.div')).toEqual(true)
})
it('returns true if root node matches id selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.is('#div')).to.equal(true)
+ expect(wrapper.is('#div')).toEqual(true)
})
it('returns true if root node matches Vue Component selector', () => {
const wrapper = mountingMethod(ComponentWithChild)
const component = wrapper.findAll(Component).at(0)
- expect(component.is(Component)).to.equal(true)
+ expect(component.is(Component)).toEqual(true)
})
it('returns true if root node matches Component', () => {
const wrapper = mountingMethod(Component)
- expect(wrapper.is(Component)).to.equal(true)
+ expect(wrapper.is(Component)).toEqual(true)
})
it('returns true if root node matches Component without a name', () => {
const wrapper = mountingMethod(ComponentWithoutName)
- expect(wrapper.is(ComponentWithoutName)).to.equal(true)
+ expect(wrapper.is(ComponentWithoutName)).toEqual(true)
})
it('works correctly with innerHTML', () => {
@@ -55,7 +55,7 @@ describeWithShallowAndMount('is', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find('svg').is('svg')).to.equal(true)
+ expect(wrapper.find('svg').is('svg')).toEqual(true)
})
it('returns true if root node matches functional Component', () => {
@@ -63,7 +63,7 @@ describeWithShallowAndMount('is', mountingMethod => {
return
}
const wrapper = mountingMethod(FunctionalComponent)
- expect(wrapper.is(FunctionalComponent)).to.equal(true)
+ expect(wrapper.is(FunctionalComponent)).toEqual(true)
})
it('returns true if root node matches Component extending class component', () => {
@@ -72,31 +72,31 @@ describeWithShallowAndMount('is', mountingMethod => {
stubs: false
})
- expect(wrapper.is(ComponentAsAClass)).to.equal(true)
+ expect(wrapper.is(ComponentAsAClass)).toEqual(true)
})
it('returns false if root node is not a Vue Component', () => {
const wrapper = mountingMethod(ComponentWithChild)
const input = wrapper.findAll('span').at(0)
- expect(input.is(Component)).to.equal(false)
+ expect(input.is(Component)).toEqual(false)
})
it('returns false if root node does not match tag selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.is('p')).to.equal(false)
+ expect(wrapper.is('p')).toEqual(false)
})
it('returns false if root node does not match class selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.is('.p')).to.equal(false)
+ expect(wrapper.is('.p')).toEqual(false)
})
it('returns false if root node does not match id selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.is('#p')).to.equal(false)
+ expect(wrapper.is('#p')).toEqual(false)
})
it('throws error if ref options object is passed', () => {
diff --git a/test/specs/wrapper/isEmpty.spec.js b/test/specs/wrapper/isEmpty.spec.js
index 6a9fbf22b..863d9a7be 100644
--- a/test/specs/wrapper/isEmpty.spec.js
+++ b/test/specs/wrapper/isEmpty.spec.js
@@ -10,13 +10,13 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.isEmpty()).to.equal(true)
+ expect(wrapper.isEmpty()).toEqual(true)
})
it('returns true if node contains comment', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.isEmpty()).to.equal(true)
+ expect(wrapper.isEmpty()).toEqual(true)
})
itDoNotRunIf(
@@ -39,7 +39,7 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.isEmpty()).to.equal(true)
+ expect(wrapper.isEmpty()).toEqual(true)
}
)
@@ -63,7 +63,7 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.isEmpty()).to.equal(false)
+ expect(wrapper.isEmpty()).toEqual(false)
}
)
@@ -78,7 +78,7 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find('svg').isEmpty()).to.equal(true)
+ expect(wrapper.find('svg').isEmpty()).toEqual(true)
})
it('returns false if innerHTML is not empty', () => {
@@ -92,20 +92,20 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find('svg').isEmpty()).to.equal(false)
+ expect(wrapper.find('svg').isEmpty()).toEqual(false)
})
it('returns true contains empty slot', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.isEmpty()).to.equal(true)
+ expect(wrapper.isEmpty()).toEqual(true)
})
it('returns false if node contains other nodes', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.isEmpty()).to.equal(false)
+ expect(wrapper.isEmpty()).toEqual(false)
})
})
diff --git a/test/specs/wrapper/isVisible.spec.js b/test/specs/wrapper/isVisible.spec.js
index a269f34e7..d4164f220 100644
--- a/test/specs/wrapper/isVisible.spec.js
+++ b/test/specs/wrapper/isVisible.spec.js
@@ -11,7 +11,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
const element = wrapper.find('.visible')
- expect(element.isVisible()).to.equal(true)
+ expect(element.isVisible()).toEqual(true)
})
it('returns false if element has inline style display: none', () => {
@@ -20,7 +20,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
const element = wrapper.find('.visible')
- expect(element.isVisible()).to.equal(false)
+ expect(element.isVisible()).toEqual(false)
})
it('returns false if element has inline style visibility: hidden', () => {
@@ -29,7 +29,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
const element = wrapper.find('.visible')
- expect(element.isVisible()).to.equal(false)
+ expect(element.isVisible()).toEqual(false)
})
it('returns false if element has hidden attribute', () => {
@@ -38,7 +38,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
const element = wrapper.find('.visible')
- expect(element.isVisible()).to.equal(false)
+ expect(element.isVisible()).toEqual(false)
})
it('returns true if element has v-show true', async () => {
@@ -47,10 +47,10 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
await Vue.nextTick()
const notReadyElement = wrapper.find('.not-ready')
- expect(notReadyElement.isVisible()).to.equal(false)
+ expect(notReadyElement.isVisible()).toEqual(false)
const readyElement = wrapper.find('.parent.ready')
- expect(readyElement.isVisible()).to.equal(true)
+ expect(readyElement.isVisible()).toEqual(true)
})
it('returns false if element has v-show true', async () => {
@@ -59,10 +59,10 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
await Vue.nextTick()
const notReadyElement = wrapper.find('.not-ready')
- expect(notReadyElement.isVisible()).to.equal(false)
+ expect(notReadyElement.isVisible()).toEqual(false)
const readyElement = wrapper.find('.parent.ready')
- expect(readyElement.isVisible()).to.equal(true)
+ expect(readyElement.isVisible()).toEqual(true)
})
it('returns true if parent element has v-show true', async () => {
@@ -71,10 +71,10 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
await Vue.nextTick()
const notReadyElement = wrapper.find('.not-ready')
- expect(notReadyElement.isVisible()).to.equal(false)
+ expect(notReadyElement.isVisible()).toEqual(false)
const readyChildElement = wrapper.find('.child.ready')
- expect(readyChildElement.isVisible()).to.equal(true)
+ expect(readyChildElement.isVisible()).toEqual(true)
})
it('returns false if parent element has v-show false', async () => {
@@ -83,10 +83,10 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
await Vue.nextTick()
const notReadyElement = wrapper.find('.not-ready')
- expect(notReadyElement.isVisible()).to.equal(false)
+ expect(notReadyElement.isVisible()).toEqual(false)
const readyChildElement = wrapper.find('.child.ready')
- expect(readyChildElement.isVisible()).to.equal(true)
+ expect(readyChildElement.isVisible()).toEqual(true)
})
it('returns false if root element has v-show false and parent has v-show true', async () => {
@@ -95,10 +95,10 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
wrapper.vm.$set(wrapper.vm, 'rootReady', false)
await Vue.nextTick()
const notReadyElement = wrapper.find('.not-ready')
- expect(notReadyElement.isVisible()).to.equal(false)
+ expect(notReadyElement.isVisible()).toEqual(false)
const readyChildElement = wrapper.find('.child.ready')
- expect(readyChildElement.isVisible()).to.equal(false)
+ expect(readyChildElement.isVisible()).toEqual(false)
})
it('returns false if root element has v-show true and parent has v-show false', async () => {
@@ -107,10 +107,10 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
wrapper.vm.$set(wrapper.vm, 'rootReady', true)
await Vue.nextTick()
const notReadyElement = wrapper.find('.not-ready')
- expect(notReadyElement.isVisible()).to.equal(true)
+ expect(notReadyElement.isVisible()).toEqual(true)
const readyChildElement = wrapper.find('.child.ready')
- expect(readyChildElement.isVisible()).to.equal(false)
+ expect(readyChildElement.isVisible()).toEqual(false)
})
it('returns true if all elements are visible', async () => {
@@ -120,7 +120,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
await Vue.nextTick()
const readyChildElement = wrapper.find('.ready')
- expect(readyChildElement.isVisible()).to.equal(true)
+ expect(readyChildElement.isVisible()).toEqual(true)
})
it('returns false if one element is not visible', async () => {
@@ -130,7 +130,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
await Vue.nextTick()
const readyChildElement = wrapper.find('.ready, .not-ready')
- expect(readyChildElement.isVisible()).to.equal(false)
+ expect(readyChildElement.isVisible()).toEqual(false)
})
it('fails if one element is absent', async () => {
@@ -147,6 +147,6 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
wrapper.vm.$set(wrapper.vm, 'ready', true)
await Vue.nextTick()
- expect(wrapper.find('.child.ready').isVisible()).to.equal(true)
+ expect(wrapper.find('.child.ready').isVisible()).toEqual(true)
})
})
diff --git a/test/specs/wrapper/isVueInstance.spec.js b/test/specs/wrapper/isVueInstance.spec.js
index f677a4d1f..a52c4b63d 100644
--- a/test/specs/wrapper/isVueInstance.spec.js
+++ b/test/specs/wrapper/isVueInstance.spec.js
@@ -5,12 +5,12 @@ describeWithShallowAndMount('isVueInstance', mountingMethod => {
it('returns true if wrapper is Vue instance', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.isVueInstance()).to.equal(true)
+ expect(wrapper.isVueInstance()).toEqual(true)
})
it('returns the tag name of the element if it is not a Vue component', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('p').isVueInstance()).to.equal(false)
+ expect(wrapper.find('p').isVueInstance()).toEqual(false)
})
})
diff --git a/test/specs/wrapper/name.spec.js b/test/specs/wrapper/name.spec.js
index 0b8c2093a..e66914ce2 100644
--- a/test/specs/wrapper/name.spec.js
+++ b/test/specs/wrapper/name.spec.js
@@ -5,7 +5,7 @@ import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('name', mountingMethod => {
it('returns the name of the component it was called on', () => {
const wrapper = mountingMethod(Component)
- expect(wrapper.name()).to.equal('test-component')
+ expect(wrapper.name()).toEqual('test-component')
})
it('returns the name of the tag if there is no vnode', () => {
@@ -19,12 +19,12 @@ describeWithShallowAndMount('name', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find('svg').name()).to.equal('svg')
+ expect(wrapper.find('svg').name()).toEqual('svg')
})
it('returns the tag name of the element if it is not a Vue component', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('p').name()).to.equal('p')
+ expect(wrapper.find('p').name()).toEqual('p')
})
})
diff --git a/test/specs/wrapper/props.spec.js b/test/specs/wrapper/props.spec.js
index 31afeac50..4674be5a7 100644
--- a/test/specs/wrapper/props.spec.js
+++ b/test/specs/wrapper/props.spec.js
@@ -46,7 +46,7 @@ describeWithShallowAndMount('props', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.props().message).to.equal('hello')
+ expect(wrapper.props().message).toEqual('hello')
})
itSkipIf(
diff --git a/test/specs/wrapper/setChecked.spec.js b/test/specs/wrapper/setChecked.spec.js
index c21e86459..7b5ca0876 100644
--- a/test/specs/wrapper/setChecked.spec.js
+++ b/test/specs/wrapper/setChecked.spec.js
@@ -17,7 +17,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const input = wrapper.find('input[type="checkbox"]')
input.setChecked()
- expect(input.element.checked).to.equal(true)
+ expect(input.element.checked).toEqual(true)
})
it('sets element checked equal to param passed', () => {
@@ -25,10 +25,10 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const input = wrapper.find('input[type="checkbox"]')
input.setChecked(true)
- expect(input.element.checked).to.equal(true)
+ expect(input.element.checked).toEqual(true)
input.setChecked(false)
- expect(input.element.checked).to.equal(false)
+ expect(input.element.checked).toEqual(false)
})
it('updates dom with checkbox v-model', async () => {
@@ -53,7 +53,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
await input.setChecked(false)
await input.setChecked(false)
- expect(wrapper.find('.counter').text()).to.equal('4')
+ expect(wrapper.find('.counter').text()).toEqual('4')
})
it('triggers a change event when called on a checkbox', () => {
@@ -115,7 +115,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
await radioBar.setChecked()
await radioFoo.setChecked()
await radioFoo.setChecked()
- expect(wrapper.find('.counter').text()).to.equal('4')
+ expect(wrapper.find('.counter').text()).toEqual('4')
})
it('triggers a change event when called on a radio button', () => {
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index 6f5078ab4..9ee8fee0d 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -21,19 +21,19 @@ describeWithShallowAndMount('setData', mountingMethod => {
it('sets component data and returns a promise', async () => {
const wrapper = mountingMethod(ComponentWithVIf)
- expect(wrapper.findAll('.child.ready').length).to.equal(0)
+ expect(wrapper.findAll('.child.ready').length).toEqual(0)
const response = wrapper.setData({ ready: true })
- expect(wrapper.findAll('.child.ready').length).to.equal(0)
+ expect(wrapper.findAll('.child.ready').length).toEqual(0)
expect(isPromise(response)).to.eql(true)
await response
- expect(wrapper.findAll('.child.ready').length).to.equal(1)
+ expect(wrapper.findAll('.child.ready').length).toEqual(1)
})
it('sets component data and updates nested vm nodes when called on Vue instance', async () => {
const wrapper = mountingMethod(ComponentWithVIf)
- expect(wrapper.findAll('.child.ready').length).to.equal(0)
+ expect(wrapper.findAll('.child.ready').length).toEqual(0)
await wrapper.setData({ ready: true })
- expect(wrapper.findAll('.child.ready').length).to.equal(1)
+ expect(wrapper.findAll('.child.ready').length).toEqual(1)
})
it('keeps element in sync with vnode', async () => {
@@ -47,7 +47,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
}
const wrapper = mountingMethod(Component)
await wrapper.setData({ show: true })
- expect(wrapper.element).to.equal(wrapper.vm.$el)
+ expect(wrapper.element).toEqual(wrapper.vm.$el)
expect(wrapper.classes()).to.contain('some-class')
})
@@ -55,14 +55,14 @@ describeWithShallowAndMount('setData', mountingMethod => {
const wrapper = mountingMethod(ComponentWithWatch)
const data1 = 'testest'
await wrapper.setData({ data1 })
- expect(wrapper.vm.data2).to.equal(data1)
+ expect(wrapper.vm.data2).toEqual(data1)
})
it('runs watch function after all props are updated', async () => {
const wrapper = mountingMethod(ComponentWithWatch)
const data1 = 'testest'
await wrapper.setData({ data2: 'newProp', data1 })
- expect(console.info.args[0][0]).to.equal(data1)
+ expect(console.info.args[0][0]).toEqual(data1)
})
it('throws error if node is not a Vue instance', () => {
@@ -129,7 +129,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
await wrapper.setData({ text: 'hello' })
- expect(wrapper.vm.basket[0]).to.equal('hello')
+ expect(wrapper.vm.basket[0]).toEqual('hello')
})
it('should not run watcher if data is null', async () => {
@@ -154,7 +154,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
await wrapper.setData({ message: null })
- expect(wrapper.text()).to.equal('There is no message yet')
+ expect(wrapper.text()).toEqual('There is no message yet')
})
it('updates an existing property in a data object', () => {
@@ -177,8 +177,8 @@ describeWithShallowAndMount('setData', mountingMethod => {
}
}
})
- expect(wrapper.vm.anObject.propB).to.equal('b')
- expect(wrapper.vm.anObject.propA.prop1).to.equal('c')
+ expect(wrapper.vm.anObject.propB).toEqual('b')
+ expect(wrapper.vm.anObject.propA.prop1).toEqual('c')
})
it('should append a new property to an object without removing existing properties', () => {
@@ -201,8 +201,8 @@ describeWithShallowAndMount('setData', mountingMethod => {
}
}
})
- expect(wrapper.vm.anObject.propA.prop1).to.equal('a')
- expect(wrapper.vm.anObject.propA.prop2).to.equal('b')
+ expect(wrapper.vm.anObject.propA.prop1).toEqual('a')
+ expect(wrapper.vm.anObject.propA.prop2).toEqual('b')
})
it('handles undefined values', async () => {
@@ -249,7 +249,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
}
}
})
- expect(wrapper.vm.nullProperty.another.obj).to.equal(true)
+ expect(wrapper.vm.nullProperty.another.obj).toEqual(true)
})
it('does not merge arrays', async () => {
@@ -276,7 +276,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
}
}
})
- expect(wrapper.text()).to.equal('10')
+ expect(wrapper.text()).toEqual('10')
expect(wrapper.vm.nested.nested.nestedArray).to.deep.equal([10])
})
@@ -301,11 +301,11 @@ describeWithShallowAndMount('setData', mountingMethod => {
propC: 'c'
}
})
- expect(wrapper.vm.anObject.propA).to.equal('a')
- expect(wrapper.vm.anObject.propB).to.equal('b')
- expect(wrapper.vm.anObject.propC).to.equal('c')
- expect(wrapper.vm.anObjectKeys).to.equal('propA,propB,propC')
- expect(wrapper.html()).to.equal('propA,propB,propC
')
+ expect(wrapper.vm.anObject.propA).toEqual('a')
+ expect(wrapper.vm.anObject.propB).toEqual('b')
+ expect(wrapper.vm.anObject.propC).toEqual('c')
+ expect(wrapper.vm.anObjectKeys).toEqual('propA,propB,propC')
+ expect(wrapper.html()).toEqual('propA,propB,propC
')
})
it('allows setting data of type Date synchronously', () => {
@@ -322,6 +322,6 @@ describeWithShallowAndMount('setData', mountingMethod => {
const testDate = new Date()
const wrapper = mountingMethod(TestComponent)
wrapper.setData({ selectedDate: testDate })
- expect(wrapper.vm.selectedDate).to.equal(testDate)
+ expect(wrapper.vm.selectedDate).toEqual(testDate)
})
})
diff --git a/test/specs/wrapper/setMethods.spec.js b/test/specs/wrapper/setMethods.spec.js
index 1907950e9..95a396b3f 100644
--- a/test/specs/wrapper/setMethods.spec.js
+++ b/test/specs/wrapper/setMethods.spec.js
@@ -9,7 +9,7 @@ describeWithShallowAndMount('setMethods', mountingMethod => {
const wrapper = mountingMethod(ComponentWithMethods)
const someMethod = () => {}
wrapper.setMethods({ someMethod })
- expect(wrapper.vm.someMethod).to.equal(someMethod)
+ expect(wrapper.vm.someMethod).toEqual(someMethod)
})
it('throws an error if node is not a Vue instance', () => {
@@ -17,7 +17,7 @@ describeWithShallowAndMount('setMethods', mountingMethod => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
const p = wrapper.find('p')
- expect(() => p.setMethods({ ready: true })).throw(Error, message)
+ expect(() => p.setMethods({ ready: true })).toThrow(Error, message)
})
itDoNotRunIf(
@@ -25,14 +25,14 @@ describeWithShallowAndMount('setMethods', mountingMethod => {
'should replace methods when tied to an event',
() => {
const wrapper = mountingMethod(ComponentWithEvents)
- expect(wrapper.vm.isActive).to.be.false
+ expect(wrapper.vm.isActive).toBe(false)
wrapper.find('.toggle').trigger('click')
- expect(wrapper.vm.isActive).to.be.true
+ expect(wrapper.vm.isActive).toBe(true)
// Replace the toggle function so that the data supposedly won't change
const toggleActive = () => {}
wrapper.setMethods({ toggleActive })
wrapper.find('.toggle').trigger('click')
- expect(wrapper.vm.isActive).to.be.true
+ expect(wrapper.vm.isActive).toBe(true)
}
)
})
diff --git a/test/specs/wrapper/setProps.spec.js b/test/specs/wrapper/setProps.spec.js
index 635ffae66..81aa6a9e5 100644
--- a/test/specs/wrapper/setProps.spec.js
+++ b/test/specs/wrapper/setProps.spec.js
@@ -24,9 +24,9 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(ComponentWithProps)
const response = wrapper.setProps({ prop1: 'foo' })
expect(isPromise(response)).to.eql(true)
- expect(wrapper.find('.prop-1').text()).to.equal('')
+ expect(wrapper.find('.prop-1').text()).toEqual('')
await response
- expect(wrapper.find('.prop-1').text()).to.equal('foo')
+ expect(wrapper.find('.prop-1').text()).toEqual('foo')
})
it('sets component props and updates DOM when called on Vue instance', async () => {
@@ -35,8 +35,8 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const propsData = { prop1: 'a prop', prop2 }
const wrapper = mountingMethod(ComponentWithProps, { propsData })
await wrapper.setProps({ prop1 })
- expect(wrapper.find('.prop-1').element.textContent).to.equal(prop1)
- expect(wrapper.find('.prop-2').element.textContent).to.equal(prop2)
+ expect(wrapper.find('.prop-1').element.textContent).toEqual(prop1)
+ expect(wrapper.find('.prop-2').element.textContent).toEqual(prop2)
})
it('sets props and updates when called with same object', async () => {
@@ -50,7 +50,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
obj.shouldRender = () => true
await wrapper.setProps({ obj })
- expect(wrapper.is('div')).to.equal(true)
+ expect(wrapper.is('div')).toEqual(true)
})
it('setProps and props getter are in sync', () => {
@@ -61,7 +61,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
const updatedValue = 'updated value'
wrapper.setProps({ prop1: updatedValue })
- expect(wrapper.props().prop1).to.equal(updatedValue)
+ expect(wrapper.props().prop1).toEqual(updatedValue)
})
it('sets component props, and updates DOM when propsData was not initially passed', async () => {
@@ -69,8 +69,8 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const prop2 = 'prop s'
const wrapper = mountingMethod(ComponentWithProps)
await wrapper.setProps({ prop1, prop2 })
- expect(wrapper.find('.prop-1').element.textContent).to.equal(prop1)
- expect(wrapper.find('.prop-2').element.textContent).to.equal(prop2)
+ expect(wrapper.find('.prop-1').element.textContent).toEqual(prop1)
+ expect(wrapper.find('.prop-2').element.textContent).toEqual(prop2)
})
describe('attrs', () => {
@@ -84,7 +84,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const prop1 = 'prop1'
const wrapper = mountingMethod(TestComponent)
wrapper.setProps({ prop1 })
- expect(wrapper.vm.$attrs.prop1).to.equal(prop1)
+ expect(wrapper.vm.$attrs.prop1).toEqual(prop1)
}
)
})
@@ -109,8 +109,8 @@ describeWithShallowAndMount('setProps', mountingMethod => {
})
wrapper.setProps({ propA: 'value' })
- expect(wrapper.props().propA).to.equal('value')
- expect(wrapper.vm.propA).to.equal('value')
+ expect(wrapper.props().propA).toEqual('value')
+ expect(wrapper.vm.propA).toEqual('value')
})
it('runs watchers correctly', async () => {
@@ -141,17 +141,17 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
propsData: { collection: [] }
})
- expect(wrapper.vm.stringified).to.equal('')
- expect(wrapper.vm.data).to.equal('')
+ expect(wrapper.vm.stringified).toEqual('')
+ expect(wrapper.vm.data).toEqual('')
await wrapper.setProps({ collection: [1, 2, 3] })
- expect(wrapper.vm.stringified).to.equal('1,2,3')
- expect(wrapper.vm.data).to.equal('1,2,3')
+ expect(wrapper.vm.stringified).toEqual('1,2,3')
+ expect(wrapper.vm.data).toEqual('1,2,3')
wrapper.vm.collection.push(4, 5)
await Vue.nextTick()
- expect(wrapper.vm.stringified).to.equal('1,2,3,4,5')
- expect(wrapper.vm.data).to.equal('1,2,3,4,5')
+ expect(wrapper.vm.stringified).toEqual('1,2,3,4,5')
+ expect(wrapper.vm.data).toEqual('1,2,3,4,5')
})
it('should not run watchers if prop updated is null', async () => {
@@ -178,14 +178,14 @@ describeWithShallowAndMount('setProps', mountingMethod => {
}
})
await wrapper.setProps({ message: null })
- expect(wrapper.text()).to.equal('There is no message yet')
+ expect(wrapper.text()).toEqual('There is no message yet')
})
it('runs watch function when prop is updated', async () => {
const wrapper = mountingMethod(ComponentWithWatch)
const prop1 = 'testest'
await wrapper.setProps({ prop1 })
- expect(wrapper.vm.prop2).to.equal(prop1)
+ expect(wrapper.vm.prop2).toEqual(prop1)
})
})
@@ -197,7 +197,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
const obj = {}
wrapper.setProps({ obj })
- expect(wrapper.props().obj).to.equal(obj)
+ expect(wrapper.props().obj).toEqual(obj)
})
describe('invalid arguments', () => {
diff --git a/test/specs/wrapper/setSelected.spec.js b/test/specs/wrapper/setSelected.spec.js
index f1b949f1e..e27f2962f 100644
--- a/test/specs/wrapper/setSelected.spec.js
+++ b/test/specs/wrapper/setSelected.spec.js
@@ -8,7 +8,7 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
await options.at(1).setSelected()
- expect(options.at(1).element.selected).to.equal(true)
+ expect(options.at(1).element.selected).toEqual(true)
})
it('updates dom with select v-model', async () => {
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index 1a671faa1..5c189d43f 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -18,7 +18,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const input = wrapper.find('input[type="text"]')
input.setValue('foo')
- expect(input.element.value).to.equal('foo')
+ expect(input.element.value).toEqual('foo')
})
it('sets element of textarea value', () => {
@@ -26,7 +26,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const textarea = wrapper.find('textarea')
textarea.setValue('foo')
- expect(textarea.element.value).to.equal('foo')
+ expect(textarea.element.value).toEqual('foo')
})
it('updates dom with input v-model', async () => {
@@ -54,7 +54,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const select = wrapper.find('select')
select.setValue('selectB')
- expect(select.element.value).to.equal('selectB')
+ expect(select.element.value).toEqual('selectB')
})
it('updates dom with select v-model', async () => {
diff --git a/test/specs/wrapper/text.spec.js b/test/specs/wrapper/text.spec.js
index 2137b76a7..c423b475b 100644
--- a/test/specs/wrapper/text.spec.js
+++ b/test/specs/wrapper/text.spec.js
@@ -7,7 +7,7 @@ describeWithShallowAndMount('text', mountingMethod => {
const compiled = compileToFunctions(`${text}
`)
const wrapper = mountingMethod(compiled)
- expect(wrapper.text()).to.equal(text)
+ expect(wrapper.text()).toEqual(text)
})
it('returns trimmed text content of wrapper node', () => {
@@ -18,6 +18,6 @@ describeWithShallowAndMount('text', mountingMethod => {
`)
const wrapper = mountingMethod(compiled)
- expect(wrapper.text()).to.equal(text)
+ expect(wrapper.text()).toEqual(text)
})
})
diff --git a/test/specs/wrapper/trigger.spec.js b/test/specs/wrapper/trigger.spec.js
index 2bb3708a6..080ed1dd2 100644
--- a/test/specs/wrapper/trigger.spec.js
+++ b/test/specs/wrapper/trigger.spec.js
@@ -37,7 +37,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
const button = wrapper.find('.click')
button.trigger('click')
- expect(clickHandler.calledOnce).to.equal(true)
+ expect(clickHandler.calledOnce).toEqual(true)
})
it('causes keydown handler to fire when wrapper.trigger("keydown") is fired on a Component', () => {
@@ -47,7 +47,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
wrapper.find('.keydown').trigger('keydown')
- expect(keydownHandler.calledOnce).to.equal(true)
+ expect(keydownHandler.calledOnce).toEqual(true)
})
describe('causes keydown handler to fire with the appropriate keyCode when wrapper.trigger("keydown", { keyCode: 65 }) is fired on a Component', () => {
@@ -62,11 +62,11 @@ describeWithShallowAndMount('trigger', mountingMethod => {
// Unfortunately, JSDom will give different types than PhantomJS for keyCodes (string vs number), so we have to use parseInt to normalize the types.
it('contains the keyCode', () => {
- expect(parseInt(keyboardEvent.keyCode, 10)).to.equal(65)
+ expect(parseInt(keyboardEvent.keyCode, 10)).toEqual(65)
})
itDoNotRunIf(isRunningPhantomJS, 'contains the code', () => {
- expect(parseInt(keyboardEvent.code, 10)).to.equal(65)
+ expect(parseInt(keyboardEvent.code, 10)).toEqual(65)
})
})
@@ -77,7 +77,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
wrapper.find('.keydown-enter').trigger('keydown.enter')
- expect(keydownHandler.calledOnce).to.equal(true)
+ expect(keydownHandler.calledOnce).toEqual(true)
})
it('convert a registered key name to a key code', () => {
@@ -105,7 +105,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
for (const keyName in modifiers) {
const keyCode = modifiers[keyName]
wrapper.find('.keydown').trigger(`keyup.${keyName}`)
- expect(keyupHandler.lastCall.args[0].keyCode).to.equal(keyCode)
+ expect(keyupHandler.lastCall.args[0].keyCode).toEqual(keyCode)
}
})
@@ -134,7 +134,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
button.trigger('mousedown', {
button: 0
})
- expect(clickHandler.calledOnce).to.equal(true)
+ expect(clickHandler.calledOnce).toEqual(true)
})
it('adds custom data to events', () => {
@@ -169,7 +169,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
}
})
buttonWrapper.trigger('click')
- expect(clickHandler.called).to.equal(false)
+ expect(clickHandler.called).toEqual(false)
const changeHandler = sandbox.stub()
const InputComponent = {
@@ -182,7 +182,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
}
})
inputWrapper.trigger('change')
- expect(changeHandler.called).to.equal(false)
+ expect(changeHandler.called).toEqual(false)
})
it('fires on invalid disabled elements', () => {
@@ -197,7 +197,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
}
})
linkWrapper.trigger('click')
- expect(clickHandler.called).to.equal(true)
+ expect(clickHandler.called).toEqual(true)
})
it('handles .prevent', () => {
diff --git a/yarn.lock b/yarn.lock
index 18a5a5980..cfb499341 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -21,6 +21,29 @@
dependencies:
"@babel/highlight" "^7.0.0"
+"@babel/code-frame@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.1.tgz#d5481c5095daa1c57e16e54c6f9198443afb49ff"
+ integrity sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw==
+ dependencies:
+ "@babel/highlight" "^7.10.1"
+
+"@babel/code-frame@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.3.tgz#324bcfd8d35cd3d47dae18cde63d752086435e9a"
+ integrity sha512-fDx9eNW0qz0WkUeqL6tXEXzVlPh6Y5aCDEZesl0xBGA8ndRukX91Uk44ZqnkECp01NAZUdCAl+aiQNGi0k88Eg==
+ dependencies:
+ "@babel/highlight" "^7.10.3"
+
+"@babel/compat-data@^7.10.1", "@babel/compat-data@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.10.3.tgz#9af3e033f36e8e2d6e47570db91e64a846f5d382"
+ integrity sha512-BDIfJ9uNZuI0LajPfoYV28lX8kyCPMHY6uY4WH1lJdcicmAfxCK5ASzaeV0D/wsUaRH/cLk+amuxtC37sZ8TUg==
+ dependencies:
+ browserslist "^4.12.0"
+ invariant "^2.2.4"
+ semver "^5.5.0"
+
"@babel/core@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.0.0-beta.47.tgz#b9c164fb9a1e1083f067c236a9da1d7a7d759271"
@@ -41,6 +64,50 @@
semver "^5.4.1"
source-map "^0.5.0"
+"@babel/core@^7.1.0", "@babel/core@^7.7.5":
+ version "7.10.2"
+ resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.10.2.tgz#bd6786046668a925ac2bd2fd95b579b92a23b36a"
+ integrity sha512-KQmV9yguEjQsXqyOUGKjS4+3K8/DlOCE2pZcq4augdQmtTy5iv5EHtmMSJ7V4c1BIPjuwtZYqYLCq9Ga+hGBRQ==
+ dependencies:
+ "@babel/code-frame" "^7.10.1"
+ "@babel/generator" "^7.10.2"
+ "@babel/helper-module-transforms" "^7.10.1"
+ "@babel/helpers" "^7.10.1"
+ "@babel/parser" "^7.10.2"
+ "@babel/template" "^7.10.1"
+ "@babel/traverse" "^7.10.1"
+ "@babel/types" "^7.10.2"
+ convert-source-map "^1.7.0"
+ debug "^4.1.0"
+ gensync "^1.0.0-beta.1"
+ json5 "^2.1.2"
+ lodash "^4.17.13"
+ resolve "^1.3.2"
+ semver "^5.4.1"
+ source-map "^0.5.0"
+
+"@babel/core@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.10.3.tgz#73b0e8ddeec1e3fdd7a2de587a60e17c440ec77e"
+ integrity sha512-5YqWxYE3pyhIi84L84YcwjeEgS+fa7ZjK6IBVGTjDVfm64njkR2lfDhVR5OudLk8x2GK59YoSyVv+L/03k1q9w==
+ dependencies:
+ "@babel/code-frame" "^7.10.3"
+ "@babel/generator" "^7.10.3"
+ "@babel/helper-module-transforms" "^7.10.1"
+ "@babel/helpers" "^7.10.1"
+ "@babel/parser" "^7.10.3"
+ "@babel/template" "^7.10.3"
+ "@babel/traverse" "^7.10.3"
+ "@babel/types" "^7.10.3"
+ convert-source-map "^1.7.0"
+ debug "^4.1.0"
+ gensync "^1.0.0-beta.1"
+ json5 "^2.1.2"
+ lodash "^4.17.13"
+ resolve "^1.3.2"
+ semver "^5.4.1"
+ source-map "^0.5.0"
+
"@babel/generator@7.0.0-beta.40":
version "7.0.0-beta.40"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.0.0-beta.40.tgz#ab61f9556f4f71dbd1138949c795bb9a21e302ea"
@@ -61,12 +128,39 @@
source-map "^0.5.0"
trim-right "^1.0.1"
+"@babel/generator@^7.10.1", "@babel/generator@^7.10.2":
+ version "7.10.2"
+ resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.10.2.tgz#0fa5b5b2389db8bfdfcc3492b551ee20f5dd69a9"
+ integrity sha512-AxfBNHNu99DTMvlUPlt1h2+Hn7knPpH5ayJ8OqDWSeLld+Fi2AYBTC/IejWDM9Edcii4UzZRCsbUt0WlSDsDsA==
+ dependencies:
+ "@babel/types" "^7.10.2"
+ jsesc "^2.5.1"
+ lodash "^4.17.13"
+ source-map "^0.5.0"
+
+"@babel/generator@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.10.3.tgz#32b9a0d963a71d7a54f5f6c15659c3dbc2a523a5"
+ integrity sha512-drt8MUHbEqRzNR0xnF8nMehbY11b1SDkRw03PSNH/3Rb2Z35oxkddVSi3rcaak0YJQ86PCuE7Qx1jSFhbLNBMA==
+ dependencies:
+ "@babel/types" "^7.10.3"
+ jsesc "^2.5.1"
+ lodash "^4.17.13"
+ source-map "^0.5.0"
+
"@babel/helper-annotate-as-pure@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0-beta.47.tgz#354fb596055d9db369211bf075f0d5e93904d6f6"
dependencies:
"@babel/types" "7.0.0-beta.47"
+"@babel/helper-annotate-as-pure@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.1.tgz#f6d08acc6f70bbd59b436262553fb2e259a1a268"
+ integrity sha512-ewp3rvJEwLaHgyWGe4wQssC2vjks3E80WiUe2BpMb0KhreTjMROCbxXcEovTrbeGVdQct5VjQfrv9EgC+xMzCw==
+ dependencies:
+ "@babel/types" "^7.10.1"
+
"@babel/helper-builder-binary-assignment-operator-visitor@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.0.0-beta.47.tgz#d5917c29ee3d68abc2c72f604bc043f6e056e907"
@@ -74,6 +168,14 @@
"@babel/helper-explode-assignable-expression" "7.0.0-beta.47"
"@babel/types" "7.0.0-beta.47"
+"@babel/helper-builder-binary-assignment-operator-visitor@^7.10.1":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.10.3.tgz#4e9012d6701bef0030348d7f9c808209bd3e8687"
+ integrity sha512-lo4XXRnBlU6eRM92FkiZxpo1xFLmv3VsPFk61zJKMm7XYJfwqXHsYJTY6agoc4a3L8QPw1HqWehO18coZgbT6A==
+ dependencies:
+ "@babel/helper-explode-assignable-expression" "^7.10.3"
+ "@babel/types" "^7.10.3"
+
"@babel/helper-call-delegate@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-call-delegate/-/helper-call-delegate-7.0.0-beta.47.tgz#96b7804397075f722a4030d3876f51ec19d8829b"
@@ -82,6 +184,38 @@
"@babel/traverse" "7.0.0-beta.47"
"@babel/types" "7.0.0-beta.47"
+"@babel/helper-compilation-targets@^7.10.2":
+ version "7.10.2"
+ resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.10.2.tgz#a17d9723b6e2c750299d2a14d4637c76936d8285"
+ integrity sha512-hYgOhF4To2UTB4LTaZepN/4Pl9LD4gfbJx8A34mqoluT8TLbof1mhUlYuNWTEebONa8+UlCC4X0TEXu7AOUyGA==
+ dependencies:
+ "@babel/compat-data" "^7.10.1"
+ browserslist "^4.12.0"
+ invariant "^2.2.4"
+ levenary "^1.1.1"
+ semver "^5.5.0"
+
+"@babel/helper-create-class-features-plugin@^7.10.1":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.10.3.tgz#2783daa6866822e3d5ed119163b50f0fc3ae4b35"
+ integrity sha512-iRT9VwqtdFmv7UheJWthGc/h2s7MqoweBF9RUj77NFZsg9VfISvBTum3k6coAhJ8RWv2tj3yUjA03HxPd0vfpQ==
+ dependencies:
+ "@babel/helper-function-name" "^7.10.3"
+ "@babel/helper-member-expression-to-functions" "^7.10.3"
+ "@babel/helper-optimise-call-expression" "^7.10.3"
+ "@babel/helper-plugin-utils" "^7.10.3"
+ "@babel/helper-replace-supers" "^7.10.1"
+ "@babel/helper-split-export-declaration" "^7.10.1"
+
+"@babel/helper-create-regexp-features-plugin@^7.10.1", "@babel/helper-create-regexp-features-plugin@^7.8.3":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.10.1.tgz#1b8feeab1594cbcfbf3ab5a3bbcabac0468efdbd"
+ integrity sha512-Rx4rHS0pVuJn5pJOqaqcZR4XSgeF9G/pO/79t+4r7380tXFJdzImFnxMU19f83wjSrmKHq6myrM10pFHTGzkUA==
+ dependencies:
+ "@babel/helper-annotate-as-pure" "^7.10.1"
+ "@babel/helper-regex" "^7.10.1"
+ regexpu-core "^4.7.0"
+
"@babel/helper-define-map@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.0.0-beta.47.tgz#43a9def87c5166dc29630d51b3da9cc4320c131c"
@@ -90,6 +224,15 @@
"@babel/types" "7.0.0-beta.47"
lodash "^4.17.5"
+"@babel/helper-define-map@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.10.3.tgz#d27120a5e57c84727b30944549b2dfeca62401a8"
+ integrity sha512-bxRzDi4Sin/k0drWCczppOhov1sBSdBvXJObM1NLHQzjhXhwRtn7aRWGvLJWCYbuu2qUk3EKs6Ci9C9ps8XokQ==
+ dependencies:
+ "@babel/helper-function-name" "^7.10.3"
+ "@babel/types" "^7.10.3"
+ lodash "^4.17.13"
+
"@babel/helper-explode-assignable-expression@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.0.0-beta.47.tgz#56b688e282a698f4d1cf135453a11ae8af870a19"
@@ -97,6 +240,14 @@
"@babel/traverse" "7.0.0-beta.47"
"@babel/types" "7.0.0-beta.47"
+"@babel/helper-explode-assignable-expression@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.10.3.tgz#9dc14f0cfa2833ea830a9c8a1c742b6e7461b05e"
+ integrity sha512-0nKcR64XrOC3lsl+uhD15cwxPvaB6QKUDlD84OT9C3myRbhJqTMYir69/RWItUvHpharv0eJ/wk7fl34ONSwZw==
+ dependencies:
+ "@babel/traverse" "^7.10.3"
+ "@babel/types" "^7.10.3"
+
"@babel/helper-function-name@7.0.0-beta.40":
version "7.0.0-beta.40"
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.40.tgz#9d033341ab16517f40d43a73f2d81fc431ccd7b6"
@@ -113,6 +264,24 @@
"@babel/template" "7.0.0-beta.47"
"@babel/types" "7.0.0-beta.47"
+"@babel/helper-function-name@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.10.1.tgz#92bd63829bfc9215aca9d9defa85f56b539454f4"
+ integrity sha512-fcpumwhs3YyZ/ttd5Rz0xn0TpIwVkN7X0V38B9TWNfVF42KEkhkAAuPCQ3oXmtTRtiPJrmZ0TrfS0GKF0eMaRQ==
+ dependencies:
+ "@babel/helper-get-function-arity" "^7.10.1"
+ "@babel/template" "^7.10.1"
+ "@babel/types" "^7.10.1"
+
+"@babel/helper-function-name@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.10.3.tgz#79316cd75a9fa25ba9787ff54544307ed444f197"
+ integrity sha512-FvSj2aiOd8zbeqijjgqdMDSyxsGHaMt5Tr0XjQsGKHD3/1FP3wksjnLAWzxw7lvXiej8W1Jt47SKTZ6upQNiRw==
+ dependencies:
+ "@babel/helper-get-function-arity" "^7.10.3"
+ "@babel/template" "^7.10.3"
+ "@babel/types" "^7.10.3"
+
"@babel/helper-get-function-arity@7.0.0-beta.40":
version "7.0.0-beta.40"
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.40.tgz#ac0419cf067b0ec16453e1274f03878195791c6e"
@@ -125,18 +294,53 @@
dependencies:
"@babel/types" "7.0.0-beta.47"
+"@babel/helper-get-function-arity@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.1.tgz#7303390a81ba7cb59613895a192b93850e373f7d"
+ integrity sha512-F5qdXkYGOQUb0hpRaPoetF9AnsXknKjWMZ+wmsIRsp5ge5sFh4c3h1eH2pRTTuy9KKAA2+TTYomGXAtEL2fQEw==
+ dependencies:
+ "@babel/types" "^7.10.1"
+
+"@babel/helper-get-function-arity@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.3.tgz#3a28f7b28ccc7719eacd9223b659fdf162e4c45e"
+ integrity sha512-iUD/gFsR+M6uiy69JA6fzM5seno8oE85IYZdbVVEuQaZlEzMO2MXblh+KSPJgsZAUx0EEbWXU0yJaW7C9CdAVg==
+ dependencies:
+ "@babel/types" "^7.10.3"
+
"@babel/helper-hoist-variables@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0-beta.47.tgz#ce295d1d723fe22b2820eaec748ed701aa5ae3d0"
dependencies:
"@babel/types" "7.0.0-beta.47"
+"@babel/helper-hoist-variables@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.10.3.tgz#d554f52baf1657ffbd7e5137311abc993bb3f068"
+ integrity sha512-9JyafKoBt5h20Yv1+BXQMdcXXavozI1vt401KBiRc2qzUepbVnd7ogVNymY1xkQN9fekGwfxtotH2Yf5xsGzgg==
+ dependencies:
+ "@babel/types" "^7.10.3"
+
"@babel/helper-member-expression-to-functions@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.0.0-beta.47.tgz#35bfcf1d16dce481ef3dec66d5a1ae6a7d80bb45"
dependencies:
"@babel/types" "7.0.0-beta.47"
+"@babel/helper-member-expression-to-functions@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.10.1.tgz#432967fd7e12a4afef66c4687d4ca22bc0456f15"
+ integrity sha512-u7XLXeM2n50gb6PWJ9hoO5oO7JFPaZtrh35t8RqKLT1jFKj9IWeD1zrcrYp1q1qiZTdEarfDWfTIP8nGsu0h5g==
+ dependencies:
+ "@babel/types" "^7.10.1"
+
+"@babel/helper-member-expression-to-functions@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.10.3.tgz#bc3663ac81ac57c39148fef4c69bf48a77ba8dd6"
+ integrity sha512-q7+37c4EPLSjNb2NmWOjNwj0+BOyYlssuQ58kHEWk1Z78K5i8vTUsteq78HMieRPQSl/NtpQyJfdjt3qZ5V2vw==
+ dependencies:
+ "@babel/types" "^7.10.3"
+
"@babel/helper-module-imports@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.47.tgz#5af072029ffcfbece6ffbaf5d9984c75580f3f04"
@@ -144,6 +348,20 @@
"@babel/types" "7.0.0-beta.47"
lodash "^4.17.5"
+"@babel/helper-module-imports@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.10.1.tgz#dd331bd45bccc566ce77004e9d05fe17add13876"
+ integrity sha512-SFxgwYmZ3HZPyZwJRiVNLRHWuW2OgE5k2nrVs6D9Iv4PPnXVffuEHy83Sfx/l4SqF+5kyJXjAyUmrG7tNm+qVg==
+ dependencies:
+ "@babel/types" "^7.10.1"
+
+"@babel/helper-module-imports@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.10.3.tgz#766fa1d57608e53e5676f23ae498ec7a95e1b11a"
+ integrity sha512-Jtqw5M9pahLSUWA+76nhK9OG8nwYXzhQzVIGFoNaHnXF/r4l7kz4Fl0UAW7B6mqC5myoJiBP5/YQlXQTMfHI9w==
+ dependencies:
+ "@babel/types" "^7.10.3"
+
"@babel/helper-module-transforms@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.0.0-beta.47.tgz#7eff91fc96873bd7b8d816698f1a69bbc01f3c38"
@@ -155,22 +373,66 @@
"@babel/types" "7.0.0-beta.47"
lodash "^4.17.5"
+"@babel/helper-module-transforms@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.10.1.tgz#24e2f08ee6832c60b157bb0936c86bef7210c622"
+ integrity sha512-RLHRCAzyJe7Q7sF4oy2cB+kRnU4wDZY/H2xJFGof+M+SJEGhZsb+GFj5j1AD8NiSaVBJ+Pf0/WObiXu/zxWpFg==
+ dependencies:
+ "@babel/helper-module-imports" "^7.10.1"
+ "@babel/helper-replace-supers" "^7.10.1"
+ "@babel/helper-simple-access" "^7.10.1"
+ "@babel/helper-split-export-declaration" "^7.10.1"
+ "@babel/template" "^7.10.1"
+ "@babel/types" "^7.10.1"
+ lodash "^4.17.13"
+
"@babel/helper-optimise-call-expression@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0-beta.47.tgz#085d864d0613c5813c1b7c71b61bea36f195929e"
dependencies:
"@babel/types" "7.0.0-beta.47"
+"@babel/helper-optimise-call-expression@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.1.tgz#b4a1f2561870ce1247ceddb02a3860fa96d72543"
+ integrity sha512-a0DjNS1prnBsoKx83dP2falChcs7p3i8VMzdrSbfLhuQra/2ENC4sbri34dz/rWmDADsmF1q5GbfaXydh0Jbjg==
+ dependencies:
+ "@babel/types" "^7.10.1"
+
+"@babel/helper-optimise-call-expression@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.3.tgz#f53c4b6783093195b0f69330439908841660c530"
+ integrity sha512-kT2R3VBH/cnSz+yChKpaKRJQJWxdGoc6SjioRId2wkeV3bK0wLLioFpJROrX0U4xr/NmxSSAWT/9Ih5snwIIzg==
+ dependencies:
+ "@babel/types" "^7.10.3"
+
"@babel/helper-plugin-utils@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-beta.47.tgz#4f564117ec39f96cf60fafcde35c9ddce0e008fd"
+"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.1", "@babel/helper-plugin-utils@^7.8.0":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.1.tgz#ec5a5cf0eec925b66c60580328b122c01230a127"
+ integrity sha512-fvoGeXt0bJc7VMWZGCAEBEMo/HAjW2mP8apF5eXK0wSqwLAVHAISCWRoLMBMUs2kqeaG77jltVqu4Hn8Egl3nA==
+
+"@babel/helper-plugin-utils@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.3.tgz#aac45cccf8bc1873b99a85f34bceef3beb5d3244"
+ integrity sha512-j/+j8NAWUTxOtx4LKHybpSClxHoq6I91DQ/mKgAXn5oNUPIUiGppjPIX3TDtJWPrdfP9Kfl7e4fgVMiQR9VE/g==
+
"@babel/helper-regex@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.0.0-beta.47.tgz#b8e3b53132c4edbb04804242c02ffe4d60316971"
dependencies:
lodash "^4.17.5"
+"@babel/helper-regex@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.10.1.tgz#021cf1a7ba99822f993222a001cc3fec83255b96"
+ integrity sha512-7isHr19RsIJWWLLFn21ubFt223PjQyg1HY7CZEMRr820HttHPpVvrsIN3bUOo44DEfFV4kBXO7Abbn9KTUZV7g==
+ dependencies:
+ lodash "^4.17.13"
+
"@babel/helper-remap-async-to-generator@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.0.0-beta.47.tgz#444dc362f61470bd61a745ebb364431d9ca186c2"
@@ -181,6 +443,17 @@
"@babel/traverse" "7.0.0-beta.47"
"@babel/types" "7.0.0-beta.47"
+"@babel/helper-remap-async-to-generator@^7.10.1", "@babel/helper-remap-async-to-generator@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.10.3.tgz#18564f8a6748be466970195b876e8bba3bccf442"
+ integrity sha512-sLB7666ARbJUGDO60ZormmhQOyqMX/shKBXZ7fy937s+3ID8gSrneMvKSSb+8xIM5V7Vn6uNVtOY1vIm26XLtA==
+ dependencies:
+ "@babel/helper-annotate-as-pure" "^7.10.1"
+ "@babel/helper-wrap-function" "^7.10.1"
+ "@babel/template" "^7.10.3"
+ "@babel/traverse" "^7.10.3"
+ "@babel/types" "^7.10.3"
+
"@babel/helper-replace-supers@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.0.0-beta.47.tgz#310b206a302868a792b659455ceba27db686cbb7"
@@ -190,6 +463,16 @@
"@babel/traverse" "7.0.0-beta.47"
"@babel/types" "7.0.0-beta.47"
+"@babel/helper-replace-supers@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.10.1.tgz#ec6859d20c5d8087f6a2dc4e014db7228975f13d"
+ integrity sha512-SOwJzEfpuQwInzzQJGjGaiG578UYmyi2Xw668klPWV5n07B73S0a9btjLk/52Mlcxa+5AdIYqws1KyXRfMoB7A==
+ dependencies:
+ "@babel/helper-member-expression-to-functions" "^7.10.1"
+ "@babel/helper-optimise-call-expression" "^7.10.1"
+ "@babel/traverse" "^7.10.1"
+ "@babel/types" "^7.10.1"
+
"@babel/helper-simple-access@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.0.0-beta.47.tgz#234d754acbda9251a10db697ef50181eab125042"
@@ -198,12 +481,37 @@
"@babel/types" "7.0.0-beta.47"
lodash "^4.17.5"
+"@babel/helper-simple-access@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.10.1.tgz#08fb7e22ace9eb8326f7e3920a1c2052f13d851e"
+ integrity sha512-VSWpWzRzn9VtgMJBIWTZ+GP107kZdQ4YplJlCmIrjoLVSi/0upixezHCDG8kpPVTBJpKfxTH01wDhh+jS2zKbw==
+ dependencies:
+ "@babel/template" "^7.10.1"
+ "@babel/types" "^7.10.1"
+
"@babel/helper-split-export-declaration@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.47.tgz#e11277855472d8d83baf22f2d0186c4a2059b09a"
dependencies:
"@babel/types" "7.0.0-beta.47"
+"@babel/helper-split-export-declaration@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.1.tgz#c6f4be1cbc15e3a868e4c64a17d5d31d754da35f"
+ integrity sha512-UQ1LVBPrYdbchNhLwj6fetj46BcFwfS4NllJo/1aJsT+1dLTEnXJL0qHqtY7gPzF8S2fXBJamf1biAXV3X077g==
+ dependencies:
+ "@babel/types" "^7.10.1"
+
+"@babel/helper-validator-identifier@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz#5770b0c1a826c4f53f5ede5e153163e0318e94b5"
+ integrity sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw==
+
+"@babel/helper-validator-identifier@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.3.tgz#60d9847f98c4cea1b279e005fdb7c28be5412d15"
+ integrity sha512-bU8JvtlYpJSBPuj1VUmKpFGaDZuLxASky3LhaKj3bmpSTY6VWooSM8msk+Z0CZoErFye2tlABF6yDkT3FOPAXw==
+
"@babel/helper-wrap-function@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.0.0-beta.47.tgz#6528b44a3ccb4f3aeeb79add0a88192f7eb81161"
@@ -213,6 +521,16 @@
"@babel/traverse" "7.0.0-beta.47"
"@babel/types" "7.0.0-beta.47"
+"@babel/helper-wrap-function@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.10.1.tgz#956d1310d6696257a7afd47e4c42dfda5dfcedc9"
+ integrity sha512-C0MzRGteVDn+H32/ZgbAv5r56f2o1fZSA/rj/TYo8JEJNHg+9BdSmKBUND0shxWRztWhjlT2cvHYuynpPsVJwQ==
+ dependencies:
+ "@babel/helper-function-name" "^7.10.1"
+ "@babel/template" "^7.10.1"
+ "@babel/traverse" "^7.10.1"
+ "@babel/types" "^7.10.1"
+
"@babel/helpers@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.0.0-beta.47.tgz#f9b42ed2e4d5f75ec0fb2e792c173e451e8d40fd"
@@ -221,6 +539,15 @@
"@babel/traverse" "7.0.0-beta.47"
"@babel/types" "7.0.0-beta.47"
+"@babel/helpers@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.10.1.tgz#a6827b7cb975c9d9cef5fd61d919f60d8844a973"
+ integrity sha512-muQNHF+IdU6wGgkaJyhhEmI54MOZBKsFfsXFhboz1ybwJ1Kl7IHlbm2a++4jwrmY5UYsgitt5lfqo1wMFcHmyw==
+ dependencies:
+ "@babel/template" "^7.10.1"
+ "@babel/traverse" "^7.10.1"
+ "@babel/types" "^7.10.1"
+
"@babel/highlight@7.0.0-beta.40":
version "7.0.0-beta.40"
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0-beta.40.tgz#b43d67d76bf46e1d10d227f68cddcd263786b255"
@@ -246,6 +573,34 @@
esutils "^2.0.2"
js-tokens "^4.0.0"
+"@babel/highlight@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.1.tgz#841d098ba613ba1a427a2b383d79e35552c38ae0"
+ integrity sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg==
+ dependencies:
+ "@babel/helper-validator-identifier" "^7.10.1"
+ chalk "^2.0.0"
+ js-tokens "^4.0.0"
+
+"@babel/highlight@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.3.tgz#c633bb34adf07c5c13156692f5922c81ec53f28d"
+ integrity sha512-Ih9B/u7AtgEnySE2L2F0Xm0GaM729XqqLfHkalTsbjXGyqmf/6M0Cu0WpvqueUlW+xk88BHw9Nkpj49naU+vWw==
+ dependencies:
+ "@babel/helper-validator-identifier" "^7.10.3"
+ chalk "^2.0.0"
+ js-tokens "^4.0.0"
+
+"@babel/parser@^7.1.0", "@babel/parser@^7.10.1", "@babel/parser@^7.10.2":
+ version "7.10.2"
+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.10.2.tgz#871807f10442b92ff97e4783b9b54f6a0ca812d0"
+ integrity sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ==
+
+"@babel/parser@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.10.3.tgz#7e71d892b0d6e7d04a1af4c3c79d72c1f10f5315"
+ integrity sha512-oJtNJCMFdIMwXGmx+KxuaD7i3b8uS7TTFYW/FNG2BT8m+fmGHoiPYoH0Pe3gya07WuFmM5FCDIr1x0irkD/hyA==
+
"@babel/plugin-proposal-async-generator-functions@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.0.0-beta.47.tgz#571142284708c5ad4ec904d9aa705461a010be53"
@@ -254,6 +609,15 @@
"@babel/helper-remap-async-to-generator" "7.0.0-beta.47"
"@babel/plugin-syntax-async-generators" "7.0.0-beta.47"
+"@babel/plugin-proposal-async-generator-functions@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.10.3.tgz#5a02453d46e5362e2073c7278beab2e53ad7d939"
+ integrity sha512-WUUWM7YTOudF4jZBAJIW9D7aViYC/Fn0Pln4RIHlQALyno3sXSjqmTA4Zy1TKC2D49RCR8Y/Pn4OIUtEypK3CA==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.3"
+ "@babel/helper-remap-async-to-generator" "^7.10.3"
+ "@babel/plugin-syntax-async-generators" "^7.8.0"
+
"@babel/plugin-proposal-class-properties@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.0.0-beta.47.tgz#08c1a1dfc92d0f5c37b39096c6fb883e1ca4b0f5"
@@ -263,6 +627,14 @@
"@babel/helper-replace-supers" "7.0.0-beta.47"
"@babel/plugin-syntax-class-properties" "7.0.0-beta.47"
+"@babel/plugin-proposal-class-properties@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.10.1.tgz#046bc7f6550bb08d9bd1d4f060f5f5a4f1087e01"
+ integrity sha512-sqdGWgoXlnOdgMXU+9MbhzwFRgxVLeiGBqTrnuS7LC2IBU31wSsESbTUreT2O418obpfPdGUR2GbEufZF1bpqw==
+ dependencies:
+ "@babel/helper-create-class-features-plugin" "^7.10.1"
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-proposal-decorators@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.0.0-beta.47.tgz#5e8943c8f8eb3301f911ef0dcd3ed64cf28c723e"
@@ -270,6 +642,14 @@
"@babel/helper-plugin-utils" "7.0.0-beta.47"
"@babel/plugin-syntax-decorators" "7.0.0-beta.47"
+"@babel/plugin-proposal-dynamic-import@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.10.1.tgz#e36979dc1dc3b73f6d6816fc4951da2363488ef0"
+ integrity sha512-Cpc2yUVHTEGPlmiQzXj026kqwjEQAD9I4ZC16uzdbgWgitg/UHKHLffKNCQZ5+y8jpIZPJcKcwsr2HwPh+w3XA==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+ "@babel/plugin-syntax-dynamic-import" "^7.8.0"
+
"@babel/plugin-proposal-export-namespace-from@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.0.0-beta.47.tgz#38171dd0fd5f54aee377d338ed41bb92e25d6720"
@@ -285,6 +665,22 @@
"@babel/helper-wrap-function" "7.0.0-beta.47"
"@babel/plugin-syntax-function-sent" "7.0.0-beta.47"
+"@babel/plugin-proposal-json-strings@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.10.1.tgz#b1e691ee24c651b5a5e32213222b2379734aff09"
+ integrity sha512-m8r5BmV+ZLpWPtMY2mOKN7wre6HIO4gfIiV+eOmsnZABNenrt/kzYBwrh+KOfgumSWpnlGs5F70J8afYMSJMBg==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+ "@babel/plugin-syntax-json-strings" "^7.8.0"
+
+"@babel/plugin-proposal-nullish-coalescing-operator@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.10.1.tgz#02dca21673842ff2fe763ac253777f235e9bbf78"
+ integrity sha512-56cI/uHYgL2C8HVuHOuvVowihhX0sxb3nnfVRzUeVHTWmRHTZrKuAh/OBIMggGU/S1g/1D2CRCXqP+3u7vX7iA==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+ "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0"
+
"@babel/plugin-proposal-numeric-separator@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.0.0-beta.47.tgz#3ace5cbacb62c3fa223c3c0b66c0c16e63a8e259"
@@ -292,6 +688,14 @@
"@babel/helper-plugin-utils" "7.0.0-beta.47"
"@babel/plugin-syntax-numeric-separator" "7.0.0-beta.47"
+"@babel/plugin-proposal-numeric-separator@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.10.1.tgz#a9a38bc34f78bdfd981e791c27c6fdcec478c123"
+ integrity sha512-jjfym4N9HtCiNfyyLAVD8WqPYeHUrw4ihxuAynWj6zzp2gf9Ey2f7ImhFm6ikB3CLf5Z/zmcJDri6B4+9j9RsA==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+ "@babel/plugin-syntax-numeric-separator" "^7.10.1"
+
"@babel/plugin-proposal-object-rest-spread@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0-beta.47.tgz#e1529fddc88e948868ee1d0edaa27ebd9502322d"
@@ -299,6 +703,15 @@
"@babel/helper-plugin-utils" "7.0.0-beta.47"
"@babel/plugin-syntax-object-rest-spread" "7.0.0-beta.47"
+"@babel/plugin-proposal-object-rest-spread@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.10.3.tgz#b8d0d22f70afa34ad84b7a200ff772f9b9fce474"
+ integrity sha512-ZZh5leCIlH9lni5bU/wB/UcjtcVLgR8gc+FAgW2OOY+m9h1II3ItTO1/cewNUcsIDZSYcSaz/rYVls+Fb0ExVQ==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.3"
+ "@babel/plugin-syntax-object-rest-spread" "^7.8.0"
+ "@babel/plugin-transform-parameters" "^7.10.1"
+
"@babel/plugin-proposal-optional-catch-binding@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.0.0-beta.47.tgz#8c6453919537517ea773bb8f3fceda4250795efa"
@@ -306,6 +719,30 @@
"@babel/helper-plugin-utils" "7.0.0-beta.47"
"@babel/plugin-syntax-optional-catch-binding" "7.0.0-beta.47"
+"@babel/plugin-proposal-optional-catch-binding@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.10.1.tgz#c9f86d99305f9fa531b568ff5ab8c964b8b223d2"
+ integrity sha512-VqExgeE62YBqI3ogkGoOJp1R6u12DFZjqwJhqtKc2o5m1YTUuUWnos7bZQFBhwkxIFpWYJ7uB75U7VAPPiKETA==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+ "@babel/plugin-syntax-optional-catch-binding" "^7.8.0"
+
+"@babel/plugin-proposal-optional-chaining@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.10.3.tgz#9a726f94622b653c0a3a7a59cdce94730f526f7c"
+ integrity sha512-yyG3n9dJ1vZ6v5sfmIlMMZ8azQoqx/5/nZTSWX1td6L1H1bsjzA8TInDChpafCZiJkeOFzp/PtrfigAQXxI1Ng==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.3"
+ "@babel/plugin-syntax-optional-chaining" "^7.8.0"
+
+"@babel/plugin-proposal-private-methods@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.10.1.tgz#ed85e8058ab0fe309c3f448e5e1b73ca89cdb598"
+ integrity sha512-RZecFFJjDiQ2z6maFprLgrdnm0OzoC23Mx89xf1CcEsxmHuzuXOdniEuI+S3v7vjQG4F5sa6YtUp+19sZuSxHg==
+ dependencies:
+ "@babel/helper-create-class-features-plugin" "^7.10.1"
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-proposal-throw-expressions@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-throw-expressions/-/plugin-proposal-throw-expressions-7.0.0-beta.47.tgz#9a67f8b0852b4b0b255eff5d6d25fa436928424f"
@@ -321,18 +758,47 @@
"@babel/helper-regex" "7.0.0-beta.47"
regexpu-core "^4.1.4"
+"@babel/plugin-proposal-unicode-property-regex@^7.10.1", "@babel/plugin-proposal-unicode-property-regex@^7.4.4":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.10.1.tgz#dc04feb25e2dd70c12b05d680190e138fa2c0c6f"
+ integrity sha512-JjfngYRvwmPwmnbRZyNiPFI8zxCZb8euzbCG/LxyKdeTb59tVciKo9GK9bi6JYKInk1H11Dq9j/zRqIH4KigfQ==
+ dependencies:
+ "@babel/helper-create-regexp-features-plugin" "^7.10.1"
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-syntax-async-generators@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.0.0-beta.47.tgz#8ab94852bf348badc866af85bd852221f0961256"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-syntax-async-generators@^7.8.0", "@babel/plugin-syntax-async-generators@^7.8.4":
+ version "7.8.4"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d"
+ integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.8.0"
+
+"@babel/plugin-syntax-bigint@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea"
+ integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.8.0"
+
"@babel/plugin-syntax-class-properties@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.0.0-beta.47.tgz#de52bed12fd472c848e1562f57dd4a202fe27f11"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-syntax-class-properties@^7.10.1", "@babel/plugin-syntax-class-properties@^7.8.3":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.10.1.tgz#d5bc0645913df5b17ad7eda0fa2308330bde34c5"
+ integrity sha512-Gf2Yx/iRs1JREDtVZ56OrjjgFHCaldpTnuy9BHla10qyVT3YkIIGEtoDWhyop0ksu1GvNjHIoYRBqm3zoR1jyQ==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-syntax-decorators@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.0.0-beta.47.tgz#a42f10fcd651940bc475d93b3ac23432b4a8a293"
@@ -345,6 +811,13 @@
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-syntax-dynamic-import@^7.8.0":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3"
+ integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.8.0"
+
"@babel/plugin-syntax-export-namespace-from@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.0.0-beta.47.tgz#fd446c76c59849f15e6cde235b5b8e153413f21e"
@@ -363,42 +836,112 @@
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-syntax-import-meta@^7.8.3":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.1.tgz#3e59120ed8b3c2ccc5abb1cfc7aaa3ea01cd36b6"
+ integrity sha512-ypC4jwfIVF72og0dgvEcFRdOM2V9Qm1tu7RGmdZOlhsccyK0wisXmMObGuWEOd5jQ+K9wcIgSNftCpk2vkjUfQ==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
+"@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a"
+ integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.8.0"
+
"@babel/plugin-syntax-jsx@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.0.0-beta.47.tgz#f3849d94288695d724bd205b4f6c3c99e4ec24a4"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-syntax-logical-assignment-operators@^7.8.3":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.1.tgz#fffee77b4934ce77f3b427649ecdddbec1958550"
+ integrity sha512-XyHIFa9kdrgJS91CUH+ccPVTnJShr8nLGc5bG2IhGXv5p1Rd+8BleGE5yzIg2Nc1QZAdHDa0Qp4m6066OL96Iw==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
+"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0", "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9"
+ integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.8.0"
+
"@babel/plugin-syntax-numeric-separator@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.0.0-beta.47.tgz#9f06cb770a94f464b3b2889d2110080bc302fc80"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-syntax-numeric-separator@^7.10.1", "@babel/plugin-syntax-numeric-separator@^7.8.3":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.1.tgz#25761ee7410bc8cf97327ba741ee94e4a61b7d99"
+ integrity sha512-uTd0OsHrpe3tH5gRPTxG8Voh99/WCU78vIm5NMRYPAqC8lR4vajt6KkCAknCHrx24vkPdd/05yfdGSB4EIY2mg==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-syntax-object-rest-spread@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.0.0-beta.47.tgz#21da514d94c138b2261ca09f0dec9abadce16185"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871"
+ integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.8.0"
+
"@babel/plugin-syntax-optional-catch-binding@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.0.0-beta.47.tgz#0b1c52b066aa36893c41450773a5adb904cd4024"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-syntax-optional-catch-binding@^7.8.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1"
+ integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.8.0"
+
+"@babel/plugin-syntax-optional-chaining@^7.8.0", "@babel/plugin-syntax-optional-chaining@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a"
+ integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.8.0"
+
"@babel/plugin-syntax-throw-expressions@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-throw-expressions/-/plugin-syntax-throw-expressions-7.0.0-beta.47.tgz#8ca197bab3534f443eecd7eb79da47e199dafaf7"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-syntax-top-level-await@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.10.1.tgz#8b8733f8c57397b3eaa47ddba8841586dcaef362"
+ integrity sha512-hgA5RYkmZm8FTFT3yu2N9Bx7yVVOKYT6yEdXXo6j2JTm0wNxgqaGeQVaSHRjhfnQbX91DtjFB6McRFSlcJH3xQ==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-arrow-functions@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.0.0-beta.47.tgz#d6eecda4c652b909e3088f0983ebaf8ec292984b"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-arrow-functions@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.10.1.tgz#cb5ee3a36f0863c06ead0b409b4cc43a889b295b"
+ integrity sha512-6AZHgFJKP3DJX0eCNJj01RpytUa3SOGawIxweHkNX2L6PYikOZmoh5B0d7hIHaIgveMjX990IAa/xK7jRTN8OA==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-async-to-generator@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.0.0-beta.47.tgz#5723816ea1e91fa313a84e6ee9cc12ff31d46610"
@@ -407,12 +950,28 @@
"@babel/helper-plugin-utils" "7.0.0-beta.47"
"@babel/helper-remap-async-to-generator" "7.0.0-beta.47"
+"@babel/plugin-transform-async-to-generator@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.10.1.tgz#e5153eb1a3e028f79194ed8a7a4bf55f862b2062"
+ integrity sha512-XCgYjJ8TY2slj6SReBUyamJn3k2JLUIiiR5b6t1mNCMSvv7yx+jJpaewakikp0uWFQSF7ChPPoe3dHmXLpISkg==
+ dependencies:
+ "@babel/helper-module-imports" "^7.10.1"
+ "@babel/helper-plugin-utils" "^7.10.1"
+ "@babel/helper-remap-async-to-generator" "^7.10.1"
+
"@babel/plugin-transform-block-scoped-functions@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.0.0-beta.47.tgz#e422278e06c797b43c45f459d83c7af9d6237002"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-block-scoped-functions@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.10.1.tgz#146856e756d54b20fff14b819456b3e01820b85d"
+ integrity sha512-B7K15Xp8lv0sOJrdVAoukKlxP9N59HS48V1J3U/JGj+Ad+MHq+am6xJVs85AgXrQn4LV8vaYFOB+pr/yIuzW8Q==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-block-scoping@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.0.0-beta.47.tgz#b737cc58a81bea57efd5bda0baef9a43a25859ad"
@@ -420,6 +979,14 @@
"@babel/helper-plugin-utils" "7.0.0-beta.47"
lodash "^4.17.5"
+"@babel/plugin-transform-block-scoping@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.10.1.tgz#47092d89ca345811451cd0dc5d91605982705d5e"
+ integrity sha512-8bpWG6TtF5akdhIm/uWTyjHqENpy13Fx8chg7pFH875aNLwX8JxIxqm08gmAT+Whe6AOmaTeLPe7dpLbXt+xUw==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+ lodash "^4.17.13"
+
"@babel/plugin-transform-classes@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.0.0-beta.47.tgz#7aff9cbe7b26fd94d7a9f97fa90135ef20c93fb6"
@@ -433,18 +1000,46 @@
"@babel/helper-split-export-declaration" "7.0.0-beta.47"
globals "^11.1.0"
+"@babel/plugin-transform-classes@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.10.3.tgz#8d9a656bc3d01f3ff69e1fccb354b0f9d72ac544"
+ integrity sha512-irEX0ChJLaZVC7FvvRoSIxJlmk0IczFLcwaRXUArBKYHCHbOhe57aG8q3uw/fJsoSXvZhjRX960hyeAGlVBXZw==
+ dependencies:
+ "@babel/helper-annotate-as-pure" "^7.10.1"
+ "@babel/helper-define-map" "^7.10.3"
+ "@babel/helper-function-name" "^7.10.3"
+ "@babel/helper-optimise-call-expression" "^7.10.3"
+ "@babel/helper-plugin-utils" "^7.10.3"
+ "@babel/helper-replace-supers" "^7.10.1"
+ "@babel/helper-split-export-declaration" "^7.10.1"
+ globals "^11.1.0"
+
"@babel/plugin-transform-computed-properties@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.0.0-beta.47.tgz#56ef2a021769a2b65e90a3e12fd10b791da9f3e0"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-computed-properties@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.10.3.tgz#d3aa6eef67cb967150f76faff20f0abbf553757b"
+ integrity sha512-GWzhaBOsdbjVFav96drOz7FzrcEW6AP5nax0gLIpstiFaI3LOb2tAg06TimaWU6YKOfUACK3FVrxPJ4GSc5TgA==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.3"
+
"@babel/plugin-transform-destructuring@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.0.0-beta.47.tgz#452b607775fd1c4d10621997837189efc0a6d428"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-destructuring@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.10.1.tgz#abd58e51337815ca3a22a336b85f62b998e71907"
+ integrity sha512-V/nUc4yGWG71OhaTH705pU8ZSdM6c1KmmLP8ys59oOYbT7RpMYAR3MsVOt6OHL0WzG7BlTU076va9fjJyYzJMA==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-dotall-regex@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.0.0-beta.47.tgz#d8da9b706d4bfc68dec9d565661f83e6e8036636"
@@ -453,12 +1048,27 @@
"@babel/helper-regex" "7.0.0-beta.47"
regexpu-core "^4.1.3"
+"@babel/plugin-transform-dotall-regex@^7.10.1", "@babel/plugin-transform-dotall-regex@^7.4.4":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.10.1.tgz#920b9fec2d78bb57ebb64a644d5c2ba67cc104ee"
+ integrity sha512-19VIMsD1dp02RvduFUmfzj8uknaO3uiHHF0s3E1OHnVsNj8oge8EQ5RzHRbJjGSetRnkEuBYO7TG1M5kKjGLOA==
+ dependencies:
+ "@babel/helper-create-regexp-features-plugin" "^7.10.1"
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-duplicate-keys@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.0.0-beta.47.tgz#4aabeda051ca3007e33a207db08f1a0cf9bd253b"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-duplicate-keys@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.10.1.tgz#c900a793beb096bc9d4d0a9d0cde19518ffc83b9"
+ integrity sha512-wIEpkX4QvX8Mo9W6XF3EdGttrIPZWozHfEaDTU0WJD/TDnXMvdDh30mzUl/9qWhnf7naicYartcEfUghTCSNpA==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-exponentiation-operator@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.0.0-beta.47.tgz#930e1abf5db9f4db5b63dbf97f3581ad0be1e907"
@@ -466,12 +1076,27 @@
"@babel/helper-builder-binary-assignment-operator-visitor" "7.0.0-beta.47"
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-exponentiation-operator@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.10.1.tgz#279c3116756a60dd6e6f5e488ba7957db9c59eb3"
+ integrity sha512-lr/przdAbpEA2BUzRvjXdEDLrArGRRPwbaF9rvayuHRvdQ7lUTTkZnhZrJ4LE2jvgMRFF4f0YuPQ20vhiPYxtA==
+ dependencies:
+ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.10.1"
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-for-of@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.0.0-beta.47.tgz#527d5dc24e4a4ad0fc1d0a3990d29968cb984e76"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-for-of@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.10.1.tgz#ff01119784eb0ee32258e8646157ba2501fcfda5"
+ integrity sha512-US8KCuxfQcn0LwSCMWMma8M2R5mAjJGsmoCBVwlMygvmDUMkTCykc84IqN1M7t+agSfOmLYTInLCHJM+RUoz+w==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-function-name@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.0.0-beta.47.tgz#fb443c81cc77f3206a863b730b35c8c553ce5041"
@@ -479,12 +1104,34 @@
"@babel/helper-function-name" "7.0.0-beta.47"
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-function-name@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.10.1.tgz#4ed46fd6e1d8fde2a2ec7b03c66d853d2c92427d"
+ integrity sha512-//bsKsKFBJfGd65qSNNh1exBy5Y9gD9ZN+DvrJ8f7HXr4avE5POW6zB7Rj6VnqHV33+0vXWUwJT0wSHubiAQkw==
+ dependencies:
+ "@babel/helper-function-name" "^7.10.1"
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-literals@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.0.0-beta.47.tgz#448fad196f062163684a38f10f14e83315892e9c"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-literals@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.10.1.tgz#5794f8da82846b22e4e6631ea1658bce708eb46a"
+ integrity sha512-qi0+5qgevz1NHLZroObRm5A+8JJtibb7vdcPQF1KQE12+Y/xxl8coJ+TpPW9iRq+Mhw/NKLjm+5SHtAHCC7lAw==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
+"@babel/plugin-transform-member-expression-literals@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.10.1.tgz#90347cba31bca6f394b3f7bd95d2bbfd9fce2f39"
+ integrity sha512-UmaWhDokOFT2GcgU6MkHC11i0NQcL63iqeufXWfRy6pUOGYeCGEKhvfFO6Vz70UfYJYHwveg62GS83Rvpxn+NA==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-modules-amd@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.0.0-beta.47.tgz#84564419b11c1be6b9fcd4c7b3a6737f2335aac4"
@@ -492,6 +1139,15 @@
"@babel/helper-module-transforms" "7.0.0-beta.47"
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-modules-amd@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.10.1.tgz#65950e8e05797ebd2fe532b96e19fc5482a1d52a"
+ integrity sha512-31+hnWSFRI4/ACFr1qkboBbrTxoBIzj7qA69qlq8HY8p7+YCzkCT6/TvQ1a4B0z27VeWtAeJd6pr5G04dc1iHw==
+ dependencies:
+ "@babel/helper-module-transforms" "^7.10.1"
+ "@babel/helper-plugin-utils" "^7.10.1"
+ babel-plugin-dynamic-import-node "^2.3.3"
+
"@babel/plugin-transform-modules-commonjs@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.0.0-beta.47.tgz#dfe5c6d867aa9614e55f7616736073edb3aab887"
@@ -500,6 +1156,16 @@
"@babel/helper-plugin-utils" "7.0.0-beta.47"
"@babel/helper-simple-access" "7.0.0-beta.47"
+"@babel/plugin-transform-modules-commonjs@^7.10.1", "@babel/plugin-transform-modules-commonjs@^7.2.0":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.10.1.tgz#d5ff4b4413ed97ffded99961056e1fb980fb9301"
+ integrity sha512-AQG4fc3KOah0vdITwt7Gi6hD9BtQP/8bhem7OjbaMoRNCH5Djx42O2vYMfau7QnAzQCa+RJnhJBmFFMGpQEzrg==
+ dependencies:
+ "@babel/helper-module-transforms" "^7.10.1"
+ "@babel/helper-plugin-utils" "^7.10.1"
+ "@babel/helper-simple-access" "^7.10.1"
+ babel-plugin-dynamic-import-node "^2.3.3"
+
"@babel/plugin-transform-modules-systemjs@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.0.0-beta.47.tgz#8514dbcdfca3345abd690059e7e8544e16ecbf05"
@@ -507,6 +1173,16 @@
"@babel/helper-hoist-variables" "7.0.0-beta.47"
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-modules-systemjs@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.10.3.tgz#004ae727b122b7b146b150d50cba5ffbff4ac56b"
+ integrity sha512-GWXWQMmE1GH4ALc7YXW56BTh/AlzvDWhUNn9ArFF0+Cz5G8esYlVbXfdyHa1xaD1j+GnBoCeoQNlwtZTVdiG/A==
+ dependencies:
+ "@babel/helper-hoist-variables" "^7.10.3"
+ "@babel/helper-module-transforms" "^7.10.1"
+ "@babel/helper-plugin-utils" "^7.10.3"
+ babel-plugin-dynamic-import-node "^2.3.3"
+
"@babel/plugin-transform-modules-umd@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.0.0-beta.47.tgz#6dcfb9661fdd131b20b721044746a7a309882918"
@@ -514,12 +1190,34 @@
"@babel/helper-module-transforms" "7.0.0-beta.47"
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-modules-umd@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.10.1.tgz#ea080911ffc6eb21840a5197a39ede4ee67b1595"
+ integrity sha512-EIuiRNMd6GB6ulcYlETnYYfgv4AxqrswghmBRQbWLHZxN4s7mupxzglnHqk9ZiUpDI4eRWewedJJNj67PWOXKA==
+ dependencies:
+ "@babel/helper-module-transforms" "^7.10.1"
+ "@babel/helper-plugin-utils" "^7.10.1"
+
+"@babel/plugin-transform-named-capturing-groups-regex@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.10.3.tgz#a4f8444d1c5a46f35834a410285f2c901c007ca6"
+ integrity sha512-I3EH+RMFyVi8Iy/LekQm948Z4Lz4yKT7rK+vuCAeRm0kTa6Z5W7xuhRxDNJv0FPya/her6AUgrDITb70YHtTvA==
+ dependencies:
+ "@babel/helper-create-regexp-features-plugin" "^7.8.3"
+
"@babel/plugin-transform-new-target@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0-beta.47.tgz#4b5cb7ce30d7bffa105a1f43ed07d6ae206a4155"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-new-target@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.10.1.tgz#6ee41a5e648da7632e22b6fb54012e87f612f324"
+ integrity sha512-MBlzPc1nJvbmO9rPr1fQwXOM2iGut+JC92ku6PbiJMMK7SnQc1rytgpopveE3Evn47gzvGYeCdgfCDbZo0ecUw==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-object-super@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.0.0-beta.47.tgz#ca8e5f326c5011c879f3a6ed749e58bd10fff05d"
@@ -527,6 +1225,14 @@
"@babel/helper-plugin-utils" "7.0.0-beta.47"
"@babel/helper-replace-supers" "7.0.0-beta.47"
+"@babel/plugin-transform-object-super@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.10.1.tgz#2e3016b0adbf262983bf0d5121d676a5ed9c4fde"
+ integrity sha512-WnnStUDN5GL+wGQrJylrnnVlFhFmeArINIR9gjhSeYyvroGhBrSAXYg/RHsnfzmsa+onJrTJrEClPzgNmmQ4Gw==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+ "@babel/helper-replace-supers" "^7.10.1"
+
"@babel/plugin-transform-parameters@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.0.0-beta.47.tgz#46a4236040a6552a5f165fb3ddd60368954b0ddd"
@@ -535,12 +1241,41 @@
"@babel/helper-get-function-arity" "7.0.0-beta.47"
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-parameters@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.10.1.tgz#b25938a3c5fae0354144a720b07b32766f683ddd"
+ integrity sha512-tJ1T0n6g4dXMsL45YsSzzSDZCxiHXAQp/qHrucOq5gEHncTA3xDxnd5+sZcoQp+N1ZbieAaB8r/VUCG0gqseOg==
+ dependencies:
+ "@babel/helper-get-function-arity" "^7.10.1"
+ "@babel/helper-plugin-utils" "^7.10.1"
+
+"@babel/plugin-transform-property-literals@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.10.1.tgz#cffc7315219230ed81dc53e4625bf86815b6050d"
+ integrity sha512-Kr6+mgag8auNrgEpbfIWzdXYOvqDHZOF0+Bx2xh4H2EDNwcbRb9lY6nkZg8oSjsX+DH9Ebxm9hOqtKW+gRDeNA==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-regenerator@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0-beta.47.tgz#86500e1c404055fb98fc82b73b09bd053cacb516"
dependencies:
regenerator-transform "^0.12.3"
+"@babel/plugin-transform-regenerator@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.10.3.tgz#6ec680f140a5ceefd291c221cb7131f6d7e8cb6d"
+ integrity sha512-H5kNeW0u8mbk0qa1jVIVTeJJL6/TJ81ltD4oyPx0P499DhMJrTmmIFCmJ3QloGpQG8K9symccB7S7SJpCKLwtw==
+ dependencies:
+ regenerator-transform "^0.14.2"
+
+"@babel/plugin-transform-reserved-words@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.10.1.tgz#0fc1027312b4d1c3276a57890c8ae3bcc0b64a86"
+ integrity sha512-qN1OMoE2nuqSPmpTqEM7OvJ1FkMEV+BjVeZZm9V9mq/x1JLKQ4pcv8riZJMNN3u2AUGl0ouOMjRr2siecvHqUQ==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-runtime@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.0.0-beta.47.tgz#1700938fa8710909cbf28f7dd39f9b40688b09fd"
@@ -554,12 +1289,26 @@
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-shorthand-properties@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.10.1.tgz#e8b54f238a1ccbae482c4dce946180ae7b3143f3"
+ integrity sha512-AR0E/lZMfLstScFwztApGeyTHJ5u3JUKMjneqRItWeEqDdHWZwAOKycvQNCasCK/3r5YXsuNG25funcJDu7Y2g==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-spread@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.0.0-beta.47.tgz#3feadb02292ed1e9b75090d651b9df88a7ab5c50"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-spread@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.10.1.tgz#0c6d618a0c4461a274418460a28c9ccf5239a7c8"
+ integrity sha512-8wTPym6edIrClW8FI2IoaePB91ETOtg36dOkj3bYcNe7aDMN2FXEoUa+WrmPc4xa1u2PQK46fUX2aCb+zo9rfw==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-sticky-regex@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.0.0-beta.47.tgz#c0aa347d76b5dc87d3b37ac016ada3f950605131"
@@ -567,6 +1316,14 @@
"@babel/helper-plugin-utils" "7.0.0-beta.47"
"@babel/helper-regex" "7.0.0-beta.47"
+"@babel/plugin-transform-sticky-regex@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.10.1.tgz#90fc89b7526228bed9842cff3588270a7a393b00"
+ integrity sha512-j17ojftKjrL7ufX8ajKvwRilwqTok4q+BjkknmQw9VNHnItTyMP5anPFzxFJdCQs7clLcWpCV3ma+6qZWLnGMA==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+ "@babel/helper-regex" "^7.10.1"
+
"@babel/plugin-transform-template-literals@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.0.0-beta.47.tgz#5f7b5badf64c4c5da79026aeab03001e62a6ee5f"
@@ -574,12 +1331,34 @@
"@babel/helper-annotate-as-pure" "7.0.0-beta.47"
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-template-literals@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.10.3.tgz#69d39b3d44b31e7b4864173322565894ce939b25"
+ integrity sha512-yaBn9OpxQra/bk0/CaA4wr41O0/Whkg6nqjqApcinxM7pro51ojhX6fv1pimAnVjVfDy14K0ULoRL70CA9jWWA==
+ dependencies:
+ "@babel/helper-annotate-as-pure" "^7.10.1"
+ "@babel/helper-plugin-utils" "^7.10.3"
+
"@babel/plugin-transform-typeof-symbol@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.0.0-beta.47.tgz#03c612ec09213eb386a81d5fa67c234ee4b2034c"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-transform-typeof-symbol@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.10.1.tgz#60c0239b69965d166b80a84de7315c1bc7e0bb0e"
+ integrity sha512-qX8KZcmbvA23zDi+lk9s6hC1FM7jgLHYIjuLgULgc8QtYnmB3tAVIYkNoKRQ75qWBeyzcoMoK8ZQmogGtC/w0g==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
+"@babel/plugin-transform-unicode-escapes@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.10.1.tgz#add0f8483dab60570d9e03cecef6c023aa8c9940"
+ integrity sha512-zZ0Poh/yy1d4jeDWpx/mNwbKJVwUYJX73q+gyh4bwtG0/iUlzdEu0sLMda8yuDFS6LBQlT/ST1SJAR6zYwXWgw==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-transform-unicode-regex@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.0.0-beta.47.tgz#efed0b2f1dfbf28283502234a95b4be88f7fdcb6"
@@ -588,6 +1367,14 @@
"@babel/helper-regex" "7.0.0-beta.47"
regexpu-core "^4.1.3"
+"@babel/plugin-transform-unicode-regex@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.10.1.tgz#6b58f2aea7b68df37ac5025d9c88752443a6b43f"
+ integrity sha512-Y/2a2W299k0VIUdbqYm9X2qS6fE0CUBhhiPpimK6byy7OJ/kORLlIX+J6UrjgNu5awvs62k+6RSslxhcvVw2Tw==
+ dependencies:
+ "@babel/helper-create-regexp-features-plugin" "^7.10.1"
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/preset-env@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.0.0-beta.47.tgz#a3dab3b5fac4de56e3510bdbcb528f1cbdedbe2d"
@@ -632,6 +1419,87 @@
invariant "^2.2.2"
semver "^5.3.0"
+"@babel/preset-env@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.10.3.tgz#3e58c9861bbd93b6a679987c7e4bd365c56c80c9"
+ integrity sha512-jHaSUgiewTmly88bJtMHbOd1bJf2ocYxb5BWKSDQIP5tmgFuS/n0gl+nhSrYDhT33m0vPxp+rP8oYYgPgMNQlg==
+ dependencies:
+ "@babel/compat-data" "^7.10.3"
+ "@babel/helper-compilation-targets" "^7.10.2"
+ "@babel/helper-module-imports" "^7.10.3"
+ "@babel/helper-plugin-utils" "^7.10.3"
+ "@babel/plugin-proposal-async-generator-functions" "^7.10.3"
+ "@babel/plugin-proposal-class-properties" "^7.10.1"
+ "@babel/plugin-proposal-dynamic-import" "^7.10.1"
+ "@babel/plugin-proposal-json-strings" "^7.10.1"
+ "@babel/plugin-proposal-nullish-coalescing-operator" "^7.10.1"
+ "@babel/plugin-proposal-numeric-separator" "^7.10.1"
+ "@babel/plugin-proposal-object-rest-spread" "^7.10.3"
+ "@babel/plugin-proposal-optional-catch-binding" "^7.10.1"
+ "@babel/plugin-proposal-optional-chaining" "^7.10.3"
+ "@babel/plugin-proposal-private-methods" "^7.10.1"
+ "@babel/plugin-proposal-unicode-property-regex" "^7.10.1"
+ "@babel/plugin-syntax-async-generators" "^7.8.0"
+ "@babel/plugin-syntax-class-properties" "^7.10.1"
+ "@babel/plugin-syntax-dynamic-import" "^7.8.0"
+ "@babel/plugin-syntax-json-strings" "^7.8.0"
+ "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0"
+ "@babel/plugin-syntax-numeric-separator" "^7.10.1"
+ "@babel/plugin-syntax-object-rest-spread" "^7.8.0"
+ "@babel/plugin-syntax-optional-catch-binding" "^7.8.0"
+ "@babel/plugin-syntax-optional-chaining" "^7.8.0"
+ "@babel/plugin-syntax-top-level-await" "^7.10.1"
+ "@babel/plugin-transform-arrow-functions" "^7.10.1"
+ "@babel/plugin-transform-async-to-generator" "^7.10.1"
+ "@babel/plugin-transform-block-scoped-functions" "^7.10.1"
+ "@babel/plugin-transform-block-scoping" "^7.10.1"
+ "@babel/plugin-transform-classes" "^7.10.3"
+ "@babel/plugin-transform-computed-properties" "^7.10.3"
+ "@babel/plugin-transform-destructuring" "^7.10.1"
+ "@babel/plugin-transform-dotall-regex" "^7.10.1"
+ "@babel/plugin-transform-duplicate-keys" "^7.10.1"
+ "@babel/plugin-transform-exponentiation-operator" "^7.10.1"
+ "@babel/plugin-transform-for-of" "^7.10.1"
+ "@babel/plugin-transform-function-name" "^7.10.1"
+ "@babel/plugin-transform-literals" "^7.10.1"
+ "@babel/plugin-transform-member-expression-literals" "^7.10.1"
+ "@babel/plugin-transform-modules-amd" "^7.10.1"
+ "@babel/plugin-transform-modules-commonjs" "^7.10.1"
+ "@babel/plugin-transform-modules-systemjs" "^7.10.3"
+ "@babel/plugin-transform-modules-umd" "^7.10.1"
+ "@babel/plugin-transform-named-capturing-groups-regex" "^7.10.3"
+ "@babel/plugin-transform-new-target" "^7.10.1"
+ "@babel/plugin-transform-object-super" "^7.10.1"
+ "@babel/plugin-transform-parameters" "^7.10.1"
+ "@babel/plugin-transform-property-literals" "^7.10.1"
+ "@babel/plugin-transform-regenerator" "^7.10.3"
+ "@babel/plugin-transform-reserved-words" "^7.10.1"
+ "@babel/plugin-transform-shorthand-properties" "^7.10.1"
+ "@babel/plugin-transform-spread" "^7.10.1"
+ "@babel/plugin-transform-sticky-regex" "^7.10.1"
+ "@babel/plugin-transform-template-literals" "^7.10.3"
+ "@babel/plugin-transform-typeof-symbol" "^7.10.1"
+ "@babel/plugin-transform-unicode-escapes" "^7.10.1"
+ "@babel/plugin-transform-unicode-regex" "^7.10.1"
+ "@babel/preset-modules" "^0.1.3"
+ "@babel/types" "^7.10.3"
+ browserslist "^4.12.0"
+ core-js-compat "^3.6.2"
+ invariant "^2.2.2"
+ levenary "^1.1.1"
+ semver "^5.5.0"
+
+"@babel/preset-modules@^0.1.3":
+ version "0.1.3"
+ resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.3.tgz#13242b53b5ef8c883c3cf7dddd55b36ce80fbc72"
+ integrity sha512-Ra3JXOHBq2xd56xSF7lMKXdjBn3T772Y1Wet3yWnkDly9zHvJki029tAFzvAAK5cf4YV3yoxuP61crYRol6SVg==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.0.0"
+ "@babel/plugin-proposal-unicode-property-regex" "^7.4.4"
+ "@babel/plugin-transform-dotall-regex" "^7.4.4"
+ "@babel/types" "^7.4.4"
+ esutils "^2.0.2"
+
"@babel/preset-stage-2@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/preset-stage-2/-/preset-stage-2-7.0.0-beta.47.tgz#deb930c44d7d6e519a33174bba121a2a630ed654"
@@ -664,6 +1532,13 @@
core-js "^2.5.3"
regenerator-runtime "^0.11.1"
+"@babel/runtime@^7.8.4":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.10.3.tgz#670d002655a7c366540c67f6fd3342cd09500364"
+ integrity sha512-RzGO0RLSdokm9Ipe/YD+7ww8X2Ro79qiXZF3HU9ljrM+qnJmH1Vqth+hbiQZy761LnMJTMitHDuKVYTk3k4dLw==
+ dependencies:
+ regenerator-runtime "^0.13.4"
+
"@babel/template@7.0.0-beta.40":
version "7.0.0-beta.40"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.40.tgz#034988c6424eb5c3268fe6a608626de1f4410fc8"
@@ -682,6 +1557,24 @@
babylon "7.0.0-beta.47"
lodash "^4.17.5"
+"@babel/template@^7.10.1", "@babel/template@^7.3.3":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.10.1.tgz#e167154a94cb5f14b28dc58f5356d2162f539811"
+ integrity sha512-OQDg6SqvFSsc9A0ej6SKINWrpJiNonRIniYondK2ViKhB06i3c0s+76XUft71iqBEe9S1OKsHwPAjfHnuvnCig==
+ dependencies:
+ "@babel/code-frame" "^7.10.1"
+ "@babel/parser" "^7.10.1"
+ "@babel/types" "^7.10.1"
+
+"@babel/template@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.10.3.tgz#4d13bc8e30bf95b0ce9d175d30306f42a2c9a7b8"
+ integrity sha512-5BjI4gdtD+9fHZUsaxPHPNpwa+xRkDO7c7JbhYn2afvrkDu5SfAAbi9AIMXw2xEhO/BR35TqiW97IqNvCo/GqA==
+ dependencies:
+ "@babel/code-frame" "^7.10.3"
+ "@babel/parser" "^7.10.3"
+ "@babel/types" "^7.10.3"
+
"@babel/traverse@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0-beta.47.tgz#0e57fdbb9ff3a909188b6ebf1e529c641e6c82a4"
@@ -711,6 +1604,36 @@
invariant "^2.2.0"
lodash "^4.2.0"
+"@babel/traverse@^7.1.0", "@babel/traverse@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.10.1.tgz#bbcef3031e4152a6c0b50147f4958df54ca0dd27"
+ integrity sha512-C/cTuXeKt85K+p08jN6vMDz8vSV0vZcI0wmQ36o6mjbuo++kPMdpOYw23W2XH04dbRt9/nMEfA4W3eR21CD+TQ==
+ dependencies:
+ "@babel/code-frame" "^7.10.1"
+ "@babel/generator" "^7.10.1"
+ "@babel/helper-function-name" "^7.10.1"
+ "@babel/helper-split-export-declaration" "^7.10.1"
+ "@babel/parser" "^7.10.1"
+ "@babel/types" "^7.10.1"
+ debug "^4.1.0"
+ globals "^11.1.0"
+ lodash "^4.17.13"
+
+"@babel/traverse@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.10.3.tgz#0b01731794aa7b77b214bcd96661f18281155d7e"
+ integrity sha512-qO6623eBFhuPm0TmmrUFMT1FulCmsSeJuVGhiLodk2raUDFhhTECLd9E9jC4LBIWziqt4wgF6KuXE4d+Jz9yug==
+ dependencies:
+ "@babel/code-frame" "^7.10.3"
+ "@babel/generator" "^7.10.3"
+ "@babel/helper-function-name" "^7.10.3"
+ "@babel/helper-split-export-declaration" "^7.10.1"
+ "@babel/parser" "^7.10.3"
+ "@babel/types" "^7.10.3"
+ debug "^4.1.0"
+ globals "^11.1.0"
+ lodash "^4.17.13"
+
"@babel/types@7.0.0-beta.40", "@babel/types@^7.0.0-beta.40":
version "7.0.0-beta.40"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0-beta.40.tgz#25c3d7aae14126abe05fcb098c65a66b6d6b8c14"
@@ -727,6 +1650,37 @@
lodash "^4.17.5"
to-fast-properties "^2.0.0"
+"@babel/types@^7.0.0", "@babel/types@^7.10.1", "@babel/types@^7.10.2", "@babel/types@^7.3.0", "@babel/types@^7.3.3":
+ version "7.10.2"
+ resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.10.2.tgz#30283be31cad0dbf6fb00bd40641ca0ea675172d"
+ integrity sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng==
+ dependencies:
+ "@babel/helper-validator-identifier" "^7.10.1"
+ lodash "^4.17.13"
+ to-fast-properties "^2.0.0"
+
+"@babel/types@^7.10.3", "@babel/types@^7.4.4":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.10.3.tgz#6535e3b79fea86a6b09e012ea8528f935099de8e"
+ integrity sha512-nZxaJhBXBQ8HVoIcGsf9qWep3Oh3jCENK54V4mRF7qaJabVsAYdbTtmSD8WmAp1R6ytPiu5apMwSXyxB1WlaBA==
+ dependencies:
+ "@babel/helper-validator-identifier" "^7.10.3"
+ lodash "^4.17.13"
+ to-fast-properties "^2.0.0"
+
+"@bcoe/v8-coverage@^0.2.3":
+ version "0.2.3"
+ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
+ integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
+
+"@cnakazawa/watch@^1.0.3":
+ version "1.0.4"
+ resolved "https://registry.yarnpkg.com/@cnakazawa/watch/-/watch-1.0.4.tgz#f864ae85004d0fcab6f50be9141c4da368d1656a"
+ integrity sha512-v9kIhKwjeZThiWrLmj0y17CWoyddASLj9O2yvbZkbvw/N3rWOYy9zkV66ursAoVr0mV15bL8g0c4QZUE6cdDoQ==
+ dependencies:
+ exec-sh "^0.3.2"
+ minimist "^1.2.0"
+
"@commitlint/cli@^8.2.0":
version "8.3.4"
resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-8.3.4.tgz#aabcd997124bd0656ebd2a805ec9e92cfb663d78"
@@ -933,31 +1887,213 @@
unique-filename "^1.1.1"
which "^1.3.1"
-"@lerna/add@3.20.0":
- version "3.20.0"
- resolved "https://registry.yarnpkg.com/@lerna/add/-/add-3.20.0.tgz#bea7edf36fc93fb72ec34cb9ba854c48d4abf309"
- integrity sha512-AnH1oRIEEg/VDa3SjYq4x1/UglEAvrZuV0WssHUMN81RTZgQk3we+Mv3qZNddrZ/fBcZu2IAdN/EQ3+ie2JxKQ==
+"@istanbuljs/load-nyc-config@^1.0.0":
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced"
+ integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==
dependencies:
- "@evocateur/pacote" "^9.6.3"
- "@lerna/bootstrap" "3.20.0"
- "@lerna/command" "3.18.5"
- "@lerna/filter-options" "3.20.0"
- "@lerna/npm-conf" "3.16.0"
- "@lerna/validation-error" "3.13.0"
- dedent "^0.7.0"
- npm-package-arg "^6.1.0"
- p-map "^2.1.0"
- semver "^6.2.0"
+ camelcase "^5.3.1"
+ find-up "^4.1.0"
+ get-package-type "^0.1.0"
+ js-yaml "^3.13.1"
+ resolve-from "^5.0.0"
-"@lerna/bootstrap@3.20.0":
- version "3.20.0"
- resolved "https://registry.yarnpkg.com/@lerna/bootstrap/-/bootstrap-3.20.0.tgz#635d71046830f208e851ab429a63da1747589e37"
- integrity sha512-Wylullx3uthKE7r4izo09qeRGL20Y5yONlQEjPCfnbxCC2Elu+QcPu4RC6kqKQ7b+g7pdC3OOgcHZjngrwr5XQ==
- dependencies:
- "@lerna/command" "3.18.5"
- "@lerna/filter-options" "3.20.0"
- "@lerna/has-npm-version" "3.16.5"
- "@lerna/npm-install" "3.16.5"
+"@istanbuljs/schema@^0.1.2":
+ version "0.1.2"
+ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd"
+ integrity sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw==
+
+"@jest/console@^26.0.1":
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/@jest/console/-/console-26.0.1.tgz#62b3b2fa8990f3cbffbef695c42ae9ddbc8f4b39"
+ integrity sha512-9t1KUe/93coV1rBSxMmBAOIK3/HVpwxArCA1CxskKyRiv6o8J70V8C/V3OJminVCTa2M0hQI9AWRd5wxu2dAHw==
+ dependencies:
+ "@jest/types" "^26.0.1"
+ chalk "^4.0.0"
+ jest-message-util "^26.0.1"
+ jest-util "^26.0.1"
+ slash "^3.0.0"
+
+"@jest/core@^26.0.1":
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/@jest/core/-/core-26.0.1.tgz#aa538d52497dfab56735efb00e506be83d841fae"
+ integrity sha512-Xq3eqYnxsG9SjDC+WLeIgf7/8KU6rddBxH+SCt18gEpOhAGYC/Mq+YbtlNcIdwjnnT+wDseXSbU0e5X84Y4jTQ==
+ dependencies:
+ "@jest/console" "^26.0.1"
+ "@jest/reporters" "^26.0.1"
+ "@jest/test-result" "^26.0.1"
+ "@jest/transform" "^26.0.1"
+ "@jest/types" "^26.0.1"
+ ansi-escapes "^4.2.1"
+ chalk "^4.0.0"
+ exit "^0.1.2"
+ graceful-fs "^4.2.4"
+ jest-changed-files "^26.0.1"
+ jest-config "^26.0.1"
+ jest-haste-map "^26.0.1"
+ jest-message-util "^26.0.1"
+ jest-regex-util "^26.0.0"
+ jest-resolve "^26.0.1"
+ jest-resolve-dependencies "^26.0.1"
+ jest-runner "^26.0.1"
+ jest-runtime "^26.0.1"
+ jest-snapshot "^26.0.1"
+ jest-util "^26.0.1"
+ jest-validate "^26.0.1"
+ jest-watcher "^26.0.1"
+ micromatch "^4.0.2"
+ p-each-series "^2.1.0"
+ rimraf "^3.0.0"
+ slash "^3.0.0"
+ strip-ansi "^6.0.0"
+
+"@jest/environment@^26.0.1":
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-26.0.1.tgz#82f519bba71959be9b483675ee89de8c8f72a5c8"
+ integrity sha512-xBDxPe8/nx251u0VJ2dFAFz2H23Y98qdIaNwnMK6dFQr05jc+Ne/2np73lOAx+5mSBO/yuQldRrQOf6hP1h92g==
+ dependencies:
+ "@jest/fake-timers" "^26.0.1"
+ "@jest/types" "^26.0.1"
+ jest-mock "^26.0.1"
+
+"@jest/fake-timers@^26.0.1":
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-26.0.1.tgz#f7aeff13b9f387e9d0cac9a8de3bba538d19d796"
+ integrity sha512-Oj/kCBnTKhm7CR+OJSjZty6N1bRDr9pgiYQr4wY221azLz5PHi08x/U+9+QpceAYOWheauLP8MhtSVFrqXQfhg==
+ dependencies:
+ "@jest/types" "^26.0.1"
+ "@sinonjs/fake-timers" "^6.0.1"
+ jest-message-util "^26.0.1"
+ jest-mock "^26.0.1"
+ jest-util "^26.0.1"
+
+"@jest/globals@^26.0.1":
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-26.0.1.tgz#3f67b508a7ce62b6e6efc536f3d18ec9deb19a9c"
+ integrity sha512-iuucxOYB7BRCvT+TYBzUqUNuxFX1hqaR6G6IcGgEqkJ5x4htNKo1r7jk1ji9Zj8ZMiMw0oB5NaA7k5Tx6MVssA==
+ dependencies:
+ "@jest/environment" "^26.0.1"
+ "@jest/types" "^26.0.1"
+ expect "^26.0.1"
+
+"@jest/reporters@^26.0.1":
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-26.0.1.tgz#14ae00e7a93e498cec35b0c00ab21c375d9b078f"
+ integrity sha512-NWWy9KwRtE1iyG/m7huiFVF9YsYv/e+mbflKRV84WDoJfBqUrNRyDbL/vFxQcYLl8IRqI4P3MgPn386x76Gf2g==
+ dependencies:
+ "@bcoe/v8-coverage" "^0.2.3"
+ "@jest/console" "^26.0.1"
+ "@jest/test-result" "^26.0.1"
+ "@jest/transform" "^26.0.1"
+ "@jest/types" "^26.0.1"
+ chalk "^4.0.0"
+ collect-v8-coverage "^1.0.0"
+ exit "^0.1.2"
+ glob "^7.1.2"
+ graceful-fs "^4.2.4"
+ istanbul-lib-coverage "^3.0.0"
+ istanbul-lib-instrument "^4.0.0"
+ istanbul-lib-report "^3.0.0"
+ istanbul-lib-source-maps "^4.0.0"
+ istanbul-reports "^3.0.2"
+ jest-haste-map "^26.0.1"
+ jest-resolve "^26.0.1"
+ jest-util "^26.0.1"
+ jest-worker "^26.0.0"
+ slash "^3.0.0"
+ source-map "^0.6.0"
+ string-length "^4.0.1"
+ terminal-link "^2.0.0"
+ v8-to-istanbul "^4.1.3"
+ optionalDependencies:
+ node-notifier "^7.0.0"
+
+"@jest/source-map@^26.0.0":
+ version "26.0.0"
+ resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-26.0.0.tgz#fd7706484a7d3faf7792ae29783933bbf48a4749"
+ integrity sha512-S2Z+Aj/7KOSU2TfW0dyzBze7xr95bkm5YXNUqqCek+HE0VbNNSNzrRwfIi5lf7wvzDTSS0/ib8XQ1krFNyYgbQ==
+ dependencies:
+ callsites "^3.0.0"
+ graceful-fs "^4.2.4"
+ source-map "^0.6.0"
+
+"@jest/test-result@^26.0.1":
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-26.0.1.tgz#1ffdc1ba4bc289919e54b9414b74c9c2f7b2b718"
+ integrity sha512-oKwHvOI73ICSYRPe8WwyYPTtiuOAkLSbY8/MfWF3qDEd/sa8EDyZzin3BaXTqufir/O/Gzea4E8Zl14XU4Mlyg==
+ dependencies:
+ "@jest/console" "^26.0.1"
+ "@jest/types" "^26.0.1"
+ "@types/istanbul-lib-coverage" "^2.0.0"
+ collect-v8-coverage "^1.0.0"
+
+"@jest/test-sequencer@^26.0.1":
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-26.0.1.tgz#b0563424728f3fe9e75d1442b9ae4c11da73f090"
+ integrity sha512-ssga8XlwfP8YjbDcmVhwNlrmblddMfgUeAkWIXts1V22equp2GMIHxm7cyeD5Q/B0ZgKPK/tngt45sH99yLLGg==
+ dependencies:
+ "@jest/test-result" "^26.0.1"
+ graceful-fs "^4.2.4"
+ jest-haste-map "^26.0.1"
+ jest-runner "^26.0.1"
+ jest-runtime "^26.0.1"
+
+"@jest/transform@^26.0.1":
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-26.0.1.tgz#0e3ecbb34a11cd4b2080ed0a9c4856cf0ceb0639"
+ integrity sha512-pPRkVkAQ91drKGbzCfDOoHN838+FSbYaEAvBXvKuWeeRRUD8FjwXkqfUNUZL6Ke48aA/1cqq/Ni7kVMCoqagWA==
+ dependencies:
+ "@babel/core" "^7.1.0"
+ "@jest/types" "^26.0.1"
+ babel-plugin-istanbul "^6.0.0"
+ chalk "^4.0.0"
+ convert-source-map "^1.4.0"
+ fast-json-stable-stringify "^2.0.0"
+ graceful-fs "^4.2.4"
+ jest-haste-map "^26.0.1"
+ jest-regex-util "^26.0.0"
+ jest-util "^26.0.1"
+ micromatch "^4.0.2"
+ pirates "^4.0.1"
+ slash "^3.0.0"
+ source-map "^0.6.1"
+ write-file-atomic "^3.0.0"
+
+"@jest/types@^26.0.1":
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/@jest/types/-/types-26.0.1.tgz#b78333fbd113fa7aec8d39de24f88de8686dac67"
+ integrity sha512-IbtjvqI9+eS1qFnOIEL7ggWmT+iK/U+Vde9cGWtYb/b6XgKb3X44ZAe/z9YZzoAAZ/E92m0DqrilF934IGNnQA==
+ dependencies:
+ "@types/istanbul-lib-coverage" "^2.0.0"
+ "@types/istanbul-reports" "^1.1.1"
+ "@types/yargs" "^15.0.0"
+ chalk "^4.0.0"
+
+"@lerna/add@3.20.0":
+ version "3.20.0"
+ resolved "https://registry.yarnpkg.com/@lerna/add/-/add-3.20.0.tgz#bea7edf36fc93fb72ec34cb9ba854c48d4abf309"
+ integrity sha512-AnH1oRIEEg/VDa3SjYq4x1/UglEAvrZuV0WssHUMN81RTZgQk3we+Mv3qZNddrZ/fBcZu2IAdN/EQ3+ie2JxKQ==
+ dependencies:
+ "@evocateur/pacote" "^9.6.3"
+ "@lerna/bootstrap" "3.20.0"
+ "@lerna/command" "3.18.5"
+ "@lerna/filter-options" "3.20.0"
+ "@lerna/npm-conf" "3.16.0"
+ "@lerna/validation-error" "3.13.0"
+ dedent "^0.7.0"
+ npm-package-arg "^6.1.0"
+ p-map "^2.1.0"
+ semver "^6.2.0"
+
+"@lerna/bootstrap@3.20.0":
+ version "3.20.0"
+ resolved "https://registry.yarnpkg.com/@lerna/bootstrap/-/bootstrap-3.20.0.tgz#635d71046830f208e851ab429a63da1747589e37"
+ integrity sha512-Wylullx3uthKE7r4izo09qeRGL20Y5yONlQEjPCfnbxCC2Elu+QcPu4RC6kqKQ7b+g7pdC3OOgcHZjngrwr5XQ==
+ dependencies:
+ "@lerna/command" "3.18.5"
+ "@lerna/filter-options" "3.20.0"
+ "@lerna/has-npm-version" "3.16.5"
+ "@lerna/npm-install" "3.16.5"
"@lerna/package-graph" "3.18.5"
"@lerna/pulse-till-done" "3.13.0"
"@lerna/rimraf-dir" "3.16.5"
@@ -1756,6 +2892,20 @@
dependencies:
type-detect "4.0.8"
+"@sinonjs/commons@^1.7.0":
+ version "1.8.0"
+ resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.0.tgz#c8d68821a854c555bba172f3b06959a0039b236d"
+ integrity sha512-wEj54PfsZ5jGSwMX68G8ZXFawcSglQSXqCftWX3ec8MDUzQdHgcKvw97awHbY0efQEL5iKUOAmmVtoYgmrSG4Q==
+ dependencies:
+ type-detect "4.0.8"
+
+"@sinonjs/fake-timers@^6.0.1":
+ version "6.0.1"
+ resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz#293674fccb3262ac782c7aadfdeca86b10c75c40"
+ integrity sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==
+ dependencies:
+ "@sinonjs/commons" "^1.7.0"
+
"@sinonjs/formatio@^3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@sinonjs/formatio/-/formatio-3.1.0.tgz#6ac9d1eb1821984d84c4996726e45d1646d8cce5"
@@ -1772,11 +2922,49 @@
array-from "^2.1.1"
lodash.get "^4.4.2"
+"@types/babel__core@^7.1.7":
+ version "7.1.8"
+ resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.8.tgz#057f725aca3641f49fc11c7a87a9de5ec588a5d7"
+ integrity sha512-KXBiQG2OXvaPWFPDS1rD8yV9vO0OuWIqAEqLsbfX0oU2REN5KuoMnZ1gClWcBhO5I3n6oTVAmrMufOvRqdmFTQ==
+ dependencies:
+ "@babel/parser" "^7.1.0"
+ "@babel/types" "^7.0.0"
+ "@types/babel__generator" "*"
+ "@types/babel__template" "*"
+ "@types/babel__traverse" "*"
+
+"@types/babel__generator@*":
+ version "7.6.1"
+ resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.1.tgz#4901767b397e8711aeb99df8d396d7ba7b7f0e04"
+ integrity sha512-bBKm+2VPJcMRVwNhxKu8W+5/zT7pwNEqeokFOmbvVSqGzFneNxYcEBro9Ac7/N9tlsaPYnZLK8J1LWKkMsLAew==
+ dependencies:
+ "@babel/types" "^7.0.0"
+
+"@types/babel__template@*":
+ version "7.0.2"
+ resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.0.2.tgz#4ff63d6b52eddac1de7b975a5223ed32ecea9307"
+ integrity sha512-/K6zCpeW7Imzgab2bLkLEbz0+1JlFSrUMdw7KoIIu+IUdu51GWaBZpd3y1VXGVXzynvGa4DaIaxNZHiON3GXUg==
+ dependencies:
+ "@babel/parser" "^7.1.0"
+ "@babel/types" "^7.0.0"
+
+"@types/babel__traverse@*", "@types/babel__traverse@^7.0.6":
+ version "7.0.12"
+ resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.0.12.tgz#22f49a028e69465390f87bb103ebd61bd086b8f5"
+ integrity sha512-t4CoEokHTfcyfb4hUaF9oOHu9RmmNWnm1CP0YmMqOOfClKascOmvlEM736vlqeScuGvBDsHkf8R2INd4DWreQA==
+ dependencies:
+ "@babel/types" "^7.3.0"
+
"@types/cheerio@^0.22.10":
version "0.22.10"
resolved "https://registry.yarnpkg.com/@types/cheerio/-/cheerio-0.22.10.tgz#780d552467824be4a241b29510a7873a7432c4a6"
integrity sha512-fOM/Jhv51iyugY7KOBZz2ThfT1gwvsGCfWxpLpZDgkGjpEO4Le9cld07OdskikLjDUQJ43dzDaVRSFwQlpdqVg==
+"@types/color-name@^1.1.1":
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0"
+ integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==
+
"@types/estree@*", "@types/estree@0.0.39":
version "0.0.39"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f"
@@ -1796,6 +2984,33 @@
"@types/minimatch" "*"
"@types/node" "*"
+"@types/graceful-fs@^4.1.2":
+ version "4.1.3"
+ resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.3.tgz#039af35fe26bec35003e8d86d2ee9c586354348f"
+ integrity sha512-AiHRaEB50LQg0pZmm659vNBb9f4SJ0qrAnteuzhSeAUcJKxoYgEnprg/83kppCnc2zvtCKbdZry1a5pVY3lOTQ==
+ dependencies:
+ "@types/node" "*"
+
+"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1":
+ version "2.0.3"
+ resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz#4ba8ddb720221f432e443bd5f9117fd22cfd4762"
+ integrity sha512-sz7iLqvVUg1gIedBOvlkxPlc8/uVzyS5OwGz1cKjXzkl3FpL3al0crU8YGU1WoHkxn0Wxbw5tyi6hvzJKNzFsw==
+
+"@types/istanbul-lib-report@*":
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686"
+ integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==
+ dependencies:
+ "@types/istanbul-lib-coverage" "*"
+
+"@types/istanbul-reports@^1.1.1":
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-1.1.2.tgz#e875cc689e47bce549ec81f3df5e6f6f11cfaeb2"
+ integrity sha512-P/W9yOX/3oPZSpaYOCQzGqgCQRXn0FFO/V8bWrCQs+wLmvVVxk6CRBXALEvNs9OHIatlnlFokfhuDo2ug01ciw==
+ dependencies:
+ "@types/istanbul-lib-coverage" "*"
+ "@types/istanbul-lib-report" "*"
+
"@types/minimatch@*":
version "3.0.3"
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
@@ -1821,6 +3036,11 @@
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==
+"@types/prettier@^2.0.0":
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.0.1.tgz#b6e98083f13faa1e5231bfa3bdb1b0feff536b6d"
+ integrity sha512-boy4xPNEtiw6N3abRhBi/e7hNvy3Tt8E9ZRAQrwAGzoCGZS/1wjo9KY7JHhnfnEsG5wSjDbymCozUM9a3ea7OQ==
+
"@types/resolve@0.0.8":
version "0.0.8"
resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-0.0.8.tgz#f26074d238e02659e323ce1a13d041eee280e194"
@@ -1833,6 +3053,23 @@
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-6.2.0.tgz#d688d574400d96c5b0114968705366f431831e1a"
integrity sha512-1OzrNb4RuAzIT7wHSsgZRlMBlNsJl+do6UblR7JMW4oB7bbR+uBEYtUh7gEc/jM84GGilh68lSOokyM/zNUlBA==
+"@types/stack-utils@^1.0.1":
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e"
+ integrity sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw==
+
+"@types/yargs-parser@*":
+ version "15.0.0"
+ resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-15.0.0.tgz#cb3f9f741869e20cce330ffbeb9271590483882d"
+ integrity sha512-FA/BWv8t8ZWJ+gEOnLLd8ygxH/2UFbAvgEonyfN6yWGLKc7zVjbpl2Y4CTjid9h2RfgPP6SEt6uHwEOply00yw==
+
+"@types/yargs@^15.0.0":
+ version "15.0.5"
+ resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.5.tgz#947e9a6561483bdee9adffc983e91a6902af8b79"
+ integrity sha512-Dk/IDOPtOgubt/IaevIUbTgV7doaKkoorvOyYM2CMwuDyP89bekI7H4xLIwunNYiK9jhCkmc6pUrJk3cj2AB9w==
+ dependencies:
+ "@types/yargs-parser" "*"
+
"@vue/babel-preset-app@3.0.0-beta.11":
version "3.0.0-beta.11"
resolved "https://registry.yarnpkg.com/@vue/babel-preset-app/-/babel-preset-app-3.0.0-beta.11.tgz#c8b889aa73464050f9cd3f9dc621951d85c24508"
@@ -1860,6 +3097,22 @@
source-map "^0.5.6"
vue-template-es2015-compiler "^1.6.0"
+"@vue/component-compiler-utils@^3.1.0":
+ version "3.1.2"
+ resolved "https://registry.yarnpkg.com/@vue/component-compiler-utils/-/component-compiler-utils-3.1.2.tgz#8213a5ff3202f9f2137fe55370f9e8b9656081c3"
+ integrity sha512-QLq9z8m79mCinpaEeSURhnNCN6djxpHw0lpP/bodMlt5kALfONpryMthvnrQOlTcIKoF+VoPi+lPHUYeDFPXug==
+ dependencies:
+ consolidate "^0.15.1"
+ hash-sum "^1.0.2"
+ lru-cache "^4.1.2"
+ merge-source-map "^1.1.0"
+ postcss "^7.0.14"
+ postcss-selector-parser "^6.0.2"
+ source-map "~0.6.1"
+ vue-template-es2015-compiler "^1.9.0"
+ optionalDependencies:
+ prettier "^1.18.2"
+
"@vue/composition-api@^0.6.4":
version "0.6.4"
resolved "https://registry.yarnpkg.com/@vue/composition-api/-/composition-api-0.6.4.tgz#b12a85183eecdbb18453efae28853edb77b4a625"
@@ -2036,6 +3289,11 @@ abab@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.0.tgz#aba0ab4c5eee2d4c79d3487d85450fb2376ebb0f"
+abab@^2.0.3:
+ version "2.0.3"
+ resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.3.tgz#623e2075e02eb2d3f2475e49f99c91846467907a"
+ integrity sha512-tsFzPpcttalNjFBCFMqsKYQcWxxen1pgJR56by//QwvJc4/OUS3kPOOttx2tSIfjsylB0pYu7f5D3K1RCxUnUg==
+
abbrev@1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
@@ -2079,6 +3337,14 @@ acorn-globals@^4.1.0:
dependencies:
acorn "^5.0.0"
+acorn-globals@^6.0.0:
+ version "6.0.0"
+ resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45"
+ integrity sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==
+ dependencies:
+ acorn "^7.1.1"
+ acorn-walk "^7.1.1"
+
acorn-jsx@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b"
@@ -2090,6 +3356,11 @@ acorn-jsx@^5.0.1:
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384"
integrity sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==
+acorn-walk@^7.1.1:
+ version "7.2.0"
+ resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc"
+ integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==
+
acorn@^3.0.4:
version "3.3.0"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a"
@@ -2116,6 +3387,11 @@ acorn@^7.1.0:
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c"
integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==
+acorn@^7.1.1:
+ version "7.3.1"
+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.3.1.tgz#85010754db53c3fbaf3b9ea3e083aa5c5d147ffd"
+ integrity sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA==
+
after@0.8.2:
version "0.8.2"
resolved "https://registry.yarnpkg.com/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f"
@@ -2179,6 +3455,16 @@ ajv@^6.0.1, ajv@^6.1.0:
fast-json-stable-stringify "^2.0.0"
json-schema-traverse "^0.3.0"
+ajv@^6.5.5:
+ version "6.12.2"
+ resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.2.tgz#c629c5eced17baf314437918d2da88c99d5958cd"
+ integrity sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==
+ dependencies:
+ fast-deep-equal "^3.1.1"
+ fast-json-stable-stringify "^2.0.0"
+ json-schema-traverse "^0.4.1"
+ uri-js "^4.2.2"
+
algoliasearch@^3.24.5:
version "3.27.1"
resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-3.27.1.tgz#e1af42b97dbf44a2dd3a8c907be99c0c34e48414"
@@ -2230,6 +3516,13 @@ ansi-escapes@^3.2.0:
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b"
integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==
+ansi-escapes@^4.2.1:
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.1.tgz#a5c47cc43181f1f38ffd7076837700d395522a61"
+ integrity sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA==
+ dependencies:
+ type-fest "^0.11.0"
+
ansi-regex@^2.0.0:
version "2.1.1"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
@@ -2244,6 +3537,11 @@ ansi-regex@^4.1.0:
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997"
integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==
+ansi-regex@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75"
+ integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==
+
ansi-styles@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
@@ -2255,6 +3553,14 @@ ansi-styles@^3.2.0, ansi-styles@^3.2.1:
dependencies:
color-convert "^1.9.0"
+ansi-styles@^4.0.0, ansi-styles@^4.1.0:
+ version "4.2.1"
+ resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359"
+ integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==
+ dependencies:
+ "@types/color-name" "^1.1.1"
+ color-convert "^2.0.1"
+
any-observable@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/any-observable/-/any-observable-0.3.0.tgz#af933475e5806a67d0d7df090dd5e8bef65d119b"
@@ -2279,6 +3585,14 @@ anymatch@^2.0.0:
micromatch "^3.1.4"
normalize-path "^2.1.1"
+anymatch@^3.0.3:
+ version "3.1.1"
+ resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142"
+ integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==
+ dependencies:
+ normalize-path "^3.0.0"
+ picomatch "^2.0.4"
+
app-root-path@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/app-root-path/-/app-root-path-2.0.1.tgz#cd62dcf8e4fd5a417efc664d2e5b10653c651b46"
@@ -2467,6 +3781,11 @@ atob@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.1.tgz#ae2d5a729477f289d60dd7f96a6314a22dd6c22a"
+atob@^2.1.2:
+ version "2.1.2"
+ resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9"
+ integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==
+
autocomplete.js@^0.29.0:
version "0.29.0"
resolved "https://registry.yarnpkg.com/autocomplete.js/-/autocomplete.js-0.29.0.tgz#0185f7375ee9daf068f7d52d794bc90dcd739fd7"
@@ -2515,30 +3834,6 @@ babel-code-frame@^6.22.0, babel-code-frame@^6.26.0:
esutils "^2.0.2"
js-tokens "^3.0.2"
-babel-core@^6.26.0:
- version "6.26.0"
- resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.26.0.tgz#af32f78b31a6fcef119c87b0fd8d9753f03a0bb8"
- dependencies:
- babel-code-frame "^6.26.0"
- babel-generator "^6.26.0"
- babel-helpers "^6.24.1"
- babel-messages "^6.23.0"
- babel-register "^6.26.0"
- babel-runtime "^6.26.0"
- babel-template "^6.26.0"
- babel-traverse "^6.26.0"
- babel-types "^6.26.0"
- babylon "^6.18.0"
- convert-source-map "^1.5.0"
- debug "^2.6.8"
- json5 "^0.5.1"
- lodash "^4.17.4"
- minimatch "^3.0.4"
- path-is-absolute "^1.0.1"
- private "^0.1.7"
- slash "^1.0.0"
- source-map "^0.5.6"
-
babel-eslint@^8.2.2:
version "8.2.2"
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-8.2.2.tgz#1102273354c6f0b29b4ea28a65f97d122296b68b"
@@ -2550,141 +3845,24 @@ babel-eslint@^8.2.2:
eslint-scope "~3.7.1"
eslint-visitor-keys "^1.0.0"
-babel-generator@^6.26.0:
- version "6.26.1"
- resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90"
- dependencies:
- babel-messages "^6.23.0"
- babel-runtime "^6.26.0"
- babel-types "^6.26.0"
- detect-indent "^4.0.0"
- jsesc "^1.3.0"
- lodash "^4.17.4"
- source-map "^0.5.7"
- trim-right "^1.0.1"
-
-babel-helper-bindify-decorators@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-helper-bindify-decorators/-/babel-helper-bindify-decorators-6.24.1.tgz#14c19e5f142d7b47f19a52431e52b1ccbc40a330"
- dependencies:
- babel-runtime "^6.22.0"
- babel-traverse "^6.24.1"
- babel-types "^6.24.1"
-
-babel-helper-builder-binary-assignment-operator-visitor@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz#cce4517ada356f4220bcae8a02c2b346f9a56664"
- dependencies:
- babel-helper-explode-assignable-expression "^6.24.1"
- babel-runtime "^6.22.0"
- babel-types "^6.24.1"
-
-babel-helper-call-delegate@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz#ece6aacddc76e41c3461f88bfc575bd0daa2df8d"
- dependencies:
- babel-helper-hoist-variables "^6.24.1"
- babel-runtime "^6.22.0"
- babel-traverse "^6.24.1"
- babel-types "^6.24.1"
-
-babel-helper-define-map@^6.24.1:
- version "6.26.0"
- resolved "https://registry.yarnpkg.com/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz#a5f56dab41a25f97ecb498c7ebaca9819f95be5f"
- dependencies:
- babel-helper-function-name "^6.24.1"
- babel-runtime "^6.26.0"
- babel-types "^6.26.0"
- lodash "^4.17.4"
-
-babel-helper-explode-assignable-expression@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz#f25b82cf7dc10433c55f70592d5746400ac22caa"
- dependencies:
- babel-runtime "^6.22.0"
- babel-traverse "^6.24.1"
- babel-types "^6.24.1"
-
-babel-helper-explode-class@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-helper-explode-class/-/babel-helper-explode-class-6.24.1.tgz#7dc2a3910dee007056e1e31d640ced3d54eaa9eb"
- dependencies:
- babel-helper-bindify-decorators "^6.24.1"
- babel-runtime "^6.22.0"
- babel-traverse "^6.24.1"
- babel-types "^6.24.1"
-
-babel-helper-function-name@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz#d3475b8c03ed98242a25b48351ab18399d3580a9"
- dependencies:
- babel-helper-get-function-arity "^6.24.1"
- babel-runtime "^6.22.0"
- babel-template "^6.24.1"
- babel-traverse "^6.24.1"
- babel-types "^6.24.1"
-
-babel-helper-get-function-arity@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz#8f7782aa93407c41d3aa50908f89b031b1b6853d"
- dependencies:
- babel-runtime "^6.22.0"
- babel-types "^6.24.1"
-
-babel-helper-hoist-variables@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz#1ecb27689c9d25513eadbc9914a73f5408be7a76"
- dependencies:
- babel-runtime "^6.22.0"
- babel-types "^6.24.1"
-
-babel-helper-optimise-call-expression@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz#f7a13427ba9f73f8f4fa993c54a97882d1244257"
- dependencies:
- babel-runtime "^6.22.0"
- babel-types "^6.24.1"
-
-babel-helper-regex@^6.24.1:
- version "6.26.0"
- resolved "https://registry.yarnpkg.com/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz#325c59f902f82f24b74faceed0363954f6495e72"
- dependencies:
- babel-runtime "^6.26.0"
- babel-types "^6.26.0"
- lodash "^4.17.4"
-
-babel-helper-remap-async-to-generator@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz#5ec581827ad723fecdd381f1c928390676e4551b"
- dependencies:
- babel-helper-function-name "^6.24.1"
- babel-runtime "^6.22.0"
- babel-template "^6.24.1"
- babel-traverse "^6.24.1"
- babel-types "^6.24.1"
-
-babel-helper-replace-supers@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz#bf6dbfe43938d17369a213ca8a8bf74b6a90ab1a"
- dependencies:
- babel-helper-optimise-call-expression "^6.24.1"
- babel-messages "^6.23.0"
- babel-runtime "^6.22.0"
- babel-template "^6.24.1"
- babel-traverse "^6.24.1"
- babel-types "^6.24.1"
-
babel-helper-vue-jsx-merge-props@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz#22aebd3b33902328e513293a8e4992b384f9f1b6"
integrity sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg==
-babel-helpers@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2"
- dependencies:
- babel-runtime "^6.22.0"
- babel-template "^6.24.1"
+babel-jest@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-26.0.1.tgz#450139ce4b6c17174b136425bda91885c397bc46"
+ integrity sha512-Z4GGmSNQ8pX3WS1O+6v3fo41YItJJZsVxG5gIQ+HuB/iuAQBJxMTHTwz292vuYws1LnHfwSRgoqI+nxdy/pcvw==
+ dependencies:
+ "@jest/transform" "^26.0.1"
+ "@jest/types" "^26.0.1"
+ "@types/babel__core" "^7.1.7"
+ babel-plugin-istanbul "^6.0.0"
+ babel-preset-jest "^26.0.0"
+ chalk "^4.0.0"
+ graceful-fs "^4.2.4"
+ slash "^3.0.0"
babel-loader@8.0.0-beta.3:
version "8.0.0-beta.3"
@@ -2695,317 +3873,42 @@ babel-loader@8.0.0-beta.3:
mkdirp "^0.5.1"
util.promisify "^1.0.0"
-babel-loader@^7.1.3:
- version "7.1.3"
- resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-7.1.3.tgz#ff5b440da716e9153abb946251a9ab7670037b16"
- dependencies:
- find-cache-dir "^1.0.0"
- loader-utils "^1.0.2"
- mkdirp "^0.5.1"
-
-babel-messages@^6.23.0:
- version "6.23.0"
- resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e"
- dependencies:
- babel-runtime "^6.22.0"
-
-babel-plugin-check-es2015-constants@^6.22.0:
- version "6.22.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz#35157b101426fd2ffd3da3f75c7d1e91835bbf8a"
- dependencies:
- babel-runtime "^6.22.0"
-
babel-plugin-dynamic-import-node@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-1.2.0.tgz#f91631e703e0595e47d4beafbb088576c87fbeee"
dependencies:
babel-plugin-syntax-dynamic-import "^6.18.0"
-babel-plugin-syntax-async-functions@^6.8.0:
- version "6.13.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95"
-
-babel-plugin-syntax-async-generators@^6.5.0:
- version "6.13.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz#6bc963ebb16eccbae6b92b596eb7f35c342a8b9a"
-
-babel-plugin-syntax-class-properties@^6.8.0:
- version "6.13.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de"
-
-babel-plugin-syntax-decorators@^6.1.18, babel-plugin-syntax-decorators@^6.13.0:
- version "6.13.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz#312563b4dbde3cc806cee3e416cceeaddd11ac0b"
-
-babel-plugin-syntax-dynamic-import@^6.18.0:
- version "6.18.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
-
-babel-plugin-syntax-exponentiation-operator@^6.8.0:
- version "6.13.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de"
-
-babel-plugin-syntax-flow@^6.18.0, babel-plugin-syntax-flow@^6.8.0:
- version "6.18.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz#4c3ab20a2af26aa20cd25995c398c4eb70310c8d"
-
-babel-plugin-syntax-jsx@^6.18.0:
- version "6.18.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
-
-babel-plugin-syntax-object-rest-spread@^6.8.0:
- version "6.13.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5"
-
-babel-plugin-syntax-trailing-function-commas@^6.22.0:
- version "6.22.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3"
-
-babel-plugin-transform-async-generator-functions@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.24.1.tgz#f058900145fd3e9907a6ddf28da59f215258a5db"
- dependencies:
- babel-helper-remap-async-to-generator "^6.24.1"
- babel-plugin-syntax-async-generators "^6.5.0"
- babel-runtime "^6.22.0"
-
-babel-plugin-transform-async-to-generator@^6.22.0, babel-plugin-transform-async-to-generator@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz#6536e378aff6cb1d5517ac0e40eb3e9fc8d08761"
- dependencies:
- babel-helper-remap-async-to-generator "^6.24.1"
- babel-plugin-syntax-async-functions "^6.8.0"
- babel-runtime "^6.22.0"
-
-babel-plugin-transform-class-properties@^6.24.1, babel-plugin-transform-class-properties@^6.8.0:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz#6a79763ea61d33d36f37b611aa9def81a81b46ac"
- dependencies:
- babel-helper-function-name "^6.24.1"
- babel-plugin-syntax-class-properties "^6.8.0"
- babel-runtime "^6.22.0"
- babel-template "^6.24.1"
-
-babel-plugin-transform-decorators-legacy@^1.3.4:
- version "1.3.4"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-decorators-legacy/-/babel-plugin-transform-decorators-legacy-1.3.4.tgz#741b58f6c5bce9e6027e0882d9c994f04f366925"
- dependencies:
- babel-plugin-syntax-decorators "^6.1.18"
- babel-runtime "^6.2.0"
- babel-template "^6.3.0"
-
-babel-plugin-transform-decorators@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.24.1.tgz#788013d8f8c6b5222bdf7b344390dfd77569e24d"
- dependencies:
- babel-helper-explode-class "^6.24.1"
- babel-plugin-syntax-decorators "^6.13.0"
- babel-runtime "^6.22.0"
- babel-template "^6.24.1"
- babel-types "^6.24.1"
-
-babel-plugin-transform-es2015-arrow-functions@^6.22.0:
- version "6.22.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221"
- dependencies:
- babel-runtime "^6.22.0"
-
-babel-plugin-transform-es2015-block-scoped-functions@^6.22.0:
- version "6.22.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz#bbc51b49f964d70cb8d8e0b94e820246ce3a6141"
- dependencies:
- babel-runtime "^6.22.0"
-
-babel-plugin-transform-es2015-block-scoping@^6.23.0:
- version "6.26.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz#d70f5299c1308d05c12f463813b0a09e73b1895f"
- dependencies:
- babel-runtime "^6.26.0"
- babel-template "^6.26.0"
- babel-traverse "^6.26.0"
- babel-types "^6.26.0"
- lodash "^4.17.4"
-
-babel-plugin-transform-es2015-classes@^6.23.0:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db"
- dependencies:
- babel-helper-define-map "^6.24.1"
- babel-helper-function-name "^6.24.1"
- babel-helper-optimise-call-expression "^6.24.1"
- babel-helper-replace-supers "^6.24.1"
- babel-messages "^6.23.0"
- babel-runtime "^6.22.0"
- babel-template "^6.24.1"
- babel-traverse "^6.24.1"
- babel-types "^6.24.1"
-
-babel-plugin-transform-es2015-computed-properties@^6.22.0:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz#6fe2a8d16895d5634f4cd999b6d3480a308159b3"
- dependencies:
- babel-runtime "^6.22.0"
- babel-template "^6.24.1"
-
-babel-plugin-transform-es2015-destructuring@^6.23.0:
- version "6.23.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d"
- dependencies:
- babel-runtime "^6.22.0"
-
-babel-plugin-transform-es2015-duplicate-keys@^6.22.0:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz#73eb3d310ca969e3ef9ec91c53741a6f1576423e"
- dependencies:
- babel-runtime "^6.22.0"
- babel-types "^6.24.1"
-
-babel-plugin-transform-es2015-for-of@^6.23.0:
- version "6.23.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691"
- dependencies:
- babel-runtime "^6.22.0"
-
-babel-plugin-transform-es2015-function-name@^6.22.0:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz#834c89853bc36b1af0f3a4c5dbaa94fd8eacaa8b"
- dependencies:
- babel-helper-function-name "^6.24.1"
- babel-runtime "^6.22.0"
- babel-types "^6.24.1"
-
-babel-plugin-transform-es2015-literals@^6.22.0:
- version "6.22.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz#4f54a02d6cd66cf915280019a31d31925377ca2e"
- dependencies:
- babel-runtime "^6.22.0"
-
-babel-plugin-transform-es2015-modules-amd@^6.22.0, babel-plugin-transform-es2015-modules-amd@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz#3b3e54017239842d6d19c3011c4bd2f00a00d154"
- dependencies:
- babel-plugin-transform-es2015-modules-commonjs "^6.24.1"
- babel-runtime "^6.22.0"
- babel-template "^6.24.1"
-
-babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-es2015-modules-commonjs@^6.24.1:
- version "6.26.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz#0d8394029b7dc6abe1a97ef181e00758dd2e5d8a"
- dependencies:
- babel-plugin-transform-strict-mode "^6.24.1"
- babel-runtime "^6.26.0"
- babel-template "^6.26.0"
- babel-types "^6.26.0"
-
-babel-plugin-transform-es2015-modules-systemjs@^6.23.0:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz#ff89a142b9119a906195f5f106ecf305d9407d23"
- dependencies:
- babel-helper-hoist-variables "^6.24.1"
- babel-runtime "^6.22.0"
- babel-template "^6.24.1"
-
-babel-plugin-transform-es2015-modules-umd@^6.23.0:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz#ac997e6285cd18ed6176adb607d602344ad38468"
- dependencies:
- babel-plugin-transform-es2015-modules-amd "^6.24.1"
- babel-runtime "^6.22.0"
- babel-template "^6.24.1"
-
-babel-plugin-transform-es2015-object-super@^6.22.0:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz#24cef69ae21cb83a7f8603dad021f572eb278f8d"
- dependencies:
- babel-helper-replace-supers "^6.24.1"
- babel-runtime "^6.22.0"
-
-babel-plugin-transform-es2015-parameters@^6.23.0:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b"
- dependencies:
- babel-helper-call-delegate "^6.24.1"
- babel-helper-get-function-arity "^6.24.1"
- babel-runtime "^6.22.0"
- babel-template "^6.24.1"
- babel-traverse "^6.24.1"
- babel-types "^6.24.1"
-
-babel-plugin-transform-es2015-shorthand-properties@^6.22.0:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz#24f875d6721c87661bbd99a4622e51f14de38aa0"
- dependencies:
- babel-runtime "^6.22.0"
- babel-types "^6.24.1"
-
-babel-plugin-transform-es2015-spread@^6.22.0:
- version "6.22.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz#d6d68a99f89aedc4536c81a542e8dd9f1746f8d1"
- dependencies:
- babel-runtime "^6.22.0"
-
-babel-plugin-transform-es2015-sticky-regex@^6.22.0:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz#00c1cdb1aca71112cdf0cf6126c2ed6b457ccdbc"
- dependencies:
- babel-helper-regex "^6.24.1"
- babel-runtime "^6.22.0"
- babel-types "^6.24.1"
-
-babel-plugin-transform-es2015-template-literals@^6.22.0:
- version "6.22.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz#a84b3450f7e9f8f1f6839d6d687da84bb1236d8d"
- dependencies:
- babel-runtime "^6.22.0"
-
-babel-plugin-transform-es2015-typeof-symbol@^6.23.0:
- version "6.23.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz#dec09f1cddff94b52ac73d505c84df59dcceb372"
- dependencies:
- babel-runtime "^6.22.0"
-
-babel-plugin-transform-es2015-unicode-regex@^6.22.0:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz#d38b12f42ea7323f729387f18a7c5ae1faeb35e9"
- dependencies:
- babel-helper-regex "^6.24.1"
- babel-runtime "^6.22.0"
- regexpu-core "^2.0.0"
-
-babel-plugin-transform-exponentiation-operator@^6.22.0, babel-plugin-transform-exponentiation-operator@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e"
- dependencies:
- babel-helper-builder-binary-assignment-operator-visitor "^6.24.1"
- babel-plugin-syntax-exponentiation-operator "^6.8.0"
- babel-runtime "^6.22.0"
-
-babel-plugin-transform-flow-strip-types@^6.8.0:
- version "6.22.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz#84cb672935d43714fdc32bce84568d87441cf7cf"
+babel-plugin-dynamic-import-node@^2.3.3:
+ version "2.3.3"
+ resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz#84fda19c976ec5c6defef57f9427b3def66e17a3"
+ integrity sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==
dependencies:
- babel-plugin-syntax-flow "^6.18.0"
- babel-runtime "^6.22.0"
+ object.assign "^4.1.0"
-babel-plugin-transform-object-rest-spread@^6.22.0:
- version "6.26.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz#0f36692d50fef6b7e2d4b3ac1478137a963b7b06"
+babel-plugin-istanbul@^6.0.0:
+ version "6.0.0"
+ resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.0.0.tgz#e159ccdc9af95e0b570c75b4573b7c34d671d765"
+ integrity sha512-AF55rZXpe7trmEylbaE1Gv54wn6rwU03aptvRoVIGP8YykoSxqdVLV1TfwflBCE/QtHmqtP8SWlTENqbK8GCSQ==
dependencies:
- babel-plugin-syntax-object-rest-spread "^6.8.0"
- babel-runtime "^6.26.0"
+ "@babel/helper-plugin-utils" "^7.0.0"
+ "@istanbuljs/load-nyc-config" "^1.0.0"
+ "@istanbuljs/schema" "^0.1.2"
+ istanbul-lib-instrument "^4.0.0"
+ test-exclude "^6.0.0"
-babel-plugin-transform-regenerator@^6.22.0:
- version "6.26.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz#e0703696fbde27f0a3efcacf8b4dca2f7b3a8f2f"
+babel-plugin-jest-hoist@^26.0.0:
+ version "26.0.0"
+ resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.0.0.tgz#fd1d35f95cf8849fc65cb01b5e58aedd710b34a8"
+ integrity sha512-+AuoehOrjt9irZL7DOt2+4ZaTM6dlu1s5TTS46JBa0/qem4dy7VNW3tMb96qeEqcIh20LD73TVNtmVEeymTG7w==
dependencies:
- regenerator-transform "^0.10.0"
+ "@babel/template" "^7.3.3"
+ "@babel/types" "^7.3.3"
+ "@types/babel__traverse" "^7.0.6"
-babel-plugin-transform-strict-mode@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz#d5faf7aa578a65bbe591cf5edae04a0c67020758"
- dependencies:
- babel-runtime "^6.22.0"
- babel-types "^6.24.1"
+babel-plugin-syntax-dynamic-import@^6.18.0:
+ version "6.18.0"
+ resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
babel-plugin-transform-vue-jsx@^3.7.0:
version "3.7.0"
@@ -3014,133 +3917,51 @@ babel-plugin-transform-vue-jsx@^3.7.0:
esutils "^2.0.2"
babel-plugin-transform-vue-jsx@^4.0.1:
- version "4.0.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-vue-jsx/-/babel-plugin-transform-vue-jsx-4.0.1.tgz#2c8bddce87a6ef09eaa59869ff1bfbeeafc5f88d"
- dependencies:
- esutils "^2.0.2"
-
-babel-polyfill@6.26.0, babel-polyfill@^6.26.0:
- version "6.26.0"
- resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153"
- integrity sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=
- dependencies:
- babel-runtime "^6.26.0"
- core-js "^2.5.0"
- regenerator-runtime "^0.10.5"
-
-babel-preset-env@^1.6.0:
- version "1.6.1"
- resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.6.1.tgz#a18b564cc9b9afdf4aae57ae3c1b0d99188e6f48"
- dependencies:
- babel-plugin-check-es2015-constants "^6.22.0"
- babel-plugin-syntax-trailing-function-commas "^6.22.0"
- babel-plugin-transform-async-to-generator "^6.22.0"
- babel-plugin-transform-es2015-arrow-functions "^6.22.0"
- babel-plugin-transform-es2015-block-scoped-functions "^6.22.0"
- babel-plugin-transform-es2015-block-scoping "^6.23.0"
- babel-plugin-transform-es2015-classes "^6.23.0"
- babel-plugin-transform-es2015-computed-properties "^6.22.0"
- babel-plugin-transform-es2015-destructuring "^6.23.0"
- babel-plugin-transform-es2015-duplicate-keys "^6.22.0"
- babel-plugin-transform-es2015-for-of "^6.23.0"
- babel-plugin-transform-es2015-function-name "^6.22.0"
- babel-plugin-transform-es2015-literals "^6.22.0"
- babel-plugin-transform-es2015-modules-amd "^6.22.0"
- babel-plugin-transform-es2015-modules-commonjs "^6.23.0"
- babel-plugin-transform-es2015-modules-systemjs "^6.23.0"
- babel-plugin-transform-es2015-modules-umd "^6.23.0"
- babel-plugin-transform-es2015-object-super "^6.22.0"
- babel-plugin-transform-es2015-parameters "^6.23.0"
- babel-plugin-transform-es2015-shorthand-properties "^6.22.0"
- babel-plugin-transform-es2015-spread "^6.22.0"
- babel-plugin-transform-es2015-sticky-regex "^6.22.0"
- babel-plugin-transform-es2015-template-literals "^6.22.0"
- babel-plugin-transform-es2015-typeof-symbol "^6.23.0"
- babel-plugin-transform-es2015-unicode-regex "^6.22.0"
- babel-plugin-transform-exponentiation-operator "^6.22.0"
- babel-plugin-transform-regenerator "^6.22.0"
- browserslist "^2.1.2"
- invariant "^2.2.2"
- semver "^5.3.0"
-
-babel-preset-flow-vue@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/babel-preset-flow-vue/-/babel-preset-flow-vue-1.0.0.tgz#bd28eb64b53d65f9c47262b32ce6c6033fe70671"
- dependencies:
- babel-plugin-syntax-flow "^6.8.0"
- babel-plugin-transform-class-properties "^6.8.0"
- babel-plugin-transform-flow-strip-types "^6.8.0"
-
-babel-preset-stage-2@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-preset-stage-2/-/babel-preset-stage-2-6.24.1.tgz#d9e2960fb3d71187f0e64eec62bc07767219bdc1"
- dependencies:
- babel-plugin-syntax-dynamic-import "^6.18.0"
- babel-plugin-transform-class-properties "^6.24.1"
- babel-plugin-transform-decorators "^6.24.1"
- babel-preset-stage-3 "^6.24.1"
-
-babel-preset-stage-3@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-preset-stage-3/-/babel-preset-stage-3-6.24.1.tgz#836ada0a9e7a7fa37cb138fb9326f87934a48395"
- dependencies:
- babel-plugin-syntax-trailing-function-commas "^6.22.0"
- babel-plugin-transform-async-generator-functions "^6.24.1"
- babel-plugin-transform-async-to-generator "^6.24.1"
- babel-plugin-transform-exponentiation-operator "^6.24.1"
- babel-plugin-transform-object-rest-spread "^6.22.0"
-
-babel-register@^6.26.0:
- version "6.26.0"
- resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071"
- dependencies:
- babel-core "^6.26.0"
- babel-runtime "^6.26.0"
- core-js "^2.5.0"
- home-or-tmp "^2.0.0"
- lodash "^4.17.4"
- mkdirp "^0.5.1"
- source-map-support "^0.4.15"
-
-babel-runtime@^6.18.0, babel-runtime@^6.2.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0:
- version "6.26.0"
- resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
- dependencies:
- core-js "^2.4.0"
- regenerator-runtime "^0.11.0"
-
-babel-template@^6.24.1, babel-template@^6.26.0, babel-template@^6.3.0:
- version "6.26.0"
- resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02"
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/babel-plugin-transform-vue-jsx/-/babel-plugin-transform-vue-jsx-4.0.1.tgz#2c8bddce87a6ef09eaa59869ff1bfbeeafc5f88d"
dependencies:
- babel-runtime "^6.26.0"
- babel-traverse "^6.26.0"
- babel-types "^6.26.0"
- babylon "^6.18.0"
- lodash "^4.17.4"
+ esutils "^2.0.2"
-babel-traverse@^6.24.1, babel-traverse@^6.26.0:
+babel-polyfill@6.26.0, babel-polyfill@^6.26.0:
version "6.26.0"
- resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee"
+ resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153"
+ integrity sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=
dependencies:
- babel-code-frame "^6.26.0"
- babel-messages "^6.23.0"
babel-runtime "^6.26.0"
- babel-types "^6.26.0"
- babylon "^6.18.0"
- debug "^2.6.8"
- globals "^9.18.0"
- invariant "^2.2.2"
- lodash "^4.17.4"
+ core-js "^2.5.0"
+ regenerator-runtime "^0.10.5"
-babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.26.0:
+babel-preset-current-node-syntax@^0.1.2:
+ version "0.1.3"
+ resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.3.tgz#b4b547acddbf963cba555ba9f9cbbb70bfd044da"
+ integrity sha512-uyexu1sVwcdFnyq9o8UQYsXwXflIh8LvrF5+cKrYam93ned1CStffB3+BEcsxGSgagoA3GEyjDqO4a/58hyPYQ==
+ dependencies:
+ "@babel/plugin-syntax-async-generators" "^7.8.4"
+ "@babel/plugin-syntax-bigint" "^7.8.3"
+ "@babel/plugin-syntax-class-properties" "^7.8.3"
+ "@babel/plugin-syntax-import-meta" "^7.8.3"
+ "@babel/plugin-syntax-json-strings" "^7.8.3"
+ "@babel/plugin-syntax-logical-assignment-operators" "^7.8.3"
+ "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3"
+ "@babel/plugin-syntax-numeric-separator" "^7.8.3"
+ "@babel/plugin-syntax-object-rest-spread" "^7.8.3"
+ "@babel/plugin-syntax-optional-catch-binding" "^7.8.3"
+ "@babel/plugin-syntax-optional-chaining" "^7.8.3"
+
+babel-preset-jest@^26.0.0:
+ version "26.0.0"
+ resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-26.0.0.tgz#1eac82f513ad36c4db2e9263d7c485c825b1faa6"
+ integrity sha512-9ce+DatAa31DpR4Uir8g4Ahxs5K4W4L8refzt+qHWQANb6LhGcAEfIFgLUwk67oya2cCUd6t4eUMtO/z64ocNw==
+ dependencies:
+ babel-plugin-jest-hoist "^26.0.0"
+ babel-preset-current-node-syntax "^0.1.2"
+
+babel-runtime@^6.18.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0:
version "6.26.0"
- resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497"
+ resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
dependencies:
- babel-runtime "^6.26.0"
- esutils "^2.0.2"
- lodash "^4.17.4"
- to-fast-properties "^1.0.3"
+ core-js "^2.4.0"
+ regenerator-runtime "^0.11.0"
babylon@7.0.0-beta.40, babylon@^7.0.0-beta.40:
version "7.0.0-beta.40"
@@ -3150,7 +3971,7 @@ babylon@7.0.0-beta.47:
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.47.tgz#6d1fa44f0abec41ab7c780481e62fd9aafbdea80"
-babylon@^6.18.0, babylon@^6.8.4:
+babylon@^6.8.4:
version "6.18.0"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3"
@@ -3349,6 +4170,11 @@ browser-process-hrtime@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-0.1.2.tgz#425d68a58d3447f02a04aa894187fce8af8b7b8e"
+browser-process-hrtime@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626"
+ integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==
+
browser-stdout@1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60"
@@ -3413,13 +4239,6 @@ browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6:
caniuse-db "^1.0.30000639"
electron-to-chromium "^1.2.7"
-browserslist@^2.1.2:
- version "2.11.3"
- resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.11.3.tgz#fe36167aed1bbcde4827ebfe71347a2cc70b99b2"
- dependencies:
- caniuse-lite "^1.0.30000792"
- electron-to-chromium "^1.3.30"
-
browserslist@^3.0.0:
version "3.2.8"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-3.2.8.tgz#b0005361d6471f0f5952797a76fc985f1f978fc6"
@@ -3434,6 +4253,30 @@ browserslist@^3.2.7:
caniuse-lite "^1.0.30000835"
electron-to-chromium "^1.3.45"
+browserslist@^4.12.0, browserslist@^4.8.5:
+ version "4.12.0"
+ resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.12.0.tgz#06c6d5715a1ede6c51fc39ff67fd647f740b656d"
+ integrity sha512-UH2GkcEDSI0k/lRkuDSzFl9ZZ87skSy9w2XAn1MsZnL+4c4rqbBd3e82UWHbYDpztABrPBhZsTEeuxVfHppqDg==
+ dependencies:
+ caniuse-lite "^1.0.30001043"
+ electron-to-chromium "^1.3.413"
+ node-releases "^1.1.53"
+ pkg-up "^2.0.0"
+
+bs-logger@0.x:
+ version "0.2.6"
+ resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8"
+ integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==
+ dependencies:
+ fast-json-stable-stringify "2.x"
+
+bser@2.1.1:
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05"
+ integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==
+ dependencies:
+ node-int64 "^0.4.0"
+
btoa-lite@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337"
@@ -3453,7 +4296,7 @@ buble@^0.19.8:
os-homedir "^2.0.0"
regexpu-core "^4.5.4"
-buffer-from@^1.0.0:
+buffer-from@1.x, buffer-from@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"
integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==
@@ -3650,11 +4493,16 @@ camelcase@^4.0.0, camelcase@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd"
-camelcase@^5.0.0:
+camelcase@^5.0.0, camelcase@^5.3.1:
version "5.3.1"
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
+camelcase@^6.0.0:
+ version "6.0.0"
+ resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.0.0.tgz#5259f7c30e35e278f1bdc2a4d91230b37cad981e"
+ integrity sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w==
+
caniuse-api@^1.5.2:
version "1.6.1"
resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-1.6.1.tgz#b534e7c734c4f81ec5fbe8aca2ad24354b962c6c"
@@ -3668,10 +4516,6 @@ caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639:
version "1.0.30000810"
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000810.tgz#bd25830c41efab64339a2e381f49677343c84509"
-caniuse-lite@^1.0.30000792:
- version "1.0.30000810"
- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000810.tgz#47585fffce0e9f3593a6feea4673b945424351d9"
-
caniuse-lite@^1.0.30000835, caniuse-lite@^1.0.30000839:
version "1.0.30000843"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000843.tgz#4fdec258dc641c385744cdd49d23c5459c3d4411"
@@ -3680,6 +4524,18 @@ caniuse-lite@^1.0.30000844:
version "1.0.30000844"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000844.tgz#de7c84cde0582143cf4f5abdf1b98e5a0539ad4a"
+caniuse-lite@^1.0.30001043:
+ version "1.0.30001084"
+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001084.tgz#00e471931eaefbeef54f46aa2203914d3c165669"
+ integrity sha512-ftdc5oGmhEbLUuMZ/Qp3mOpzfZLCxPYKcvGv6v2dJJ+8EdqcvZRbAGOiLmkM/PV1QGta/uwBs8/nCl6sokDW6w==
+
+capture-exit@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/capture-exit/-/capture-exit-2.0.0.tgz#fb953bfaebeb781f62898239dabb426d08a509a4"
+ integrity sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==
+ dependencies:
+ rsvp "^4.8.4"
+
capture-stack-trace@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz#4a6fa07399c26bba47f0b2496b4d0fb408c5550d"
@@ -3727,6 +4583,19 @@ chalk@^1.0.0, chalk@^1.1.3:
strip-ansi "^3.0.0"
supports-color "^2.0.0"
+chalk@^4.0.0:
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a"
+ integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==
+ dependencies:
+ ansi-styles "^4.1.0"
+ supports-color "^7.1.0"
+
+char-regex@^1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf"
+ integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==
+
character-entities-legacy@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-1.1.1.tgz#f40779df1a101872bb510a3d295e1fccf147202f"
@@ -3923,6 +4792,15 @@ cliui@^5.0.0:
strip-ansi "^5.2.0"
wrap-ansi "^5.1.0"
+cliui@^6.0.0:
+ version "6.0.0"
+ resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1"
+ integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==
+ dependencies:
+ string-width "^4.2.0"
+ strip-ansi "^6.0.0"
+ wrap-ansi "^6.2.0"
+
clone-deep@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387"
@@ -3956,6 +4834,11 @@ collapse-white-space@^1.0.2:
version "1.0.3"
resolved "https://registry.yarnpkg.com/collapse-white-space/-/collapse-white-space-1.0.3.tgz#4b906f670e5a963a87b76b0e1689643341b6023c"
+collect-v8-coverage@^1.0.0:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59"
+ integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==
+
collection-visit@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0"
@@ -3969,10 +4852,22 @@ color-convert@^1.3.0, color-convert@^1.9.0:
dependencies:
color-name "^1.1.1"
+color-convert@^2.0.1:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"
+ integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==
+ dependencies:
+ color-name "~1.1.4"
+
color-name@^1.0.0, color-name@^1.1.1:
version "1.1.3"
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
+color-name@~1.1.4:
+ version "1.1.4"
+ resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
+ integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
+
color-string@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/color-string/-/color-string-0.3.0.tgz#27d46fb67025c5c2fa25993bfbf579e47841b991"
@@ -4443,10 +5338,17 @@ conventional-recommended-bump@^5.0.0:
meow "^4.0.0"
q "^1.5.1"
-convert-source-map@^1.1.0, convert-source-map@^1.5.0:
+convert-source-map@^1.1.0:
version "1.5.1"
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5"
+convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0:
+ version "1.7.0"
+ resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442"
+ integrity sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==
+ dependencies:
+ safe-buffer "~5.1.1"
+
cookie@0.3.1:
version "0.3.1"
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"
@@ -4486,6 +5388,14 @@ copy-webpack-plugin@^4.5.1:
p-limit "^1.0.0"
serialize-javascript "^1.4.0"
+core-js-compat@^3.6.2:
+ version "3.6.5"
+ resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.6.5.tgz#2a51d9a4e25dfd6e690251aa81f99e3c05481f1c"
+ integrity sha512-7ItTKOhOZbznhXAQ2g/slGg1PJV5zDO/WdkTwi7UEOJmkvsE32PWvx6mKtDjiMpjnR2CNf6BAD6sSxIlv7ptng==
+ dependencies:
+ browserslist "^4.8.5"
+ semver "7.0.0"
+
core-js@^2.2.0, core-js@^2.5.0:
version "2.5.3"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e"
@@ -4694,10 +5604,25 @@ css-what@2.1:
version "2.1.0"
resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.0.tgz#9467d032c38cfaefb9f2d79501253062f87fa1bd"
+css@^2.1.0:
+ version "2.2.4"
+ resolved "https://registry.yarnpkg.com/css/-/css-2.2.4.tgz#c646755c73971f2bba6a601e2cf2fd71b1298929"
+ integrity sha512-oUnjmWpy0niI3x/mPL8dVEI1l7MnG3+HHyRPHf+YFSbK+svOhXpmSOcDURUh2aOCgl2grzrOPt1nHLuCVFULLw==
+ dependencies:
+ inherits "^2.0.3"
+ source-map "^0.6.1"
+ source-map-resolve "^0.5.2"
+ urix "^0.1.0"
+
cssesc@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-0.1.0.tgz#c814903e45623371a0477b40109aaafbeeaddbb4"
+cssesc@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee"
+ integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==
+
cssnano@^3.10.0, cssnano@^3.4.0:
version "3.10.0"
resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-3.10.0.tgz#4f38f6cea2b9b17fa01490f23f1dc68ea65c1c38"
@@ -4746,12 +5671,29 @@ cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0":
version "0.3.2"
resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.2.tgz#b8036170c79f07a90ff2f16e22284027a243848b"
+cssom@^0.4.4:
+ version "0.4.4"
+ resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10"
+ integrity sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==
+
+cssom@~0.3.6:
+ version "0.3.8"
+ resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a"
+ integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==
+
cssstyle@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-1.1.1.tgz#18b038a9c44d65f7a8e428a653b9f6fe42faf5fb"
dependencies:
cssom "0.3.x"
+cssstyle@^2.2.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-2.3.0.tgz#ff665a0ddbdc31864b09647f34163443d90b0852"
+ integrity sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==
+ dependencies:
+ cssom "~0.3.6"
+
currently-unhandled@^0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/currently-unhandled/-/currently-unhandled-0.4.1.tgz#988df33feab191ef799a61369dd76c17adf957ea"
@@ -4822,6 +5764,15 @@ data-urls@^1.0.1:
whatwg-mimetype "^2.1.0"
whatwg-url "^7.0.0"
+data-urls@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b"
+ integrity sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==
+ dependencies:
+ abab "^2.0.3"
+ whatwg-mimetype "^2.3.0"
+ whatwg-url "^8.0.0"
+
date-fns@^1.27.2:
version "1.30.1"
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c"
@@ -4856,7 +5807,7 @@ debug@2.6.9, debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.1, debug@^2.6.
dependencies:
ms "2.0.0"
-debug@^4.1.1:
+debug@^4.1.0, debug@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==
@@ -4879,6 +5830,11 @@ decamelize@^1.0.0, decamelize@^1.1.0, decamelize@^1.1.1, decamelize@^1.1.2, deca
version "1.2.0"
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
+decimal.js@^10.2.0:
+ version "10.2.0"
+ resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.2.0.tgz#39466113a9e036111d02f82489b5fd6b0b5ed231"
+ integrity sha512-vDPw+rDgn3bZe1+F/pyEwb1oMG2XTlRVgAa6B4KccTEpYgF8w6eQllVbQcfIJnZyvzFtFpxnpGtx8dd7DJp/Rw==
+
decode-uri-component@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545"
@@ -4915,6 +5871,11 @@ deepmerge@^1.5.2:
version "1.5.2"
resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-1.5.2.tgz#10499d868844cdad4fee0842df8c7f6f0c95a753"
+deepmerge@^4.2.2:
+ version "4.2.2"
+ resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955"
+ integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==
+
defaults@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d"
@@ -5038,12 +5999,6 @@ detect-indent@6.0.0:
resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.0.0.tgz#0abd0f549f69fc6659a254fe96786186b6f528fd"
integrity sha512-oSyFlqaTHCItVRGK5RmrmjB+CmaMOW7IaNA/kdxqhoa6d17j/5ce9O9eWXmV/KEdRwqpQA+Vqe8a8Bsybu4YnA==
-detect-indent@^4.0.0:
- version "4.0.0"
- resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208"
- dependencies:
- repeating "^2.0.0"
-
detect-indent@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d"
@@ -5053,6 +6008,11 @@ detect-libc@^1.0.2:
resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=
+detect-newline@^3.0.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651"
+ integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==
+
dezalgo@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456"
@@ -5069,6 +6029,11 @@ diacritics@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/diacritics/-/diacritics-1.3.0.tgz#3efa87323ebb863e6696cebb0082d48ff3d6f7a1"
+diff-sequences@^26.0.0:
+ version "26.0.0"
+ resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.0.0.tgz#0760059a5c287637b842bd7085311db7060e88a6"
+ integrity sha512-JC/eHYEC3aSS0vZGjuoc4vHA0yAQTzhQQldXMeMF+JlxLGJlCO38Gma82NV9gk1jGFz8mDzUMeaKXvjRRdJ2dg==
+
diff@3.5.0, diff@^3.5.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
@@ -5166,6 +6131,13 @@ domexception@^1.0.1:
dependencies:
webidl-conversions "^4.0.2"
+domexception@^2.0.1:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304"
+ integrity sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==
+ dependencies:
+ webidl-conversions "^5.0.0"
+
domhandler@2.1:
version "2.1.0"
resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.1.0.tgz#d2646f5e57f6c3bab11cf6cb05d3c0acf7412594"
@@ -5249,10 +6221,15 @@ ee-first@1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
-electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.30:
+electron-to-chromium@^1.2.7:
version "1.3.34"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.34.tgz#d93498f40391bb0c16a603d8241b9951404157ed"
+electron-to-chromium@^1.3.413:
+ version "1.3.479"
+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.479.tgz#9f3c4db5be1ba219281f708d3abf47c04830fccf"
+ integrity sha512-yQleB+7Pf5rkSNaFwdYqbLFKc8cbQbKCJrAjS5gMgHYKrvgiK7i5f4nFihkBc0Hc+56ldKqq+WQMXfb+Aj4xOA==
+
electron-to-chromium@^1.3.45, electron-to-chromium@^1.3.47:
version "1.3.47"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.47.tgz#764e887ca9104d01a0ac8eabee7dfc0e2ce14104"
@@ -5279,6 +6256,11 @@ emoji-regex@^7.0.1:
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156"
integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==
+emoji-regex@^8.0.0:
+ version "8.0.0"
+ resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
+ integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==
+
emojis-list@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389"
@@ -5502,6 +6484,11 @@ escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
+escape-string-regexp@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344"
+ integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==
+
escodegen@^1.11.0:
version "1.11.0"
resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.11.0.tgz#b27a9389481d5bfd5bec76f7bb1eb3f8f4556589"
@@ -5513,6 +6500,18 @@ escodegen@^1.11.0:
optionalDependencies:
source-map "~0.6.1"
+escodegen@^1.14.1:
+ version "1.14.2"
+ resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.2.tgz#14ab71bf5026c2aa08173afba22c6f3173284a84"
+ integrity sha512-InuOIiKk8wwuOFg6x9BQXbzjrQhtyXh46K9bqVTPzSo2FnyMBaYGBMC6PhQy7yxxil9vIedFBweQBMK74/7o8A==
+ dependencies:
+ esprima "^4.0.1"
+ estraverse "^4.2.0"
+ esutils "^2.0.2"
+ optionator "^0.8.1"
+ optionalDependencies:
+ source-map "~0.6.1"
+
escope@^3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/escope/-/escope-3.6.0.tgz#e01975e812781a163a6dadfdd80398dc64c889c3"
@@ -5621,6 +6620,11 @@ esprima@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804"
+esprima@^4.0.1:
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
+ integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==
+
esquery@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.0.0.tgz#cfba8b57d7fba93f17298a8a006a04cda13d80fa"
@@ -5678,6 +6682,11 @@ evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3:
md5.js "^1.3.4"
safe-buffer "^5.1.1"
+exec-sh@^0.3.2:
+ version "0.3.4"
+ resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.3.4.tgz#3a018ceb526cc6f6df2bb504b2bfe8e3a4934ec5"
+ integrity sha512-sEFIkc61v75sWeOe72qyrqg2Qg0OuLESziUDk/O/z2qgS15y2gWVFrI6f2Qn/qw/0/NCfCEsmNA4zOjkwEZT1A==
+
execa@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777"
@@ -5730,6 +6739,26 @@ execa@^2.0.3:
signal-exit "^3.0.2"
strip-final-newline "^2.0.0"
+execa@^4.0.0:
+ version "4.0.2"
+ resolved "https://registry.yarnpkg.com/execa/-/execa-4.0.2.tgz#ad87fb7b2d9d564f70d2b62d511bee41d5cbb240"
+ integrity sha512-QI2zLa6CjGWdiQsmSkZoGtDx2N+cQIGb3yNolGTdjSQzydzLgYYf8LRuagp7S7fPimjcrzUDSUFd/MgzELMi4Q==
+ dependencies:
+ cross-spawn "^7.0.0"
+ get-stream "^5.0.0"
+ human-signals "^1.1.1"
+ is-stream "^2.0.0"
+ merge-stream "^2.0.0"
+ npm-run-path "^4.0.0"
+ onetime "^5.1.0"
+ signal-exit "^3.0.2"
+ strip-final-newline "^2.0.0"
+
+exit@^0.1.2:
+ version "0.1.2"
+ resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c"
+ integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=
+
expand-braces@^0.1.1:
version "0.1.2"
resolved "https://registry.yarnpkg.com/expand-braces/-/expand-braces-0.1.2.tgz#488b1d1d2451cb3d3a6b192cfc030f44c5855fea"
@@ -5778,6 +6807,18 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2:
dependencies:
homedir-polyfill "^1.0.1"
+expect@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/expect/-/expect-26.0.1.tgz#18697b9611a7e2725e20ba3ceadda49bc9865421"
+ integrity sha512-QcCy4nygHeqmbw564YxNbHTJlXh47dVID2BUP52cZFpLU9zHViMFK6h07cC1wf7GYCTIigTdAXhVua8Yl1FkKg==
+ dependencies:
+ "@jest/types" "^26.0.1"
+ ansi-styles "^4.0.0"
+ jest-get-type "^26.0.0"
+ jest-matcher-utils "^26.0.1"
+ jest-message-util "^26.0.1"
+ jest-regex-util "^26.0.0"
+
extend-shallow@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f"
@@ -5836,6 +6877,13 @@ extglob@^2.0.4:
snapdragon "^0.8.1"
to-regex "^3.0.1"
+extract-from-css@^0.4.4:
+ version "0.4.4"
+ resolved "https://registry.yarnpkg.com/extract-from-css/-/extract-from-css-0.4.4.tgz#1ea7df2e7c7c6eb9922fa08e8adaea486f6f8f92"
+ integrity sha1-HqffLnx8brmSL6COitrqSG9vj5I=
+ dependencies:
+ css "^2.1.0"
+
extract-zip@^1.6.5:
version "1.6.6"
resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.6.6.tgz#1290ede8d20d0872b429fd3f351ca128ec5ef85c"
@@ -5859,6 +6907,11 @@ fast-deep-equal@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz#96256a3bc975595eb36d82e9929d060d893439ff"
+fast-deep-equal@^3.1.1:
+ version "3.1.3"
+ resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
+ integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
+
fast-glob@^2.0.2:
version "2.2.2"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.2.tgz#71723338ac9b4e0e2fff1d6748a2a13d5ed352bf"
@@ -5893,6 +6946,11 @@ fast-glob@^3.0.3:
merge2 "^1.3.0"
micromatch "^4.0.2"
+fast-json-stable-stringify@2.x:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"
+ integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==
+
fast-json-stable-stringify@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
@@ -5912,6 +6970,13 @@ fastq@^1.6.0:
dependencies:
reusify "^1.0.0"
+fb-watchman@^2.0.0:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.1.tgz#fc84fb39d2709cf3ff6d743706157bb5708a8a85"
+ integrity sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==
+ dependencies:
+ bser "2.1.1"
+
fd-slicer@~1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.0.1.tgz#8b5bcbd9ec327c5041bf9ab023fd6750f1177e65"
@@ -6042,7 +7107,7 @@ find-up@^3.0.0:
dependencies:
locate-path "^3.0.0"
-find-up@^4.0.0:
+find-up@^4.0.0, find-up@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==
@@ -6211,6 +7276,11 @@ fsevents@^1.1.2:
nan "^2.9.2"
node-pre-gyp "^0.10.0"
+fsevents@^2.1.2:
+ version "2.1.3"
+ resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e"
+ integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==
+
function-bind@^1.0.2, function-bind@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
@@ -6238,6 +7308,11 @@ genfun@^5.0.0:
resolved "https://registry.yarnpkg.com/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537"
integrity sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA==
+gensync@^1.0.0-beta.1:
+ version "1.0.0-beta.1"
+ resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269"
+ integrity sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg==
+
get-caller-file@^1.0.1:
version "1.0.3"
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a"
@@ -6257,6 +7332,11 @@ get-own-enumerable-property-symbols@^3.0.0:
resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664"
integrity sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==
+get-package-type@^0.1.0:
+ version "0.1.0"
+ resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a"
+ integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==
+
get-pkg-repo@^1.0.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz#c73b489c06d80cc5536c2c853f9e05232056972d"
@@ -6496,10 +7576,6 @@ globals@^11.0.1, globals@^11.1.0:
version "11.3.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-11.3.0.tgz#e04fdb7b9796d8adac9c8f64c14837b2313378b0"
-globals@^9.18.0:
- version "9.18.0"
- resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a"
-
globby@^10.0.1:
version "10.0.2"
resolved "https://registry.yarnpkg.com/globby/-/globby-10.0.2.tgz#277593e745acaa4646c3ab411289ec47a0392543"
@@ -6600,6 +7676,11 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423"
integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==
+graceful-fs@^4.2.4:
+ version "4.2.4"
+ resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb"
+ integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==
+
gray-matter@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/gray-matter/-/gray-matter-4.0.1.tgz#375263c194f0d9755578c277e41b1c1dfdf22c7d"
@@ -6614,6 +7695,11 @@ growl@1.10.5:
resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e"
integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==
+growly@^1.3.0:
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
+ integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=
+
handlebars@^4.4.0:
version "4.5.1"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.5.1.tgz#8a01c382c180272260d07f2d1aa3ae745715c7ba"
@@ -6643,6 +7729,14 @@ har-validator@~5.1.0:
ajv "^5.3.0"
har-schema "^2.0.0"
+har-validator@~5.1.3:
+ version "5.1.3"
+ resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080"
+ integrity sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==
+ dependencies:
+ ajv "^6.5.5"
+ har-schema "^2.0.0"
+
has-ansi@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
@@ -6673,6 +7767,11 @@ has-flag@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
+has-flag@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
+ integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
+
has-symbols@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44"
@@ -6778,13 +7877,6 @@ hogan.js@^3.0.2:
mkdirp "0.3.0"
nopt "1.0.10"
-home-or-tmp@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8"
- dependencies:
- os-homedir "^1.0.0"
- os-tmpdir "^1.0.1"
-
homedir-polyfill@^1.0.1:
version "1.0.3"
resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8"
@@ -6807,6 +7899,18 @@ html-encoding-sniffer@^1.0.2:
dependencies:
whatwg-encoding "^1.0.1"
+html-encoding-sniffer@^2.0.1:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz#42a6dc4fd33f00281176e8b23759ca4e4fa185f3"
+ integrity sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==
+ dependencies:
+ whatwg-encoding "^1.0.5"
+
+html-escaper@^2.0.0:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453"
+ integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==
+
html-minifier@^3.2.3:
version "3.5.15"
resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.5.15.tgz#f869848d4543cbfd84f26d5514a2a87cbf9a05e0"
@@ -6904,6 +8008,11 @@ https-proxy-agent@^2.2.3:
agent-base "^4.3.0"
debug "^3.1.0"
+human-signals@^1.1.1:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3"
+ integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==
+
humanize-ms@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed"
@@ -6938,7 +8047,7 @@ iconv-lite@0.4.23, iconv-lite@^0.4.4:
dependencies:
safer-buffer ">= 2.1.2 < 3"
-iconv-lite@^0.4.24, iconv-lite@~0.4.13:
+iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@~0.4.13:
version "0.4.24"
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==
@@ -7022,6 +8131,14 @@ import-local@^2.0.0:
pkg-dir "^3.0.0"
resolve-cwd "^2.0.0"
+import-local@^3.0.2:
+ version "3.0.2"
+ resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.0.2.tgz#a8cfd0431d1de4a2199703d003e3e62364fa6db6"
+ integrity sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==
+ dependencies:
+ pkg-dir "^4.2.0"
+ resolve-cwd "^3.0.0"
+
imurmurhash@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
@@ -7165,11 +8282,23 @@ invariant@^2.2.0, invariant@^2.2.2:
dependencies:
loose-envify "^1.0.0"
+invariant@^2.2.4:
+ version "2.2.4"
+ resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
+ integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==
+ dependencies:
+ loose-envify "^1.0.0"
+
invert-kv@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6"
integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY=
+ip-regex@^2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9"
+ integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=
+
ip@1.1.5:
version "1.1.5"
resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"
@@ -7282,6 +8411,11 @@ is-directory@^0.3.1:
version "0.3.1"
resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1"
+is-docker@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.0.0.tgz#2cb0df0e75e2d064fe1864c37cdeacb7b2dcf25b"
+ integrity sha512-pJEdRugimx4fBMra5z2/5iRdZ63OhYV0vr0Dwm5+xtW4D1FvRkB8hamMIhnWfyJeDdyr/aa7BDyNbtG38VxgoQ==
+
is-dotfile@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1"
@@ -7331,6 +8465,16 @@ is-fullwidth-code-point@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f"
+is-fullwidth-code-point@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"
+ integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==
+
+is-generator-fn@^2.0.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118"
+ integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==
+
is-generator-function@^1.0.3:
version "1.0.7"
resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.7.tgz#d2132e529bb0000a7f80794d4bdf5cd5e5813522"
@@ -7492,6 +8636,11 @@ is-posix-bracket@^0.1.0:
resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4"
integrity sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=
+is-potential-custom-element-name@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.0.tgz#0c52e54bcca391bb2c494b21e8626d7336c6e397"
+ integrity sha1-DFLlS8yjkbssSUsh6GJtczbG45c=
+
is-primitive@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575"
@@ -7570,7 +8719,7 @@ is-text-path@^2.0.0:
dependencies:
text-extensions "^2.0.0"
-is-typedarray@~1.0.0:
+is-typedarray@^1.0.0, is-typedarray@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
@@ -7601,6 +8750,13 @@ is-wsl@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d"
+is-wsl@^2.1.1:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271"
+ integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==
+ dependencies:
+ is-docker "^2.0.0"
+
isarray@0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"
@@ -7655,10 +8811,411 @@ isstream@~0.1.2:
resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=
+istanbul-lib-coverage@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz#f5944a37c70b550b02a78a5c3b2055b280cec8ec"
+ integrity sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==
+
+istanbul-lib-instrument@^4.0.0:
+ version "4.0.3"
+ resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz#873c6fff897450118222774696a3f28902d77c1d"
+ integrity sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==
+ dependencies:
+ "@babel/core" "^7.7.5"
+ "@istanbuljs/schema" "^0.1.2"
+ istanbul-lib-coverage "^3.0.0"
+ semver "^6.3.0"
+
+istanbul-lib-report@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6"
+ integrity sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==
+ dependencies:
+ istanbul-lib-coverage "^3.0.0"
+ make-dir "^3.0.0"
+ supports-color "^7.1.0"
+
+istanbul-lib-source-maps@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.0.tgz#75743ce6d96bb86dc7ee4352cf6366a23f0b1ad9"
+ integrity sha512-c16LpFRkR8vQXyHZ5nLpY35JZtzj1PQY1iZmesUbf1FZHbIupcWfjgOXBY9YHkLEQ6puz1u4Dgj6qmU/DisrZg==
+ dependencies:
+ debug "^4.1.1"
+ istanbul-lib-coverage "^3.0.0"
+ source-map "^0.6.1"
+
+istanbul-reports@^3.0.2:
+ version "3.0.2"
+ resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.0.2.tgz#d593210e5000683750cb09fc0644e4b6e27fd53b"
+ integrity sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw==
+ dependencies:
+ html-escaper "^2.0.0"
+ istanbul-lib-report "^3.0.0"
+
javascript-stringify@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-1.6.0.tgz#142d111f3a6e3dae8f4a9afd77d45855b5a9cce3"
+jest-changed-files@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-26.0.1.tgz#1334630c6a1ad75784120f39c3aa9278e59f349f"
+ integrity sha512-q8LP9Sint17HaE2LjxQXL+oYWW/WeeXMPE2+Op9X3mY8IEGFVc14xRxFjUuXUbcPAlDLhtWdIEt59GdQbn76Hw==
+ dependencies:
+ "@jest/types" "^26.0.1"
+ execa "^4.0.0"
+ throat "^5.0.0"
+
+jest-cli@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-26.0.1.tgz#3a42399a4cbc96a519b99ad069a117d955570cac"
+ integrity sha512-pFLfSOBcbG9iOZWaMK4Een+tTxi/Wcm34geqZEqrst9cZDkTQ1LZ2CnBrTlHWuYAiTMFr0EQeK52ScyFU8wK+w==
+ dependencies:
+ "@jest/core" "^26.0.1"
+ "@jest/test-result" "^26.0.1"
+ "@jest/types" "^26.0.1"
+ chalk "^4.0.0"
+ exit "^0.1.2"
+ graceful-fs "^4.2.4"
+ import-local "^3.0.2"
+ is-ci "^2.0.0"
+ jest-config "^26.0.1"
+ jest-util "^26.0.1"
+ jest-validate "^26.0.1"
+ prompts "^2.0.1"
+ yargs "^15.3.1"
+
+jest-config@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-26.0.1.tgz#096a3d4150afadf719d1fab00e9a6fb2d6d67507"
+ integrity sha512-9mWKx2L1LFgOXlDsC4YSeavnblN6A4CPfXFiobq+YYLaBMymA/SczN7xYTSmLaEYHZOcB98UdoN4m5uNt6tztg==
+ dependencies:
+ "@babel/core" "^7.1.0"
+ "@jest/test-sequencer" "^26.0.1"
+ "@jest/types" "^26.0.1"
+ babel-jest "^26.0.1"
+ chalk "^4.0.0"
+ deepmerge "^4.2.2"
+ glob "^7.1.1"
+ graceful-fs "^4.2.4"
+ jest-environment-jsdom "^26.0.1"
+ jest-environment-node "^26.0.1"
+ jest-get-type "^26.0.0"
+ jest-jasmine2 "^26.0.1"
+ jest-regex-util "^26.0.0"
+ jest-resolve "^26.0.1"
+ jest-util "^26.0.1"
+ jest-validate "^26.0.1"
+ micromatch "^4.0.2"
+ pretty-format "^26.0.1"
+
+jest-diff@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-26.0.1.tgz#c44ab3cdd5977d466de69c46929e0e57f89aa1de"
+ integrity sha512-odTcHyl5X+U+QsczJmOjWw5tPvww+y9Yim5xzqxVl/R1j4z71+fHW4g8qu1ugMmKdFdxw+AtQgs5mupPnzcIBQ==
+ dependencies:
+ chalk "^4.0.0"
+ diff-sequences "^26.0.0"
+ jest-get-type "^26.0.0"
+ pretty-format "^26.0.1"
+
+jest-docblock@^26.0.0:
+ version "26.0.0"
+ resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-26.0.0.tgz#3e2fa20899fc928cb13bd0ff68bd3711a36889b5"
+ integrity sha512-RDZ4Iz3QbtRWycd8bUEPxQsTlYazfYn/h5R65Fc6gOfwozFhoImx+affzky/FFBuqISPTqjXomoIGJVKBWoo0w==
+ dependencies:
+ detect-newline "^3.0.0"
+
+jest-each@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-26.0.1.tgz#633083061619302fc90dd8f58350f9d77d67be04"
+ integrity sha512-OTgJlwXCAR8NIWaXFL5DBbeS4QIYPuNASkzSwMCJO+ywo9BEa6TqkaSWsfR7VdbMLdgYJqSfQcIyjJCNwl5n4Q==
+ dependencies:
+ "@jest/types" "^26.0.1"
+ chalk "^4.0.0"
+ jest-get-type "^26.0.0"
+ jest-util "^26.0.1"
+ pretty-format "^26.0.1"
+
+jest-environment-jsdom@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-26.0.1.tgz#217690852e5bdd7c846a4e3b50c8ffd441dfd249"
+ integrity sha512-u88NJa3aptz2Xix2pFhihRBAatwZHWwSiRLBDBQE1cdJvDjPvv7ZGA0NQBxWwDDn7D0g1uHqxM8aGgfA9Bx49g==
+ dependencies:
+ "@jest/environment" "^26.0.1"
+ "@jest/fake-timers" "^26.0.1"
+ "@jest/types" "^26.0.1"
+ jest-mock "^26.0.1"
+ jest-util "^26.0.1"
+ jsdom "^16.2.2"
+
+jest-environment-node@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-26.0.1.tgz#584a9ff623124ff6eeb49e0131b5f7612b310b13"
+ integrity sha512-4FRBWcSn5yVo0KtNav7+5NH5Z/tEgDLp7VRQVS5tCouWORxj+nI+1tOLutM07Zb2Qi7ja+HEDoOUkjBSWZg/IQ==
+ dependencies:
+ "@jest/environment" "^26.0.1"
+ "@jest/fake-timers" "^26.0.1"
+ "@jest/types" "^26.0.1"
+ jest-mock "^26.0.1"
+ jest-util "^26.0.1"
+
+jest-get-type@^26.0.0:
+ version "26.0.0"
+ resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-26.0.0.tgz#381e986a718998dbfafcd5ec05934be538db4039"
+ integrity sha512-zRc1OAPnnws1EVfykXOj19zo2EMw5Hi6HLbFCSjpuJiXtOWAYIjNsHVSbpQ8bDX7L5BGYGI8m+HmKdjHYFF0kg==
+
+jest-haste-map@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-26.0.1.tgz#40dcc03c43ac94d25b8618075804d09cd5d49de7"
+ integrity sha512-J9kBl/EdjmDsvyv7CiyKY5+DsTvVOScenprz/fGqfLg/pm1gdjbwwQ98nW0t+OIt+f+5nAVaElvn/6wP5KO7KA==
+ dependencies:
+ "@jest/types" "^26.0.1"
+ "@types/graceful-fs" "^4.1.2"
+ anymatch "^3.0.3"
+ fb-watchman "^2.0.0"
+ graceful-fs "^4.2.4"
+ jest-serializer "^26.0.0"
+ jest-util "^26.0.1"
+ jest-worker "^26.0.0"
+ micromatch "^4.0.2"
+ sane "^4.0.3"
+ walker "^1.0.7"
+ which "^2.0.2"
+ optionalDependencies:
+ fsevents "^2.1.2"
+
+jest-jasmine2@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-26.0.1.tgz#947c40ee816636ba23112af3206d6fa7b23c1c1c"
+ integrity sha512-ILaRyiWxiXOJ+RWTKupzQWwnPaeXPIoLS5uW41h18varJzd9/7I0QJGqg69fhTT1ev9JpSSo9QtalriUN0oqOg==
+ dependencies:
+ "@babel/traverse" "^7.1.0"
+ "@jest/environment" "^26.0.1"
+ "@jest/source-map" "^26.0.0"
+ "@jest/test-result" "^26.0.1"
+ "@jest/types" "^26.0.1"
+ chalk "^4.0.0"
+ co "^4.6.0"
+ expect "^26.0.1"
+ is-generator-fn "^2.0.0"
+ jest-each "^26.0.1"
+ jest-matcher-utils "^26.0.1"
+ jest-message-util "^26.0.1"
+ jest-runtime "^26.0.1"
+ jest-snapshot "^26.0.1"
+ jest-util "^26.0.1"
+ pretty-format "^26.0.1"
+ throat "^5.0.0"
+
+jest-leak-detector@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-26.0.1.tgz#79b19ab3f41170e0a78eb8fa754a116d3447fb8c"
+ integrity sha512-93FR8tJhaYIWrWsbmVN1pQ9ZNlbgRpfvrnw5LmgLRX0ckOJ8ut/I35CL7awi2ecq6Ca4lL59bEK9hr7nqoHWPA==
+ dependencies:
+ jest-get-type "^26.0.0"
+ pretty-format "^26.0.1"
+
+jest-matcher-utils@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-26.0.1.tgz#12e1fc386fe4f14678f4cc8dbd5ba75a58092911"
+ integrity sha512-PUMlsLth0Azen8Q2WFTwnSkGh2JZ8FYuwijC8NR47vXKpsrKmA1wWvgcj1CquuVfcYiDEdj985u5Wmg7COEARw==
+ dependencies:
+ chalk "^4.0.0"
+ jest-diff "^26.0.1"
+ jest-get-type "^26.0.0"
+ pretty-format "^26.0.1"
+
+jest-message-util@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-26.0.1.tgz#07af1b42fc450b4cc8e90e4c9cef11b33ce9b0ac"
+ integrity sha512-CbK8uQREZ8umUfo8+zgIfEt+W7HAHjQCoRaNs4WxKGhAYBGwEyvxuK81FXa7VeB9pwDEXeeKOB2qcsNVCAvB7Q==
+ dependencies:
+ "@babel/code-frame" "^7.0.0"
+ "@jest/types" "^26.0.1"
+ "@types/stack-utils" "^1.0.1"
+ chalk "^4.0.0"
+ graceful-fs "^4.2.4"
+ micromatch "^4.0.2"
+ slash "^3.0.0"
+ stack-utils "^2.0.2"
+
+jest-mock@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-26.0.1.tgz#7fd1517ed4955397cf1620a771dc2d61fad8fd40"
+ integrity sha512-MpYTBqycuPYSY6xKJognV7Ja46/TeRbAZept987Zp+tuJvMN0YBWyyhG9mXyYQaU3SBI0TUlSaO5L3p49agw7Q==
+ dependencies:
+ "@jest/types" "^26.0.1"
+
+jest-pnp-resolver@^1.2.1:
+ version "1.2.1"
+ resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.1.tgz#ecdae604c077a7fbc70defb6d517c3c1c898923a"
+ integrity sha512-pgFw2tm54fzgYvc/OHrnysABEObZCUNFnhjoRjaVOCN8NYc032/gVjPaHD4Aq6ApkSieWtfKAFQtmDKAmhupnQ==
+
+jest-regex-util@^26.0.0:
+ version "26.0.0"
+ resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-26.0.0.tgz#d25e7184b36e39fd466c3bc41be0971e821fee28"
+ integrity sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A==
+
+jest-resolve-dependencies@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-26.0.1.tgz#607ba7ccc32151d185a477cff45bf33bce417f0b"
+ integrity sha512-9d5/RS/ft0vB/qy7jct/qAhzJsr6fRQJyGAFigK3XD4hf9kIbEH5gks4t4Z7kyMRhowU6HWm/o8ILqhaHdSqLw==
+ dependencies:
+ "@jest/types" "^26.0.1"
+ jest-regex-util "^26.0.0"
+ jest-snapshot "^26.0.1"
+
+jest-resolve@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-26.0.1.tgz#21d1ee06f9ea270a343a8893051aeed940cde736"
+ integrity sha512-6jWxk0IKZkPIVTvq6s72RH735P8f9eCJW3IM5CX/SJFeKq1p2cZx0U49wf/SdMlhaB/anann5J2nCJj6HrbezQ==
+ dependencies:
+ "@jest/types" "^26.0.1"
+ chalk "^4.0.0"
+ graceful-fs "^4.2.4"
+ jest-pnp-resolver "^1.2.1"
+ jest-util "^26.0.1"
+ read-pkg-up "^7.0.1"
+ resolve "^1.17.0"
+ slash "^3.0.0"
+
+jest-runner@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-26.0.1.tgz#ea03584b7ae4bacfb7e533d680a575a49ae35d50"
+ integrity sha512-CApm0g81b49Znm4cZekYQK67zY7kkB4umOlI2Dx5CwKAzdgw75EN+ozBHRvxBzwo1ZLYZ07TFxkaPm+1t4d8jA==
+ dependencies:
+ "@jest/console" "^26.0.1"
+ "@jest/environment" "^26.0.1"
+ "@jest/test-result" "^26.0.1"
+ "@jest/types" "^26.0.1"
+ chalk "^4.0.0"
+ exit "^0.1.2"
+ graceful-fs "^4.2.4"
+ jest-config "^26.0.1"
+ jest-docblock "^26.0.0"
+ jest-haste-map "^26.0.1"
+ jest-jasmine2 "^26.0.1"
+ jest-leak-detector "^26.0.1"
+ jest-message-util "^26.0.1"
+ jest-resolve "^26.0.1"
+ jest-runtime "^26.0.1"
+ jest-util "^26.0.1"
+ jest-worker "^26.0.0"
+ source-map-support "^0.5.6"
+ throat "^5.0.0"
+
+jest-runtime@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-26.0.1.tgz#a121a6321235987d294168e282d52b364d7d3f89"
+ integrity sha512-Ci2QhYFmANg5qaXWf78T2Pfo6GtmIBn2rRaLnklRyEucmPccmCKvS9JPljcmtVamsdMmkyNkVFb9pBTD6si9Lw==
+ dependencies:
+ "@jest/console" "^26.0.1"
+ "@jest/environment" "^26.0.1"
+ "@jest/fake-timers" "^26.0.1"
+ "@jest/globals" "^26.0.1"
+ "@jest/source-map" "^26.0.0"
+ "@jest/test-result" "^26.0.1"
+ "@jest/transform" "^26.0.1"
+ "@jest/types" "^26.0.1"
+ "@types/yargs" "^15.0.0"
+ chalk "^4.0.0"
+ collect-v8-coverage "^1.0.0"
+ exit "^0.1.2"
+ glob "^7.1.3"
+ graceful-fs "^4.2.4"
+ jest-config "^26.0.1"
+ jest-haste-map "^26.0.1"
+ jest-message-util "^26.0.1"
+ jest-mock "^26.0.1"
+ jest-regex-util "^26.0.0"
+ jest-resolve "^26.0.1"
+ jest-snapshot "^26.0.1"
+ jest-util "^26.0.1"
+ jest-validate "^26.0.1"
+ slash "^3.0.0"
+ strip-bom "^4.0.0"
+ yargs "^15.3.1"
+
+jest-serializer@^26.0.0:
+ version "26.0.0"
+ resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-26.0.0.tgz#f6c521ddb976943b93e662c0d4d79245abec72a3"
+ integrity sha512-sQGXLdEGWFAE4wIJ2ZaIDb+ikETlUirEOBsLXdoBbeLhTHkZUJwgk3+M8eyFizhM6le43PDCCKPA1hzkSDo4cQ==
+ dependencies:
+ graceful-fs "^4.2.4"
+
+jest-snapshot@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-26.0.1.tgz#1baa942bd83d47b837a84af7fcf5fd4a236da399"
+ integrity sha512-jxd+cF7+LL+a80qh6TAnTLUZHyQoWwEHSUFJjkw35u3Gx+BZUNuXhYvDqHXr62UQPnWo2P6fvQlLjsU93UKyxA==
+ dependencies:
+ "@babel/types" "^7.0.0"
+ "@jest/types" "^26.0.1"
+ "@types/prettier" "^2.0.0"
+ chalk "^4.0.0"
+ expect "^26.0.1"
+ graceful-fs "^4.2.4"
+ jest-diff "^26.0.1"
+ jest-get-type "^26.0.0"
+ jest-matcher-utils "^26.0.1"
+ jest-message-util "^26.0.1"
+ jest-resolve "^26.0.1"
+ make-dir "^3.0.0"
+ natural-compare "^1.4.0"
+ pretty-format "^26.0.1"
+ semver "^7.3.2"
+
+jest-util@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-26.0.1.tgz#72c4c51177b695fdd795ca072a6f94e3d7cef00a"
+ integrity sha512-byQ3n7ad1BO/WyFkYvlWQHTsomB6GIewBh8tlGtusiylAlaxQ1UpS0XYH0ngOyhZuHVLN79Qvl6/pMiDMSSG1g==
+ dependencies:
+ "@jest/types" "^26.0.1"
+ chalk "^4.0.0"
+ graceful-fs "^4.2.4"
+ is-ci "^2.0.0"
+ make-dir "^3.0.0"
+
+jest-validate@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-26.0.1.tgz#a62987e1da5b7f724130f904725e22f4e5b2e23c"
+ integrity sha512-u0xRc+rbmov/VqXnX3DlkxD74rHI/CfS5xaV2VpeaVySjbb1JioNVOyly5b56q2l9ZKe7bVG5qWmjfctkQb0bA==
+ dependencies:
+ "@jest/types" "^26.0.1"
+ camelcase "^6.0.0"
+ chalk "^4.0.0"
+ jest-get-type "^26.0.0"
+ leven "^3.1.0"
+ pretty-format "^26.0.1"
+
+jest-watcher@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-26.0.1.tgz#5b5e3ebbdf10c240e22a98af66d645631afda770"
+ integrity sha512-pdZPydsS8475f89kGswaNsN3rhP6lnC3/QDCppP7bg1L9JQz7oU9Mb/5xPETk1RHDCWeqmVC47M4K5RR7ejxFw==
+ dependencies:
+ "@jest/test-result" "^26.0.1"
+ "@jest/types" "^26.0.1"
+ ansi-escapes "^4.2.1"
+ chalk "^4.0.0"
+ jest-util "^26.0.1"
+ string-length "^4.0.1"
+
+jest-worker@^26.0.0:
+ version "26.0.0"
+ resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.0.0.tgz#4920c7714f0a96c6412464718d0c58a3df3fb066"
+ integrity sha512-pPaYa2+JnwmiZjK9x7p9BoZht+47ecFCDFA/CJxspHzeDvQcfVBLWzCiWyo+EGrSiQMWZtCFo9iSvMZnAAo8vw==
+ dependencies:
+ merge-stream "^2.0.0"
+ supports-color "^7.0.0"
+
+jest@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/jest/-/jest-26.0.1.tgz#5c51a2e58dff7525b65f169721767173bf832694"
+ integrity sha512-29Q54kn5Bm7ZGKIuH2JRmnKl85YRigp0o0asTc6Sb6l2ch1DCXIeZTLLFy9ultJvhkTqbswF5DEx4+RlkmCxWg==
+ dependencies:
+ "@jest/core" "^26.0.1"
+ import-local "^3.0.2"
+ jest-cli "^26.0.1"
+
joi@^11.1.1:
version "11.4.0"
resolved "https://registry.yarnpkg.com/joi/-/joi-11.4.0.tgz#f674897537b625e9ac3d0b7e1604c828ad913ccb"
@@ -7752,9 +9309,37 @@ jsdom@^12.0.0:
ws "^6.0.0"
xml-name-validator "^3.0.0"
-jsesc@^1.3.0:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b"
+jsdom@^16.2.2:
+ version "16.2.2"
+ resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.2.2.tgz#76f2f7541646beb46a938f5dc476b88705bedf2b"
+ integrity sha512-pDFQbcYtKBHxRaP55zGXCJWgFHkDAYbKcsXEK/3Icu9nKYZkutUXfLBwbD+09XDutkYSHcgfQLZ0qvpAAm9mvg==
+ dependencies:
+ abab "^2.0.3"
+ acorn "^7.1.1"
+ acorn-globals "^6.0.0"
+ cssom "^0.4.4"
+ cssstyle "^2.2.0"
+ data-urls "^2.0.0"
+ decimal.js "^10.2.0"
+ domexception "^2.0.1"
+ escodegen "^1.14.1"
+ html-encoding-sniffer "^2.0.1"
+ is-potential-custom-element-name "^1.0.0"
+ nwsapi "^2.2.0"
+ parse5 "5.1.1"
+ request "^2.88.2"
+ request-promise-native "^1.0.8"
+ saxes "^5.0.0"
+ symbol-tree "^3.2.4"
+ tough-cookie "^3.0.1"
+ w3c-hr-time "^1.0.2"
+ w3c-xmlserializer "^2.0.0"
+ webidl-conversions "^6.0.0"
+ whatwg-encoding "^1.0.5"
+ whatwg-mimetype "^2.3.0"
+ whatwg-url "^8.0.0"
+ ws "^7.2.3"
+ xml-name-validator "^3.0.0"
jsesc@^2.5.1:
version "2.5.1"
@@ -7781,6 +9366,11 @@ json-schema-traverse@^0.3.0:
version "0.3.1"
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340"
+json-schema-traverse@^0.4.1:
+ version "0.4.1"
+ resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"
+ integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==
+
json-schema@0.2.3:
version "0.2.3"
resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13"
@@ -7794,6 +9384,13 @@ json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
+json5@2.x, json5@^2.1.2:
+ version "2.1.3"
+ resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.3.tgz#c9b0f7fa9233bfe5807fe66fcf3a5617ed597d43"
+ integrity sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==
+ dependencies:
+ minimist "^1.2.5"
+
json5@^0.5.0, json5@^0.5.1:
version "0.5.1"
resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821"
@@ -7949,6 +9546,11 @@ klaw@^1.0.0:
optionalDependencies:
graceful-fs "^4.1.9"
+kleur@^3.0.3:
+ version "3.0.3"
+ resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"
+ integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==
+
koa-compose@^3.0.0, koa-compose@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/koa-compose/-/koa-compose-3.2.1.tgz#a85ccb40b7d986d8e5a345b3a1ace8eabcf54de7"
@@ -8094,6 +9696,18 @@ lerna@^3.20.2:
import-local "^2.0.0"
npmlog "^4.1.2"
+leven@^3.1.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2"
+ integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==
+
+levenary@^1.1.1:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/levenary/-/levenary-1.1.1.tgz#842a9ee98d2075aa7faeedbe32679e9205f46f77"
+ integrity sha512-mkAdOIt79FD6irqjYSs4rdbnlT5vRonMEvBVPVb3XmevfS8kgRXwfes0dhPdEtzTWD/1eNE/Bm/G1iRt6DcnQQ==
+ dependencies:
+ leven "^3.1.0"
+
levn@^0.3.0, levn@~0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee"
@@ -8305,7 +9919,7 @@ lodash.map@^4.5.1:
resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3"
integrity sha1-dx7Hg540c9nEzeKLGTlMNWL09tM=
-lodash.memoize@^4.1.2:
+lodash.memoize@4.x, lodash.memoize@^4.1.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
@@ -8341,7 +9955,7 @@ lodash.uniq@^4.5.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
-lodash@4.17.15, lodash@^4.0.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.0:
+lodash@4.17.15, lodash@^4.0.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.0:
version "4.17.15"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
@@ -8506,6 +10120,18 @@ make-dir@^2.1.0:
pify "^4.0.1"
semver "^5.6.0"
+make-dir@^3.0.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f"
+ integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==
+ dependencies:
+ semver "^6.0.0"
+
+make-error@1.x:
+ version "1.3.6"
+ resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2"
+ integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==
+
make-fetch-happen@^5.0.0:
version "5.0.2"
resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-5.0.2.tgz#aa8387104f2687edca01c8687ee45013d02d19bd"
@@ -8523,6 +10149,13 @@ make-fetch-happen@^5.0.0:
socks-proxy-agent "^4.0.0"
ssri "^6.0.0"
+makeerror@1.0.x:
+ version "1.0.11"
+ resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c"
+ integrity sha1-4BpckQnyr3lmDk6LlYd5AYT1qWw=
+ dependencies:
+ tmpl "1.0.x"
+
map-cache@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf"
@@ -8686,6 +10319,14 @@ merge@^1.2.1:
resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.1.tgz#38bebf80c3220a8a487b6fcfb3941bb11720c145"
integrity sha512-VjFo4P5Whtj4vsLzsYBu5ayHhoHJ0UqNm7ibvShmbmoz7tGi0vXaoJbGdB+GmDMLUdg8DpQXEIeVDAe8MaABvQ==
+micromatch@4.x, micromatch@^4.0.2:
+ version "4.0.2"
+ resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259"
+ integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==
+ dependencies:
+ braces "^3.0.1"
+ picomatch "^2.0.5"
+
micromatch@^2.1.5, micromatch@^2.3.11:
version "2.3.11"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565"
@@ -8722,14 +10363,6 @@ micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8:
snapdragon "^0.8.1"
to-regex "^3.0.2"
-micromatch@^4.0.2:
- version "4.0.2"
- resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259"
- integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==
- dependencies:
- braces "^3.0.1"
- picomatch "^2.0.5"
-
miller-rabin@^4.0.0:
version "4.0.1"
resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d"
@@ -8849,6 +10482,11 @@ minimist@1.2.0, minimist@^1.1.3, minimist@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
+minimist@^1.1.1, minimist@^1.2.5:
+ version "1.2.5"
+ resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
+ integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
+
minimist@~0.0.1:
version "0.0.10"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
@@ -8944,6 +10582,13 @@ mkdirp@0.5.0:
dependencies:
minimist "0.0.8"
+mkdirp@0.x:
+ version "0.5.5"
+ resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
+ integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==
+ dependencies:
+ minimist "^1.2.5"
+
mocha-webpack@^1.0.1:
version "1.1.0"
resolved "https://registry.yarnpkg.com/mocha-webpack/-/mocha-webpack-1.1.0.tgz#292158fc191641c943c1ee615329504f47c4b0ba"
@@ -9172,6 +10817,11 @@ node-gyp@^5.0.2:
tar "^4.4.12"
which "^1.3.1"
+node-int64@^0.4.0:
+ version "0.4.0"
+ resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b"
+ integrity sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=
+
node-libs-browser@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.1.0.tgz#5f94263d404f6e44767d726901fff05478d600df"
@@ -9200,6 +10850,23 @@ node-libs-browser@^2.0.0:
util "^0.10.3"
vm-browserify "0.0.4"
+node-modules-regexp@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40"
+ integrity sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=
+
+node-notifier@^7.0.0:
+ version "7.0.1"
+ resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-7.0.1.tgz#a355e33e6bebacef9bf8562689aed0f4230ca6f9"
+ integrity sha512-VkzhierE7DBmQEElhTGJIoiZa1oqRijOtgOlsXg32KrJRXsPy0NXFBqWGW/wTswnJlDCs5viRYaqWguqzsKcmg==
+ dependencies:
+ growly "^1.3.0"
+ is-wsl "^2.1.1"
+ semver "^7.2.1"
+ shellwords "^0.1.1"
+ uuid "^7.0.3"
+ which "^2.0.2"
+
node-pre-gyp@^0.10.0:
version "0.10.0"
resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.10.0.tgz#6e4ef5bb5c5203c6552448828c852c40111aac46"
@@ -9215,6 +10882,11 @@ node-pre-gyp@^0.10.0:
semver "^5.3.0"
tar "^4"
+node-releases@^1.1.53:
+ version "1.1.58"
+ resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.58.tgz#8ee20eef30fa60e52755fcc0942def5a734fe935"
+ integrity sha512-NxBudgVKiRh/2aPWMgPR7bPTX0VPmGx5QBwCtdHitnqFE5/O8DeBXuIMH1nwNnw/aMo6AjOrpsHzfY3UbUJ7yg==
+
nodent-runtime@^3.0.3:
version "3.2.1"
resolved "https://registry.yarnpkg.com/nodent-runtime/-/nodent-runtime-3.2.1.tgz#9e2755d85e39f764288f0d4752ebcfe3e541e00e"
@@ -9352,6 +11024,13 @@ npm-run-path@^3.0.0:
dependencies:
path-key "^3.0.0"
+npm-run-path@^4.0.0:
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea"
+ integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==
+ dependencies:
+ path-key "^3.0.0"
+
npmlog@^4.0.2, npmlog@^4.1.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
@@ -9385,6 +11064,11 @@ nwsapi@^2.0.8:
version "2.0.9"
resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.0.9.tgz#77ac0cdfdcad52b6a1151a84e73254edc33ed016"
+nwsapi@^2.2.0:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7"
+ integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==
+
oauth-sign@~0.8.2:
version "0.8.2"
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43"
@@ -9558,7 +11242,7 @@ os-name@^3.1.0:
macos-release "^2.2.0"
windows-release "^3.1.0"
-os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2:
+os-tmpdir@^1.0.0, os-tmpdir@~1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
@@ -9570,6 +11254,11 @@ osenv@^0.1.4, osenv@^0.1.5:
os-homedir "^1.0.0"
os-tmpdir "^1.0.0"
+p-each-series@^2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/p-each-series/-/p-each-series-2.1.0.tgz#961c8dd3f195ea96c747e636b262b800a6b1af48"
+ integrity sha512-ZuRs1miPT4HrjFa+9fRfOFXxGJfORgelKV9f9nNOWw2gl6gVsRaVDOQP0+MI0G0wGKns1Yacsu0GjOFbTK0JFQ==
+
p-finally@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
@@ -9784,6 +11473,11 @@ parse5@5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.0.tgz#c59341c9723f414c452975564c7c00a68d58acd2"
+parse5@5.1.1:
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.1.tgz#f68e4e5ba1852ac2cadc00f4555fff6c2abb6178"
+ integrity sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==
+
parse5@^3.0.1:
version "3.0.3"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-3.0.3.tgz#042f792ffdd36851551cf4e9e066b3874ab45b5c"
@@ -9834,7 +11528,7 @@ path-exists@^4.0.0:
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==
-path-is-absolute@1.0.1, path-is-absolute@^1.0.0, path-is-absolute@^1.0.1:
+path-is-absolute@1.0.1, path-is-absolute@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
@@ -9928,6 +11622,11 @@ phantomjs-prebuilt@^2.1.7:
request-progress "^2.0.1"
which "^1.2.10"
+picomatch@^2.0.4:
+ version "2.2.2"
+ resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
+ integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==
+
picomatch@^2.0.5:
version "2.2.1"
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a"
@@ -9958,6 +11657,13 @@ pinkie@^2.0.0:
resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870"
integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA=
+pirates@^4.0.1:
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87"
+ integrity sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA==
+ dependencies:
+ node-modules-regexp "^1.0.0"
+
pkg-dir@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b"
@@ -9978,6 +11684,13 @@ pkg-dir@^4.2.0:
dependencies:
find-up "^4.0.0"
+pkg-up@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-2.0.0.tgz#c819ac728059a461cab1c3889a2be3c49a004d7f"
+ integrity sha1-yBmscoBZpGHKscOImivjxJoATX8=
+ dependencies:
+ find-up "^2.1.0"
+
please-upgrade-node@^3.1.1, please-upgrade-node@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz#aeddd3f994c933e4ad98b99d9a556efa0e2fe942"
@@ -10245,6 +11958,15 @@ postcss-selector-parser@^3.1.1:
indexes-of "^1.0.1"
uniq "^1.0.1"
+postcss-selector-parser@^6.0.2:
+ version "6.0.2"
+ resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz#934cf799d016c83411859e09dcecade01286ec5c"
+ integrity sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg==
+ dependencies:
+ cssesc "^3.0.0"
+ indexes-of "^1.0.1"
+ uniq "^1.0.1"
+
postcss-svgo@^2.1.1:
version "2.1.6"
resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-2.1.6.tgz#b6df18aa613b666e133f08adb5219c2684ac108d"
@@ -10299,6 +12021,15 @@ postcss@^6.0.1, postcss@^6.0.8:
source-map "^0.6.1"
supports-color "^5.2.0"
+postcss@^7.0.14:
+ version "7.0.32"
+ resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.32.tgz#4310d6ee347053da3433db2be492883d62cec59d"
+ integrity sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw==
+ dependencies:
+ chalk "^2.4.2"
+ source-map "^0.6.1"
+ supports-color "^6.1.0"
+
prelude-ls@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
@@ -10321,6 +12052,11 @@ prettier@^1.16.0:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea"
integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==
+prettier@^1.18.2:
+ version "1.19.1"
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
+ integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
+
prettier@^1.7.0:
version "1.10.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.10.2.tgz#1af8356d1842276a99a5b5529c82dd9e9ad3cc93"
@@ -10336,6 +12072,16 @@ pretty-error@^2.0.2:
renderkid "^2.0.1"
utila "~0.4"
+pretty-format@^26.0.1:
+ version "26.0.1"
+ resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.0.1.tgz#a4fe54fe428ad2fd3413ca6bbd1ec8c2e277e197"
+ integrity sha512-SWxz6MbupT3ZSlL0Po4WF/KujhQaVehijR2blyRDCzk9e45EaYMVhMBn49fnRuHxtkSpXTes1GxNpVmH86Bxfw==
+ dependencies:
+ "@jest/types" "^26.0.1"
+ ansi-regex "^5.0.0"
+ ansi-styles "^4.0.0"
+ react-is "^16.12.0"
+
pretty-time@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/pretty-time/-/pretty-time-1.0.0.tgz#544784adecaa2cd7d045ff8a8f1d4791c8e06e23"
@@ -10358,7 +12104,7 @@ prismjs@^1.13.0:
optionalDependencies:
clipboard "^2.0.0"
-private@^0.1.6, private@^0.1.7:
+private@^0.1.6, private@^0.1.8:
version "0.1.8"
resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
@@ -10401,6 +12147,14 @@ promise-retry@^1.1.1:
err-code "^1.0.0"
retry "^0.10.0"
+prompts@^2.0.1:
+ version "2.3.2"
+ resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.3.2.tgz#480572d89ecf39566d2bd3fe2c9fccb7c4c0b068"
+ integrity sha512-Q06uKs2CkNYVID0VqwfAl9mipo99zkBv/n2JtWY89Yxa3ZabWSrs0e2KTudKVa3peLUvYXMefDqIleLPVUBZMA==
+ dependencies:
+ kleur "^3.0.3"
+ sisteransi "^1.0.4"
+
promzard@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/promzard/-/promzard-0.3.0.tgz#26a5d6ee8c7dee4cb12208305acfb93ba382a9ee"
@@ -10438,6 +12192,11 @@ psl@^1.1.24:
version "1.1.29"
resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.29.tgz#60f580d360170bb722a797cc704411e6da850c67"
+psl@^1.1.28:
+ version "1.8.0"
+ resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24"
+ integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==
+
public-encrypt@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.0.tgz#39f699f3a46560dd5ebacbca693caf7c65c18cc6"
@@ -10484,6 +12243,11 @@ punycode@^1.2.4, punycode@^1.4.1:
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
integrity sha1-wNWmOycYgArY4esPpSachN1BhF4=
+punycode@^2.1.1:
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
+ integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
+
q@^1.1.2, q@^1.5.1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
@@ -10573,6 +12337,11 @@ rc@^1.1.7:
minimist "^1.2.0"
strip-json-comments "~2.0.1"
+react-is@^16.12.0:
+ version "16.13.1"
+ resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
+ integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
+
read-cmd-shim@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz#2d5d157786a37c055d22077c32c53f8329e91c7b"
@@ -10622,6 +12391,15 @@ read-pkg-up@^3.0.0:
find-up "^2.0.0"
read-pkg "^3.0.0"
+read-pkg-up@^7.0.1:
+ version "7.0.1"
+ resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507"
+ integrity sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==
+ dependencies:
+ find-up "^4.1.0"
+ read-pkg "^5.2.0"
+ type-fest "^0.8.1"
+
read-pkg@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28"
@@ -10805,6 +12583,13 @@ regenerate-unicode-properties@^8.1.0:
dependencies:
regenerate "^1.4.0"
+regenerate-unicode-properties@^8.2.0:
+ version "8.2.0"
+ resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz#e5de7111d655e7ba60c057dbe9ff37c87e65cdec"
+ integrity sha512-F9DjY1vKLo/tPePDycuH3dn9H1OTPIkVD9Kz4LODu+F2C75mgjAJ7x/gwy6ZcSNRAAkhNlJSOHRe8k3p+K9WhA==
+ dependencies:
+ regenerate "^1.4.0"
+
regenerate@^1.2.1:
version "1.3.3"
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.3.tgz#0c336d3980553d755c39b586ae3b20aa49c82b7f"
@@ -10822,13 +12607,10 @@ regenerator-runtime@^0.11.0, regenerator-runtime@^0.11.1:
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9"
integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==
-regenerator-transform@^0.10.0:
- version "0.10.1"
- resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.10.1.tgz#1e4996837231da8b7f3cf4114d71b5691a0680dd"
- dependencies:
- babel-runtime "^6.18.0"
- babel-types "^6.19.0"
- private "^0.1.6"
+regenerator-runtime@^0.13.4:
+ version "0.13.5"
+ resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz#d878a1d094b4306d10b9096484b33ebd55e26697"
+ integrity sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA==
regenerator-transform@^0.12.3:
version "0.12.3"
@@ -10836,6 +12618,14 @@ regenerator-transform@^0.12.3:
dependencies:
private "^0.1.6"
+regenerator-transform@^0.14.2:
+ version "0.14.4"
+ resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.14.4.tgz#5266857896518d1616a78a0479337a30ea974cc7"
+ integrity sha512-EaJaKPBI9GvKpvUz2mz4fhx7WPgvwRLY9v3hlNHWmAuJHI13T4nwKnNvm5RWJzEdnI5g5UwtOww+S8IdoUC2bw==
+ dependencies:
+ "@babel/runtime" "^7.8.4"
+ private "^0.1.8"
+
regex-cache@^0.4.2:
version "0.4.4"
resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd"
@@ -10858,14 +12648,6 @@ regexpu-core@^1.0.0:
regjsgen "^0.2.0"
regjsparser "^0.1.4"
-regexpu-core@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-2.0.0.tgz#49d038837b8dcf8bfa5b9a42139938e6ea2ae240"
- dependencies:
- regenerate "^1.2.1"
- regjsgen "^0.2.0"
- regjsparser "^0.1.4"
-
regexpu-core@^4.1.3, regexpu-core@^4.1.4:
version "4.1.5"
resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.1.5.tgz#57fdfe1148f8a7a069086228515130cf1820ddd0"
@@ -10889,6 +12671,18 @@ regexpu-core@^4.5.4:
unicode-match-property-ecmascript "^1.0.4"
unicode-match-property-value-ecmascript "^1.1.0"
+regexpu-core@^4.7.0:
+ version "4.7.0"
+ resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.7.0.tgz#fcbf458c50431b0bb7b45d6967b8192d91f3d938"
+ integrity sha512-TQ4KXRnIn6tz6tjnrXEkD/sshygKH/j5KzK86X8MkeHyZ8qst/LZ89j3X4/8HEIfHANTFIP/AbXakeRhWIl5YQ==
+ dependencies:
+ regenerate "^1.4.0"
+ regenerate-unicode-properties "^8.2.0"
+ regjsgen "^0.5.1"
+ regjsparser "^0.6.4"
+ unicode-match-property-ecmascript "^1.0.4"
+ unicode-match-property-value-ecmascript "^1.2.0"
+
register-service-worker@^1.5.1:
version "1.5.2"
resolved "https://registry.yarnpkg.com/register-service-worker/-/register-service-worker-1.5.2.tgz#a4631896c38d6ec5597358f44988cc46a911912d"
@@ -10919,6 +12713,11 @@ regjsgen@^0.5.0:
resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.5.1.tgz#48f0bf1a5ea205196929c0d9798b42d1ed98443c"
integrity sha512-5qxzGZjDs9w4tzT3TPhCJqWdCc3RLYwy9J2NB0nm5Lz+S273lvWcpjaTGHsT1dc6Hhfq41uSEOw8wBmxrKOuyg==
+regjsgen@^0.5.1:
+ version "0.5.2"
+ resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.5.2.tgz#92ff295fb1deecbf6ecdab2543d207e91aa33733"
+ integrity sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==
+
regjsparser@^0.1.4:
version "0.1.5"
resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.1.5.tgz#7ee8f84dc6fa792d3fd0ae228d24bd949ead205c"
@@ -10938,6 +12737,13 @@ regjsparser@^0.6.0:
dependencies:
jsesc "~0.5.0"
+regjsparser@^0.6.4:
+ version "0.6.4"
+ resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.6.4.tgz#a769f8684308401a66e9b529d2436ff4d0666272"
+ integrity sha512-64O87/dPDgfk8/RQqC4gkZoGyyWFIEUTTh80CU6CWuK5vkCGyekIx+oKcEIYtP/RAxSQltCZHCNu/mdd7fqlJw==
+ dependencies:
+ jsesc "~0.5.0"
+
relateurl@0.2.x:
version "0.2.7"
resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9"
@@ -11017,6 +12823,13 @@ request-promise-core@1.1.1:
dependencies:
lodash "^4.13.1"
+request-promise-core@1.1.3:
+ version "1.1.3"
+ resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.3.tgz#e9a3c081b51380dfea677336061fea879a829ee9"
+ integrity sha512-QIs2+ArIGQVp5ZYbWD5ZLCY29D5CfWizP8eWnm8FoGD1TX61veauETVQbrV60662V0oFBkrDOuaBI8XgtuyYAQ==
+ dependencies:
+ lodash "^4.17.15"
+
request-promise-native@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.5.tgz#5281770f68e0c9719e5163fd3fab482215f4fda5"
@@ -11025,6 +12838,15 @@ request-promise-native@^1.0.5:
stealthy-require "^1.1.0"
tough-cookie ">=2.3.3"
+request-promise-native@^1.0.8:
+ version "1.0.8"
+ resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.8.tgz#a455b960b826e44e2bf8999af64dff2bfe58cb36"
+ integrity sha512-dapwLGqkHtwL5AEbfenuzjTYg35Jd6KPytsC2/TLkVMz8rm+tNt72MGUWT1RP/aYawMpN6HqbNGBQaRcBtjQMQ==
+ dependencies:
+ request-promise-core "1.1.3"
+ stealthy-require "^1.1.1"
+ tough-cookie "^2.3.3"
+
request@^2.81.0:
version "2.85.0"
resolved "https://registry.yarnpkg.com/request/-/request-2.85.0.tgz#5a03615a47c61420b3eb99b7dba204f83603e1fa"
@@ -11077,6 +12899,32 @@ request@^2.88.0:
tunnel-agent "^0.6.0"
uuid "^3.3.2"
+request@^2.88.2:
+ version "2.88.2"
+ resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3"
+ integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==
+ dependencies:
+ aws-sign2 "~0.7.0"
+ aws4 "^1.8.0"
+ caseless "~0.12.0"
+ combined-stream "~1.0.6"
+ extend "~3.0.2"
+ forever-agent "~0.6.1"
+ form-data "~2.3.2"
+ har-validator "~5.1.3"
+ http-signature "~1.2.0"
+ is-typedarray "~1.0.0"
+ isstream "~0.1.2"
+ json-stringify-safe "~5.0.1"
+ mime-types "~2.1.19"
+ oauth-sign "~0.9.0"
+ performance-now "^2.1.0"
+ qs "~6.5.2"
+ safe-buffer "^5.1.2"
+ tough-cookie "~2.5.0"
+ tunnel-agent "^0.6.0"
+ uuid "^3.3.2"
+
require-directory@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
@@ -11113,6 +12961,13 @@ resolve-cwd@^2.0.0:
dependencies:
resolve-from "^3.0.0"
+resolve-cwd@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d"
+ integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==
+ dependencies:
+ resolve-from "^5.0.0"
+
resolve-dir@^1.0.0, resolve-dir@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43"
@@ -11171,6 +13026,13 @@ resolve@^1.11.0, resolve@^1.11.1:
dependencies:
path-parse "^1.0.6"
+resolve@^1.17.0:
+ version "1.17.0"
+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444"
+ integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==
+ dependencies:
+ path-parse "^1.0.6"
+
resolve@^1.2.0, resolve@^1.4.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36"
@@ -11324,6 +13186,11 @@ rollup@1:
"@types/node" "*"
acorn "^7.1.0"
+rsvp@^4.8.4:
+ version "4.8.5"
+ resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-4.8.5.tgz#c8f155311d167f68f21e168df71ec5b083113734"
+ integrity sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==
+
run-async@^2.2.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0"
@@ -11387,6 +13254,21 @@ safe-regex@^1.1.0:
version "2.1.2"
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
+sane@^4.0.3:
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/sane/-/sane-4.1.0.tgz#ed881fd922733a6c461bc189dc2b6c006f3ffded"
+ integrity sha512-hhbzAgTIX8O7SHfp2c8/kREfEn4qO/9q8C9beyY6+tvZ87EpoZ3i1RIEvp27YBswnNbY9mWd6paKVmKbAgLfZA==
+ dependencies:
+ "@cnakazawa/watch" "^1.0.3"
+ anymatch "^2.0.0"
+ capture-exit "^2.0.0"
+ exec-sh "^0.3.2"
+ execa "^1.0.0"
+ fb-watchman "^2.0.0"
+ micromatch "^3.1.4"
+ minimist "^1.1.1"
+ walker "~1.0.5"
+
sax@0.5.x:
version "0.5.8"
resolved "https://registry.yarnpkg.com/sax/-/sax-0.5.8.tgz#d472db228eb331c2506b0e8c15524adb939d12c1"
@@ -11395,6 +13277,13 @@ sax@^1.2.4, sax@~1.2.1:
version "1.2.4"
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
+saxes@^5.0.0:
+ version "5.0.1"
+ resolved "https://registry.yarnpkg.com/saxes/-/saxes-5.0.1.tgz#eebab953fa3b7608dbe94e5dadb15c888fa6696d"
+ integrity sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==
+ dependencies:
+ xmlchars "^2.2.0"
+
schema-utils@^0.4.0, schema-utils@^0.4.2, schema-utils@^0.4.3, schema-utils@^0.4.4, schema-utils@^0.4.5:
version "0.4.5"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.5.tgz#21836f0608aac17b78f9e3e24daff14a5ca13a3e"
@@ -11429,16 +13318,26 @@ semver-diff@^2.0.0:
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
-semver@6.3.0, semver@^6.0.0, semver@^6.2.0, semver@^6.3.0:
+semver@6.3.0, semver@6.x, semver@^6.0.0, semver@^6.2.0, semver@^6.3.0:
version "6.3.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
+semver@7.0.0:
+ version "7.0.0"
+ resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e"
+ integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==
+
semver@^5.0.3, semver@^5.1.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0:
version "5.6.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"
integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==
+semver@^7.2.1, semver@^7.3.2:
+ version "7.3.2"
+ resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938"
+ integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==
+
serialize-javascript@^1.3.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.4.0.tgz#7c958514db6ac2443a8abc062dc9f7886a7f6005"
@@ -11532,6 +13431,11 @@ shelljs@0.7.6:
interpret "^1.0.0"
rechoir "^0.6.2"
+shellwords@^0.1.1:
+ version "0.1.1"
+ resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
+ integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==
+
sigmund@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590"
@@ -11560,6 +13464,11 @@ sinon@^7.2.3:
nise "^1.4.8"
supports-color "^5.5.0"
+sisteransi@^1.0.4:
+ version "1.0.5"
+ resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed"
+ integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==
+
slash@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
@@ -11716,11 +13625,16 @@ source-map-resolve@^0.5.0:
source-map-url "^0.4.0"
urix "^0.1.0"
-source-map-support@^0.4.15:
- version "0.4.18"
- resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f"
+source-map-resolve@^0.5.2:
+ version "0.5.3"
+ resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a"
+ integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==
dependencies:
- source-map "^0.5.6"
+ atob "^2.1.2"
+ decode-uri-component "^0.2.0"
+ resolve-url "^0.2.1"
+ source-map-url "^0.4.0"
+ urix "^0.1.0"
source-map-support@^0.5.0:
version "0.5.16"
@@ -11730,6 +13644,14 @@ source-map-support@^0.5.0:
buffer-from "^1.0.0"
source-map "^0.6.0"
+source-map-support@^0.5.6:
+ version "0.5.19"
+ resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
+ integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==
+ dependencies:
+ buffer-from "^1.0.0"
+ source-map "^0.6.0"
+
source-map-url@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3"
@@ -11744,7 +13666,7 @@ source-map@0.5.6:
version "0.5.6"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412"
-source-map@0.5.x, source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.1:
+source-map@0.5.x, source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1:
version "0.5.7"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
@@ -11752,6 +13674,11 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
+source-map@^0.7.3:
+ version "0.7.3"
+ resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
+ integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==
+
sourcemap-codec@^1.4.4:
version "1.4.6"
resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.6.tgz#e30a74f0402bad09807640d39e971090a08ce1e9"
@@ -11833,6 +13760,13 @@ ssri@^6.0.0, ssri@^6.0.1:
dependencies:
figgy-pudding "^3.5.1"
+stack-utils@^2.0.2:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.2.tgz#5cf48b4557becb4638d0bc4f21d23f5d19586593"
+ integrity sha512-0H7QK2ECz3fyZMzQ8rH0j2ykpfbnd20BFtfg/SqVC2+sCTtcw0aDTGB7dk+de4U4uUeuz6nOtJcrkFFLG1B0Rg==
+ dependencies:
+ escape-string-regexp "^2.0.0"
+
state-toggle@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/state-toggle/-/state-toggle-1.0.0.tgz#d20f9a616bb4f0c3b98b91922d25b640aa2bc425"
@@ -11862,7 +13796,7 @@ std-env@^1.1.0, std-env@^1.3.0:
dependencies:
is-ci "^1.1.0"
-stealthy-require@^1.1.0:
+stealthy-require@^1.1.0, stealthy-require@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b"
@@ -11917,6 +13851,14 @@ string-argv@^0.3.0:
resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da"
integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==
+string-length@^4.0.1:
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.1.tgz#4a973bf31ef77c4edbceadd6af2611996985f8a1"
+ integrity sha512-PKyXUd0LK0ePjSOnWn34V2uD6acUWev9uy0Ft05k0E8xRW+SKcA0F7eMr7h5xlzfn+4O3N+55rduYyet3Jk+jw==
+ dependencies:
+ char-regex "^1.0.2"
+ strip-ansi "^6.0.0"
+
string-width@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3"
@@ -11942,6 +13884,15 @@ string-width@^3.0.0, string-width@^3.1.0:
is-fullwidth-code-point "^2.0.0"
strip-ansi "^5.1.0"
+string-width@^4.1.0, string-width@^4.2.0:
+ version "4.2.0"
+ resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5"
+ integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==
+ dependencies:
+ emoji-regex "^8.0.0"
+ is-fullwidth-code-point "^3.0.0"
+ strip-ansi "^6.0.0"
+
string_decoder@^1.0.0, string_decoder@~1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab"
@@ -12001,11 +13952,18 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0:
dependencies:
ansi-regex "^4.1.0"
+strip-ansi@^6.0.0:
+ version "6.0.0"
+ resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532"
+ integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==
+ dependencies:
+ ansi-regex "^5.0.0"
+
strip-bom-string@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/strip-bom-string/-/strip-bom-string-1.0.0.tgz#e5211e9224369fbb81d633a2f00044dc8cedad92"
-strip-bom@4.0.0:
+strip-bom@4.0.0, strip-bom@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878"
integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==
@@ -12114,6 +14072,28 @@ supports-color@^5.5.0:
dependencies:
has-flag "^3.0.0"
+supports-color@^6.1.0:
+ version "6.1.0"
+ resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3"
+ integrity sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==
+ dependencies:
+ has-flag "^3.0.0"
+
+supports-color@^7.0.0, supports-color@^7.1.0:
+ version "7.1.0"
+ resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1"
+ integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==
+ dependencies:
+ has-flag "^4.0.0"
+
+supports-hyperlinks@^2.0.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.1.0.tgz#f663df252af5f37c5d49bbd7eeefa9e0b9e59e47"
+ integrity sha512-zoE5/e+dnEijk6ASB6/qrK+oYdm2do1hjoLWrqUC/8WEIW1gbxFcKuBof7sW8ArN6e+AYvsE8HBGiVRWL/F5CA==
+ dependencies:
+ has-flag "^4.0.0"
+ supports-color "^7.0.0"
+
svgo@^0.7.0:
version "0.7.2"
resolved "https://registry.yarnpkg.com/svgo/-/svgo-0.7.2.tgz#9f5772413952135c6fefbf40afe6a4faa88b4bb5"
@@ -12135,6 +14115,11 @@ symbol-tree@^3.2.2:
version "3.2.2"
resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6"
+symbol-tree@^3.2.4:
+ version "3.2.4"
+ resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2"
+ integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==
+
table@4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/table/-/table-4.0.2.tgz#a33447375391e766ad34d3486e6e2aedc84d2e36"
@@ -12213,6 +14198,23 @@ term-size@^1.2.0:
dependencies:
execa "^0.7.0"
+terminal-link@^2.0.0:
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994"
+ integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==
+ dependencies:
+ ansi-escapes "^4.2.1"
+ supports-hyperlinks "^2.0.0"
+
+test-exclude@^6.0.0:
+ version "6.0.0"
+ resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e"
+ integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==
+ dependencies:
+ "@istanbuljs/schema" "^0.1.2"
+ glob "^7.1.4"
+ minimatch "^3.0.4"
+
text-encoding@^0.6.4:
version "0.6.4"
resolved "https://registry.yarnpkg.com/text-encoding/-/text-encoding-0.6.4.tgz#e399a982257a276dae428bb92845cb71bdc26d19"
@@ -12243,6 +14245,11 @@ thenify-all@^1.0.0:
dependencies:
any-promise "^1.0.0"
+throat@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/throat/-/throat-5.0.0.tgz#c5199235803aad18754a667d659b5e72ce16764b"
+ integrity sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==
+
throttleit@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/throttleit/-/throttleit-1.0.0.tgz#9e785836daf46743145a5984b6268d828528ac6c"
@@ -12293,6 +14300,11 @@ tmp@0.0.33, tmp@0.0.x, tmp@^0.0.33:
dependencies:
os-tmpdir "~1.0.2"
+tmpl@1.0.x:
+ version "1.0.4"
+ resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1"
+ integrity sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=
+
to-array@0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/to-array/-/to-array-0.1.4.tgz#17e6c11f73dd4f3d74cda7a4ff3238e9ad9bf890"
@@ -12305,10 +14317,6 @@ to-factory@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/to-factory/-/to-factory-1.0.0.tgz#8738af8bd97120ad1d4047972ada5563bf9479b1"
-to-fast-properties@^1.0.3:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47"
-
to-fast-properties@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
@@ -12363,6 +14371,14 @@ tough-cookie@>=2.3.3, tough-cookie@~2.3.3:
dependencies:
punycode "^1.4.1"
+tough-cookie@^2.3.3, tough-cookie@~2.5.0:
+ version "2.5.0"
+ resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"
+ integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==
+ dependencies:
+ psl "^1.1.28"
+ punycode "^2.1.1"
+
tough-cookie@^2.4.3, tough-cookie@~2.4.3:
version "2.4.3"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781"
@@ -12370,12 +14386,28 @@ tough-cookie@^2.4.3, tough-cookie@~2.4.3:
psl "^1.1.24"
punycode "^1.4.1"
+tough-cookie@^3.0.1:
+ version "3.0.1"
+ resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-3.0.1.tgz#9df4f57e739c26930a018184887f4adb7dca73b2"
+ integrity sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==
+ dependencies:
+ ip-regex "^2.1.0"
+ psl "^1.1.28"
+ punycode "^2.1.1"
+
tr46@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09"
dependencies:
punycode "^2.1.0"
+tr46@^2.0.2:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/tr46/-/tr46-2.0.2.tgz#03273586def1595ae08fedb38d7733cee91d2479"
+ integrity sha512-3n1qG+/5kg+jrbTzwAykB5yRYtQCTqOGKq5U5PE3b0a1/mzo6snDhjGS0zJVJunO0NrT3Dg1MLy5TjWP/UJppg==
+ dependencies:
+ punycode "^2.1.1"
+
trim-newlines@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613"
@@ -12404,6 +14436,22 @@ trough@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/trough/-/trough-1.0.1.tgz#a9fd8b0394b0ae8fff82e0633a0a36ccad5b5f86"
+ts-jest@^25.2.1:
+ version "25.5.1"
+ resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-25.5.1.tgz#2913afd08f28385d54f2f4e828be4d261f4337c7"
+ integrity sha512-kHEUlZMK8fn8vkxDjwbHlxXRB9dHYpyzqKIGDNxbzs+Rz+ssNDSDNusEK8Fk/sDd4xE6iKoQLfFkFVaskmTJyw==
+ dependencies:
+ bs-logger "0.x"
+ buffer-from "1.x"
+ fast-json-stable-stringify "2.x"
+ json5 "2.x"
+ lodash.memoize "4.x"
+ make-error "1.x"
+ micromatch "4.x"
+ mkdirp "0.x"
+ semver "6.x"
+ yargs-parser "18.x"
+
tslib@^1.9.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
@@ -12440,6 +14488,11 @@ type-detect@4.0.8, type-detect@^4.0.0:
version "4.0.8"
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
+type-fest@^0.11.0:
+ version "0.11.0"
+ resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.11.0.tgz#97abf0872310fed88a5c466b25681576145e33f1"
+ integrity sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==
+
type-fest@^0.3.0:
version "0.3.1"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.3.1.tgz#63d00d204e059474fe5e1b7c011112bbd1dc29e1"
@@ -12450,6 +14503,11 @@ type-fest@^0.6.0:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b"
integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==
+type-fest@^0.8.1:
+ version "0.8.1"
+ resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
+ integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
+
type-is@^1.5.5, type-is@~1.6.15:
version "1.6.16"
resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194"
@@ -12457,6 +14515,13 @@ type-is@^1.5.5, type-is@~1.6.15:
media-typer "0.3.0"
mime-types "~2.1.18"
+typedarray-to-buffer@^3.1.5:
+ version "3.1.5"
+ resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080"
+ integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==
+ dependencies:
+ is-typedarray "^1.0.0"
+
typedarray@^0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
@@ -12581,6 +14646,11 @@ unicode-match-property-value-ecmascript@^1.1.0:
resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz#5b4b426e08d13a80365e0d657ac7a6c1ec46a277"
integrity sha512-hDTHvaBk3RmFzvSl0UVrUmC3PuW9wKVnpoUDYH0JDkSIovzw+J5viQmeYHxVSBptubnr7PbH2e0fnpDRQnQl5g==
+unicode-match-property-value-ecmascript@^1.2.0:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.2.0.tgz#0d91f600eeeb3096aa962b1d6fc88876e64ea531"
+ integrity sha512-wjuQHGQVofmSJv1uVISKLE5zO2rNGzM/KCYZch/QQvez7C1hUhBIuZ701fYXExuufJFMPhv2SyL8CyoIfMLbIQ==
+
unicode-property-aliases-ecmascript@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.3.tgz#ac3522583b9e630580f916635333e00c5ead690d"
@@ -12724,6 +14794,13 @@ upper-case@^1.1.1:
version "1.1.3"
resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598"
+uri-js@^4.2.2:
+ version "4.2.2"
+ resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0"
+ integrity sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==
+ dependencies:
+ punycode "^2.1.0"
+
urix@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72"
@@ -12815,10 +14892,24 @@ uuid@^3.3.2:
version "3.3.2"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131"
+uuid@^7.0.3:
+ version "7.0.3"
+ resolved "https://registry.yarnpkg.com/uuid/-/uuid-7.0.3.tgz#c5c9f2c8cf25dc0a372c4df1441c41f5bd0c680b"
+ integrity sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==
+
v8-compile-cache@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.0.tgz#526492e35fc616864284700b7043e01baee09f0a"
+v8-to-istanbul@^4.1.3:
+ version "4.1.4"
+ resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-4.1.4.tgz#b97936f21c0e2d9996d4985e5c5156e9d4e49cd6"
+ integrity sha512-Rw6vJHj1mbdK8edjR7+zuJrpDtKIgNdAvTSAcpYfgMIw+u2dPDntD3dgN4XQFLU2/fvFQdzj+EeSGfd/jnY5fQ==
+ dependencies:
+ "@types/istanbul-lib-coverage" "^2.0.1"
+ convert-source-map "^1.6.0"
+ source-map "^0.7.3"
+
validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3:
version "3.0.4"
resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"
@@ -12896,6 +14987,19 @@ vue-hot-reload-api@^2.2.0, vue-hot-reload-api@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.0.tgz#97976142405d13d8efae154749e88c4e358cf926"
+vue-jest@^4.0.0-beta.3:
+ version "4.0.0-beta.3"
+ resolved "https://registry.yarnpkg.com/vue-jest/-/vue-jest-4.0.0-beta.3.tgz#d687306d1bdc8c1be96468fdfdf0448be63999b2"
+ integrity sha512-XYDNO2cPeK3/nqKwpBYPIGPr0QeSPQOm6R0fTfGvxN3mUVD/tK99sBPL7BzbJy5p8PI72jxzOcP2ZOlHmD7DYA==
+ dependencies:
+ "@babel/plugin-transform-modules-commonjs" "^7.2.0"
+ "@vue/component-compiler-utils" "^3.1.0"
+ chalk "^2.1.0"
+ convert-source-map "^1.6.0"
+ extract-from-css "^0.4.4"
+ source-map "0.5.6"
+ ts-jest "^25.2.1"
+
vue-loader@^13.6.2:
version "13.7.1"
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-13.7.1.tgz#d9009d0abd392b4efe8b8fb1f542f6723b02dd3a"
@@ -12988,6 +15092,11 @@ vue-template-es2015-compiler@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.6.0.tgz#dc42697133302ce3017524356a6c61b7b69b4a18"
+vue-template-es2015-compiler@^1.9.0:
+ version "1.9.1"
+ resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
+ integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==
+
vue@^2.5.16:
version "2.5.16"
resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.16.tgz#07edb75e8412aaeed871ebafa99f4672584a0085"
@@ -13084,6 +15193,27 @@ w3c-hr-time@^1.0.1:
dependencies:
browser-process-hrtime "^0.1.2"
+w3c-hr-time@^1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd"
+ integrity sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==
+ dependencies:
+ browser-process-hrtime "^1.0.0"
+
+w3c-xmlserializer@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz#3e7104a05b75146cc60f564380b7f683acf1020a"
+ integrity sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==
+ dependencies:
+ xml-name-validator "^3.0.0"
+
+walker@^1.0.7, walker@~1.0.5:
+ version "1.0.7"
+ resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.7.tgz#2f7f9b8fd10d677262b18a884e28d19618e028fb"
+ integrity sha1-L3+bj9ENZ3JisYqITijRlhjgKPs=
+ dependencies:
+ makeerror "1.0.x"
+
watchpack@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.4.0.tgz#4a1472bcbb952bd0a9bb4036801f954dfb39faac"
@@ -13120,6 +15250,16 @@ webidl-conversions@^4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"
+webidl-conversions@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff"
+ integrity sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==
+
+webidl-conversions@^6.0.0:
+ version "6.1.0"
+ resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514"
+ integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==
+
webpack-chain@^4.6.0:
version "4.8.0"
resolved "https://registry.yarnpkg.com/webpack-chain/-/webpack-chain-4.8.0.tgz#06fc3dbb9f2707d4c9e899fc6250fbcf2afe6fd1"
@@ -13296,10 +15436,22 @@ whatwg-encoding@^1.0.4:
dependencies:
iconv-lite "0.4.23"
+whatwg-encoding@^1.0.5:
+ version "1.0.5"
+ resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0"
+ integrity sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==
+ dependencies:
+ iconv-lite "0.4.24"
+
whatwg-mimetype@^2.1.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.2.0.tgz#a3d58ef10b76009b042d03e25591ece89b88d171"
+whatwg-mimetype@^2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf"
+ integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==
+
whatwg-url@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-7.0.0.tgz#fde926fa54a599f3adf82dff25a9f7be02dc6edd"
@@ -13308,6 +15460,15 @@ whatwg-url@^7.0.0:
tr46 "^1.0.1"
webidl-conversions "^4.0.2"
+whatwg-url@^8.0.0:
+ version "8.1.0"
+ resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.1.0.tgz#c628acdcf45b82274ce7281ee31dd3c839791771"
+ integrity sha512-vEIkwNi9Hqt4TV9RdnaBPNt+E2Sgmo3gePebCRgZ1R7g6d23+53zCTnuB0amKI4AXq6VM8jj2DUAa0S1vjJxkw==
+ dependencies:
+ lodash.sortby "^4.7.0"
+ tr46 "^2.0.2"
+ webidl-conversions "^5.0.0"
+
when@~3.6.x:
version "3.6.4"
resolved "https://registry.yarnpkg.com/when/-/when-3.6.4.tgz#473b517ec159e2b85005497a13983f095412e34e"
@@ -13338,7 +15499,7 @@ which@^1.2.14, which@^1.3.1:
dependencies:
isexe "^2.0.0"
-which@^2.0.1:
+which@^2.0.1, which@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"
integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==
@@ -13516,6 +15677,15 @@ wrap-ansi@^5.1.0:
string-width "^3.0.0"
strip-ansi "^5.0.0"
+wrap-ansi@^6.2.0:
+ version "6.2.0"
+ resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53"
+ integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==
+ dependencies:
+ ansi-styles "^4.0.0"
+ string-width "^4.1.0"
+ strip-ansi "^6.0.0"
+
wrappy@1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
@@ -13538,6 +15708,16 @@ write-file-atomic@^2.4.2:
imurmurhash "^0.1.4"
signal-exit "^3.0.2"
+write-file-atomic@^3.0.0:
+ version "3.0.3"
+ resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8"
+ integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==
+ dependencies:
+ imurmurhash "^0.1.4"
+ is-typedarray "^1.0.0"
+ signal-exit "^3.0.2"
+ typedarray-to-buffer "^3.1.5"
+
write-json-file@^2.2.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/write-json-file/-/write-json-file-2.3.0.tgz#2b64c8a33004d54b8698c76d585a77ceb61da32f"
@@ -13587,6 +15767,11 @@ ws@^6.0.0:
dependencies:
async-limiter "~1.0.0"
+ws@^7.2.3:
+ version "7.3.0"
+ resolved "https://registry.yarnpkg.com/ws/-/ws-7.3.0.tgz#4b2f7f219b3d3737bc1a2fbf145d825b94d38ffd"
+ integrity sha512-iFtXzngZVXPGgpTlP1rBqsUK82p9tKqsWRPg5L56egiljujJT3vGAYnHANvFxBieXrTFavhzhxW52jnaWV+w2w==
+
ws@~3.3.1:
version "3.3.3"
resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.3.tgz#f1cf84fe2d5e901ebce94efaece785f187a228f2"
@@ -13612,6 +15797,11 @@ xml-name-validator@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"
+xmlchars@^2.2.0:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
+ integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==
+
xmlhttprequest-ssl@~1.5.4:
version "1.5.5"
resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e"
@@ -13643,6 +15833,14 @@ yallist@^3.0.3:
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==
+yargs-parser@18.x, yargs-parser@^18.1.1:
+ version "18.1.3"
+ resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0"
+ integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==
+ dependencies:
+ camelcase "^5.0.0"
+ decamelize "^1.2.0"
+
yargs-parser@^10.0.0:
version "10.1.0"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-10.1.0.tgz#7202265b89f7e9e9f2e5765e0fe735a905edbaa8"
@@ -13688,6 +15886,23 @@ yargs@^14.2.2:
y18n "^4.0.0"
yargs-parser "^15.0.0"
+yargs@^15.3.1:
+ version "15.3.1"
+ resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.1.tgz#9505b472763963e54afe60148ad27a330818e98b"
+ integrity sha512-92O1HWEjw27sBfgmXiixJWT5hRBp2eobqXicLtPBIDBhYB+1HpwZlXmbW2luivBJHBzki+7VyCLRtAkScbTBQA==
+ dependencies:
+ cliui "^6.0.0"
+ decamelize "^1.2.0"
+ find-up "^4.1.0"
+ get-caller-file "^2.0.1"
+ require-directory "^2.1.1"
+ require-main-filename "^2.0.0"
+ set-blocking "^2.0.0"
+ string-width "^4.2.0"
+ which-module "^2.0.0"
+ y18n "^4.0.0"
+ yargs-parser "^18.1.1"
+
yargs@^4.8.0:
version "4.8.1"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-4.8.1.tgz#c0c42924ca4aaa6b0e6da1739dfb216439f9ddc0"
From 9337c5b067710ef18660623e0cd1ed3a2a4b5175 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:16:49 +1000
Subject: [PATCH 02/32] refactor: strip flow types when running tests with jest
---
babel.config.js | 1 +
package.json | 1 +
test/specs/components/RouterLink.spec.js | 2 +-
yarn.lock | 15 ++++++++++++++-
4 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/babel.config.js b/babel.config.js
index c76a0d028..2ed4c7df4 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,4 +1,5 @@
module.exports = {
+ plugins: ['transform-flow-strip-types'],
presets: [
[
'@babel/preset-env',
diff --git a/package.json b/package.json
index 0d81dda85..0d8c09bb7 100644
--- a/package.json
+++ b/package.json
@@ -90,6 +90,7 @@
"@commitlint/config-conventional": "^8.2.0",
"@vue/composition-api": "^0.6.4",
"babel-jest": "^26.0.1",
+ "babel-plugin-transform-flow-strip-types": "^6.22.0",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"husky": "^3.1.0",
diff --git a/test/specs/components/RouterLink.spec.js b/test/specs/components/RouterLink.spec.js
index 0592b7591..fcae948e8 100644
--- a/test/specs/components/RouterLink.spec.js
+++ b/test/specs/components/RouterLink.spec.js
@@ -1,4 +1,4 @@
-import { RouterLinkStub } from '@vue/test-utils'
+import RouterLinkStub from '../.././../packages/test-utils/src/components/RouterLinkStub'
import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('RouterLinkStub', mountingMethod => {
diff --git a/yarn.lock b/yarn.lock
index cfb499341..f36984410 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3910,6 +3910,19 @@ babel-plugin-syntax-dynamic-import@^6.18.0:
version "6.18.0"
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
+babel-plugin-syntax-flow@^6.18.0:
+ version "6.18.0"
+ resolved "https://registry.yarnpkg.com/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz#4c3ab20a2af26aa20cd25995c398c4eb70310c8d"
+ integrity sha1-TDqyCiryaqIM0lmVw5jE63AxDI0=
+
+babel-plugin-transform-flow-strip-types@^6.22.0:
+ version "6.22.0"
+ resolved "https://registry.yarnpkg.com/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz#84cb672935d43714fdc32bce84568d87441cf7cf"
+ integrity sha1-hMtnKTXUNxT9wyvOhFaNh0Qc988=
+ dependencies:
+ babel-plugin-syntax-flow "^6.18.0"
+ babel-runtime "^6.22.0"
+
babel-plugin-transform-vue-jsx@^3.7.0:
version "3.7.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-vue-jsx/-/babel-plugin-transform-vue-jsx-3.7.0.tgz#d40492e6692a36b594f7e9a1928f43e969740960"
@@ -3956,7 +3969,7 @@ babel-preset-jest@^26.0.0:
babel-plugin-jest-hoist "^26.0.0"
babel-preset-current-node-syntax "^0.1.2"
-babel-runtime@^6.18.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0:
+babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
dependencies:
From ff0c01b6dc16740a168d09998e527546120b1f93 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:20:28 +1000
Subject: [PATCH 03/32] refactor: update attachTo and destroy specs
---
test/specs/mounting-options/attachTo.spec.js | 34 ++++++++++----------
test/specs/wrapper/destroy.spec.js | 4 +--
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/test/specs/mounting-options/attachTo.spec.js b/test/specs/mounting-options/attachTo.spec.js
index 1e1e20e5c..65852724c 100644
--- a/test/specs/mounting-options/attachTo.spec.js
+++ b/test/specs/mounting-options/attachTo.spec.js
@@ -9,52 +9,52 @@ const TestComponent = { template }
describeWithShallowAndMount('options.attachTo', mountingMethod => {
it('should not mount to document when null', () => {
const wrapper = mountingMethod(TestComponent, {})
- expect(wrapper.vm.$el.parentNode).to.be.null
+ expect(wrapper.vm.$el.parentNode).toBeNull()
wrapper.destroy()
})
it('attaches to a provided HTMLElement', () => {
const div = document.createElement('div')
div.id = 'root'
document.body.appendChild(div)
- expect(document.getElementById('root')).to.not.be.null
- expect(document.getElementById('attach-to')).to.be.null
+ expect(document.getElementById('root')).not.toBeNull()
+ expect(document.getElementById('attach-to')).toBeNull()
const wrapper = mountingMethod(TestComponent, {
attachTo: div
})
const root = document.getElementById('root')
const rendered = document.getElementById('attach-to')
- expect(wrapper.vm.$el.parentNode).to.not.be.null
- expect(root).to.be.null
- expect(rendered).to.not.be.null
+ expect(wrapper.vm.$el.parentNode).not.toBeNull()
+ expect(root).toBeNull()
+ expect(rendered).not.toBeNull()
expect(rendered.outerHTML).toEqual(outerHTML)
expect(wrapper.options.attachedToDocument).toEqual(true)
wrapper.destroy()
- expect(document.getElementById('attach-to')).to.be.null
+ expect(document.getElementById('attach-to')).toBeNull()
})
it('attaches to a provided CSS selector string', () => {
const div = document.createElement('div')
div.id = 'root'
document.body.appendChild(div)
- expect(document.getElementById('root')).to.not.be.null
- expect(document.getElementById('attach-to')).to.be.null
+ expect(document.getElementById('root')).not.toBeNull()
+ expect(document.getElementById('attach-to')).toBeNull()
const wrapper = mountingMethod(TestComponent, {
attachTo: '#root'
})
const root = document.getElementById('root')
const rendered = document.getElementById('attach-to')
- expect(wrapper.vm.$el.parentNode).to.not.be.null
- expect(root).to.be.null
- expect(rendered).to.not.be.null
+ expect(wrapper.vm.$el.parentNode).not.toBeNull()
+ expect(root).toBeNull()
+ expect(rendered).not.toBeNull()
expect(rendered.outerHTML).toEqual(outerHTML)
expect(wrapper.options.attachedToDocument).toEqual(true)
wrapper.destroy()
- expect(document.getElementById('attach-to')).to.be.null
+ expect(document.getElementById('attach-to')).toBeNull()
})
it('correctly hydrates markup', () => {
- expect(document.getElementById('attach-to')).to.be.null
+ expect(document.getElementById('attach-to')).toBeNull()
const div = document.createElement('div')
div.id = 'attach-to'
@@ -67,11 +67,11 @@ describeWithShallowAndMount('options.attachTo', mountingMethod => {
})
const rendered = document.getElementById('attach-to')
- expect(wrapper.vm.$el.parentNode).to.not.be.null
- expect(rendered).to.not.be.null
+ expect(wrapper.vm.$el.parentNode).not.toBeNull()
+ expect(rendered).not.toBeNull()
expect(rendered.outerHTML).toEqual(outerHTML)
expect(wrapper.options.attachedToDocument).toEqual(true)
wrapper.destroy()
- expect(document.getElementById('attach-to')).to.be.null
+ expect(document.getElementById('attach-to')).toBeNull()
})
})
diff --git a/test/specs/wrapper/destroy.spec.js b/test/specs/wrapper/destroy.spec.js
index a78d770b5..252ef2760 100644
--- a/test/specs/wrapper/destroy.spec.js
+++ b/test/specs/wrapper/destroy.spec.js
@@ -37,7 +37,7 @@ describeWithShallowAndMount('destroy', mountingMethod => {
)
expect(wrapper.vm.$el.parentNode).toEqual(document.body)
wrapper.destroy()
- expect(wrapper.vm.$el.parentNode).to.be.null
+ expect(wrapper.vm.$el.parentNode).toBeNull()
})
it('removes functional component element from document.body', () => {
@@ -52,7 +52,7 @@ describeWithShallowAndMount('destroy', mountingMethod => {
)
expect(wrapper.element.parentNode).toEqual(document.body)
wrapper.destroy()
- expect(wrapper.element.parentNode).to.be.null
+ expect(wrapper.element.parentNode).toBeNull()
})
it('throws if component throws during destroy', () => {
From b15aabde6d6e6a9718902a3a090c2f8ad3315ddd Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:22:07 +1000
Subject: [PATCH 04/32] refactor: continue moving to jest
---
test/specs/error-wrapper.spec.js | 2 +-
test/specs/mount.spec.js | 8 ++++----
.../mounting-options/attachToDocument.spec.js | 4 ++--
test/specs/mounting-options/context.spec.js | 6 +++---
test/specs/mounting-options/localVue.spec.js | 2 +-
test/specs/mounting-options/mocks.spec.js | 2 +-
.../mounting-options/parentComponent.spec.js | 2 +-
test/specs/mounting-options/provide.spec.js | 2 +-
.../specs/mounting-options/scopedSlots.spec.js | 2 +-
test/specs/mounting-options/slots.spec.js | 14 +++++++-------
test/specs/mounting-options/stubs.spec.js | 10 +++++-----
test/specs/shallow-mount.spec.js | 2 +-
test/specs/vue-wrapper.spec.js | 2 +-
test/specs/wrapper-array.spec.js | 6 +++---
test/specs/wrapper-array/at.spec.js | 4 ++--
test/specs/wrapper-array/attributes.spec.js | 4 ++--
test/specs/wrapper-array/classes.spec.js | 4 ++--
test/specs/wrapper-array/contains.spec.js | 4 ++--
test/specs/wrapper-array/find.spec.js | 4 ++--
test/specs/wrapper-array/findAll.spec.js | 4 ++--
test/specs/wrapper-array/html.spec.js | 4 ++--
test/specs/wrapper-array/is.spec.js | 4 ++--
test/specs/wrapper-array/isEmpty.spec.js | 2 +-
test/specs/wrapper-array/isVisible.spec.js | 2 +-
test/specs/wrapper-array/isVueInstance.spec.js | 2 +-
test/specs/wrapper-array/name.spec.js | 4 ++--
test/specs/wrapper-array/overview.spec.js | 4 ++--
test/specs/wrapper-array/props.spec.js | 4 ++--
test/specs/wrapper-array/setData.spec.js | 4 ++--
test/specs/wrapper-array/setProps.spec.js | 4 ++--
test/specs/wrapper-array/setSelected.spec.js | 2 +-
test/specs/wrapper-array/text.spec.js | 4 ++--
test/specs/wrapper-array/trigger.spec.js | 4 ++--
test/specs/wrapper.spec.js | 4 ++--
test/specs/wrapper/at.spec.js | 2 +-
test/specs/wrapper/contains.spec.js | 4 ++--
test/specs/wrapper/destroy.spec.js | 2 +-
test/specs/wrapper/emitted.spec.js | 2 +-
test/specs/wrapper/emittedByOrder.spec.js | 2 +-
test/specs/wrapper/filter.spec.js | 2 +-
test/specs/wrapper/find.spec.js | 18 +++++++++---------
test/specs/wrapper/findAll.spec.js | 10 +++++-----
test/specs/wrapper/get.spec.js | 2 +-
test/specs/wrapper/is.spec.js | 4 ++--
test/specs/wrapper/isVisible.spec.js | 2 +-
test/specs/wrapper/overview.spec.js | 2 +-
test/specs/wrapper/props.spec.js | 4 ++--
test/specs/wrapper/setChecked.spec.js | 4 ++--
test/specs/wrapper/setData.spec.js | 4 ++--
test/specs/wrapper/setProps.spec.js | 2 +-
test/specs/wrapper/setSelected.spec.js | 2 +-
test/specs/wrapper/setValue.spec.js | 2 +-
test/specs/wrapper/trigger.spec.js | 4 ++--
53 files changed, 105 insertions(+), 105 deletions(-)
diff --git a/test/specs/error-wrapper.spec.js b/test/specs/error-wrapper.spec.js
index 3f5723280..8f44cb7b8 100644
--- a/test/specs/error-wrapper.spec.js
+++ b/test/specs/error-wrapper.spec.js
@@ -45,7 +45,7 @@ describeWithShallowAndMount('ErrorWrapper', mountingMethod => {
const error = wrapper.find(selector)
expect(error.constructor.name).toEqual('ErrorWrapper')
expect(() => error[method]())
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index fff5fece2..5a73d628d 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -150,7 +150,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
window = undefined // eslint-disable-line no-native-reassign
expect(() => mount(compileToFunctions('
')))
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -323,7 +323,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
}
const fn = () => mount(TestComponent)
- expect(fn).to.throw('Error in mounted')
+ expect(fn).toThrow('Error in mounted')
})
it('propagates errors when they are thrown by a nested component', () => {
@@ -343,7 +343,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
mount(rootComponent)
}
- expect(fn).to.throw('Error in mounted')
+ expect(fn).toThrow('Error in mounted')
})
it('adds unused propsData as attributes', () => {
@@ -469,7 +469,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const fn = () => {
wrapper.vm.a = 2
}
- expect(fn).to.throw()
+ expect(fn).toThrow()
wrapper.destroy()
}
)
diff --git a/test/specs/mounting-options/attachToDocument.spec.js b/test/specs/mounting-options/attachToDocument.spec.js
index 6b4175b64..0ad6a9388 100644
--- a/test/specs/mounting-options/attachToDocument.spec.js
+++ b/test/specs/mounting-options/attachToDocument.spec.js
@@ -9,7 +9,7 @@ describeWithShallowAndMount('options.attachToDocument', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
attachToDocument: true
})
- expect(document.querySelector('.attached')).to.not.equal(null)
+ expect(document.querySelector('.attached')).not.toEqual(null)
expect(wrapper.options.attachedToDocument).toEqual(true)
})
})
@@ -27,7 +27,7 @@ describe('options.attachToDocument with renderToString', () => {
const message =
'[vue-test-utils]: you cannot use attachToDocument with renderToString'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/mounting-options/context.spec.js b/test/specs/mounting-options/context.spec.js
index 0c2a506ae..3f1c5a979 100644
--- a/test/specs/mounting-options/context.spec.js
+++ b/test/specs/mounting-options/context.spec.js
@@ -33,7 +33,7 @@ describeWithShallowAndMount('options.context', mountingMethod => {
'[vue-test-utils]: mount.context can only be used when mounting a functional component'
const fn = () => mountingMethod(Component, { context })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -45,7 +45,7 @@ describeWithShallowAndMount('options.context', mountingMethod => {
const context = {}
const fn = () =>
mountingMethod(Component, { context, stubs: false, mocks: false })
- expect(fn).not.to.throw()
+ expect(fn).not.toThrow()
})
it('throws error if context option is not an object', () => {
@@ -57,7 +57,7 @@ describeWithShallowAndMount('options.context', mountingMethod => {
const message = '[vue-test-utils]: mount.context must be an object'
const fn = () => mountingMethod(Component, { context })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
diff --git a/test/specs/mounting-options/localVue.spec.js b/test/specs/mounting-options/localVue.spec.js
index 8e5b92490..27c5e911d 100644
--- a/test/specs/mounting-options/localVue.spec.js
+++ b/test/specs/mounting-options/localVue.spec.js
@@ -172,7 +172,7 @@ describeWithShallowAndMount('options.localVue', mountingMethod => {
mocks: false
})
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
}
)
diff --git a/test/specs/mounting-options/mocks.spec.js b/test/specs/mounting-options/mocks.spec.js
index 8964278e4..8f52ee5b3 100644
--- a/test/specs/mounting-options/mocks.spec.js
+++ b/test/specs/mounting-options/mocks.spec.js
@@ -196,7 +196,7 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
stubs: false
})
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
}
)
diff --git a/test/specs/mounting-options/parentComponent.spec.js b/test/specs/mounting-options/parentComponent.spec.js
index 5ce65f3dc..5a8700d9e 100644
--- a/test/specs/mounting-options/parentComponent.spec.js
+++ b/test/specs/mounting-options/parentComponent.spec.js
@@ -28,7 +28,7 @@ describeWithShallowAndMount('options.parentComponent', mountingMethod => {
const message =
'[vue-test-utils]: options.parentComponent should be a valid Vue component options object'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/mounting-options/provide.spec.js b/test/specs/mounting-options/provide.spec.js
index de9bca524..347afbbc1 100644
--- a/test/specs/mounting-options/provide.spec.js
+++ b/test/specs/mounting-options/provide.spec.js
@@ -208,6 +208,6 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
mountingMethod(ComponentWithInject, {
provide: { fromMount: '_' }
})
- }).to.throw()
+ }).toThrow()
})
})
diff --git a/test/specs/mounting-options/scopedSlots.spec.js b/test/specs/mounting-options/scopedSlots.spec.js
index d457801ee..fa6ad20e0 100644
--- a/test/specs/mounting-options/scopedSlots.spec.js
+++ b/test/specs/mounting-options/scopedSlots.spec.js
@@ -247,7 +247,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
const message =
'[vue-test-utils]: the scopedSlots option is only supported in vue@2.1+.'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
}
)
diff --git a/test/specs/mounting-options/slots.spec.js b/test/specs/mounting-options/slots.spec.js
index f1e5117a1..eccd53c90 100644
--- a/test/specs/mounting-options/slots.spec.js
+++ b/test/specs/mounting-options/slots.spec.js
@@ -108,7 +108,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
})
try {
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
} catch (err) {
require.cache[
@@ -148,7 +148,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
})
try {
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
} catch (err) {
require.cache[
@@ -339,7 +339,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -353,7 +353,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -367,7 +367,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -381,7 +381,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -404,7 +404,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
}
try {
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
} catch (err) {
require.cache[
diff --git a/test/specs/mounting-options/stubs.spec.js b/test/specs/mounting-options/stubs.spec.js
index 51e0a0f63..058fcec1c 100644
--- a/test/specs/mounting-options/stubs.spec.js
+++ b/test/specs/mounting-options/stubs.spec.js
@@ -256,7 +256,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
stubs: [invalidValue]
})
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', error)
})
})
@@ -281,7 +281,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
})
try {
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
} catch (err) {
require.cache[
@@ -446,7 +446,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
})
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', error)
})
validValues.forEach(validValue => {
@@ -471,7 +471,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
})
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', error)
})
})
@@ -495,7 +495,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
mocks: false
})
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
}
)
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index ba8ebf177..c38a8e3e9 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -532,7 +532,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
throw new Error('Error')
}
})
- ).to.throw()
+ ).toThrow()
})
it('stubs dynamic components', () => {
diff --git a/test/specs/vue-wrapper.spec.js b/test/specs/vue-wrapper.spec.js
index 2a0eb7e3b..1e12ef866 100644
--- a/test/specs/vue-wrapper.spec.js
+++ b/test/specs/vue-wrapper.spec.js
@@ -9,7 +9,7 @@ describeWithShallowAndMount('VueWrapper', mountingMethod => {
expect(() => {
wrapper[property] = 'foo'
})
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array.spec.js b/test/specs/wrapper-array.spec.js
index 77ce0e0cd..85ce3e00a 100644
--- a/test/specs/wrapper-array.spec.js
+++ b/test/specs/wrapper-array.spec.js
@@ -27,7 +27,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
expect(() => {
wrapperArray[property] = 'foo'
})
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
@@ -85,7 +85,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const wrapperArray = getWrapperArray([])
const message = `[vue-test-utils]: ${method} cannot be called on 0 items`
expect(() => wrapperArray[method]())
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -112,7 +112,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const wrapperArray = getWrapperArray([1, 2, 3])
const message = `[vue-test-utils]: ${method} must be called on a single wrapper, use at(i) to access a wrapper`
expect(() => wrapperArray[method]())
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/at.spec.js b/test/specs/wrapper-array/at.spec.js
index 6862390f7..447dbdb9e 100644
--- a/test/specs/wrapper-array/at.spec.js
+++ b/test/specs/wrapper-array/at.spec.js
@@ -37,7 +37,7 @@ describeWithShallowAndMount('at', mountingMethod => {
.findAll('p')
.at(index)
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -52,7 +52,7 @@ describeWithShallowAndMount('at', mountingMethod => {
.findAll('p')
.at(index)
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/attributes.spec.js b/test/specs/wrapper-array/attributes.spec.js
index a59c98f61..4e4097bd9 100644
--- a/test/specs/wrapper-array/attributes.spec.js
+++ b/test/specs/wrapper-array/attributes.spec.js
@@ -12,7 +12,7 @@ describeWithShallowAndMount('attributes', mountingMethod => {
.findAll('p')
.attributes('p')
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -25,7 +25,7 @@ describeWithShallowAndMount('attributes', mountingMethod => {
'[vue-test-utils]: attributes must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').attributes()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/classes.spec.js b/test/specs/wrapper-array/classes.spec.js
index 0ac930121..b6889a5b8 100644
--- a/test/specs/wrapper-array/classes.spec.js
+++ b/test/specs/wrapper-array/classes.spec.js
@@ -12,7 +12,7 @@ describeWithShallowAndMount('classes', mountingMethod => {
.findAll('p')
.classes('p')
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -25,7 +25,7 @@ describeWithShallowAndMount('classes', mountingMethod => {
'[vue-test-utils]: classes must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').classes()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/contains.spec.js b/test/specs/wrapper-array/contains.spec.js
index 50118eeed..fc7df19a2 100644
--- a/test/specs/wrapper-array/contains.spec.js
+++ b/test/specs/wrapper-array/contains.spec.js
@@ -26,7 +26,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
.findAll('p')
.contains('p')
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -51,7 +51,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.contains() must be passed a valid CSS selector, Vue constructor, or valid find option object'
expect(() => pArr.contains(invalidSelector))
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/find.spec.js b/test/specs/wrapper-array/find.spec.js
index e8feafbe9..63bcbc95c 100644
--- a/test/specs/wrapper-array/find.spec.js
+++ b/test/specs/wrapper-array/find.spec.js
@@ -12,7 +12,7 @@ describeWithShallowAndMount('find', mountingMethod => {
.findAll('p')
.find('p')
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -24,7 +24,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: find must be called on a single wrapper, use at(i) to access a wrapper'
expect(() => wrapper.findAll('div').find('div'))
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/findAll.spec.js b/test/specs/wrapper-array/findAll.spec.js
index 44cbfd61c..cbee376a5 100644
--- a/test/specs/wrapper-array/findAll.spec.js
+++ b/test/specs/wrapper-array/findAll.spec.js
@@ -11,7 +11,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
.findAll('p')
.findAll('p')
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -23,7 +23,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const message =
'[vue-test-utils]: findAll must be called on a single wrapper, use at(i) to access a wrapper'
expect(() => wrapper.findAll('div').findAll('div'))
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/html.spec.js b/test/specs/wrapper-array/html.spec.js
index 3ba8d43bb..fc5c4eb8d 100644
--- a/test/specs/wrapper-array/html.spec.js
+++ b/test/specs/wrapper-array/html.spec.js
@@ -11,7 +11,7 @@ describeWithShallowAndMount('html', mountingMethod => {
.findAll('p')
.html('p')
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -22,7 +22,7 @@ describeWithShallowAndMount('html', mountingMethod => {
'[vue-test-utils]: html must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').html()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/is.spec.js b/test/specs/wrapper-array/is.spec.js
index b1a128eb7..1a59089f4 100644
--- a/test/specs/wrapper-array/is.spec.js
+++ b/test/specs/wrapper-array/is.spec.js
@@ -38,7 +38,7 @@ describeWithShallowAndMount('is', mountingMethod => {
.findAll('p')
.is('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -63,7 +63,7 @@ describeWithShallowAndMount('is', mountingMethod => {
'[vue-test-utils]: wrapper.is() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.findAll('div').is(invalidSelector)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/isEmpty.spec.js b/test/specs/wrapper-array/isEmpty.spec.js
index 70e38134c..e64f0169e 100644
--- a/test/specs/wrapper-array/isEmpty.spec.js
+++ b/test/specs/wrapper-array/isEmpty.spec.js
@@ -25,7 +25,7 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
.findAll('p')
.isEmpty('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/isVisible.spec.js b/test/specs/wrapper-array/isVisible.spec.js
index 104c0c16b..e989afff0 100644
--- a/test/specs/wrapper-array/isVisible.spec.js
+++ b/test/specs/wrapper-array/isVisible.spec.js
@@ -36,7 +36,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
.findAll('p')
.isVisible('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/isVueInstance.spec.js b/test/specs/wrapper-array/isVueInstance.spec.js
index 255b61a2c..9b076b60d 100644
--- a/test/specs/wrapper-array/isVueInstance.spec.js
+++ b/test/specs/wrapper-array/isVueInstance.spec.js
@@ -24,7 +24,7 @@ describeWithShallowAndMount('isVueInstance', mountingMethod => {
.findAll('p')
.isVueInstance('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/name.spec.js b/test/specs/wrapper-array/name.spec.js
index ef3580724..c5ec35a62 100644
--- a/test/specs/wrapper-array/name.spec.js
+++ b/test/specs/wrapper-array/name.spec.js
@@ -9,7 +9,7 @@ describeWithShallowAndMount('name', mountingMethod => {
const message =
'[vue-test-utils]: name must be called on a single wrapper, use at(i) to access a wrapper'
expect(() => wrapper.findAll('div').name())
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -21,7 +21,7 @@ describeWithShallowAndMount('name', mountingMethod => {
.findAll('p')
.name('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/overview.spec.js b/test/specs/wrapper-array/overview.spec.js
index 5bdb37a8e..b19e01df7 100644
--- a/test/specs/wrapper-array/overview.spec.js
+++ b/test/specs/wrapper-array/overview.spec.js
@@ -8,7 +8,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
const message = '[vue-test-utils]: overview() cannot be called on 0 items'
expect(() => wrapper.findAll('p').overview())
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -18,7 +18,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
'[vue-test-utils]: overview() must be called on a single wrapper, use at(i) to access a wrapper'
expect(() => wrapper.findAll('div').overview())
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/props.spec.js b/test/specs/wrapper-array/props.spec.js
index 130af1991..aa891656b 100644
--- a/test/specs/wrapper-array/props.spec.js
+++ b/test/specs/wrapper-array/props.spec.js
@@ -11,7 +11,7 @@ describeWithShallowAndMount('props', mountingMethod => {
.findAll('p')
.props('p')
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -22,7 +22,7 @@ describeWithShallowAndMount('props', mountingMethod => {
'[vue-test-utils]: props must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').props()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/setData.spec.js b/test/specs/wrapper-array/setData.spec.js
index 9a1219344..48c814f7d 100644
--- a/test/specs/wrapper-array/setData.spec.js
+++ b/test/specs/wrapper-array/setData.spec.js
@@ -20,7 +20,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
const wrapper = mountingMethod(compiled)
const fn = () => wrapper.findAll('p').setData({ ready: true })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -32,7 +32,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
.findAll('p')
.setData('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/setProps.spec.js b/test/specs/wrapper-array/setProps.spec.js
index c7fbc2d9f..47e4a1556 100644
--- a/test/specs/wrapper-array/setProps.spec.js
+++ b/test/specs/wrapper-array/setProps.spec.js
@@ -33,7 +33,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const p = wrapper.findAll('p')
const fn = () => p.setProps({ ready: true })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -45,7 +45,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
.findAll('p')
.setProps('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/setSelected.spec.js b/test/specs/wrapper-array/setSelected.spec.js
index af517f1c6..a4a936785 100644
--- a/test/specs/wrapper-array/setSelected.spec.js
+++ b/test/specs/wrapper-array/setSelected.spec.js
@@ -19,7 +19,7 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
const message =
'[vue-test-utils]: setSelected must be called on a single wrapper, use at(i) to access a wrapper'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/text.spec.js b/test/specs/wrapper-array/text.spec.js
index 9bc6e9fb4..2b8cc1b06 100644
--- a/test/specs/wrapper-array/text.spec.js
+++ b/test/specs/wrapper-array/text.spec.js
@@ -10,7 +10,7 @@ describeWithShallowAndMount('text', mountingMethod => {
'[vue-test-utils]: text must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').text()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -22,7 +22,7 @@ describeWithShallowAndMount('text', mountingMethod => {
.findAll('p')
.text('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/trigger.spec.js b/test/specs/wrapper-array/trigger.spec.js
index 35956e008..17b5bcd5d 100644
--- a/test/specs/wrapper-array/trigger.spec.js
+++ b/test/specs/wrapper-array/trigger.spec.js
@@ -60,7 +60,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
'[vue-test-utils]: wrapper.trigger() must be passed a string'
const fn = () => wrapper.trigger(invalidSelector)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
@@ -73,7 +73,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
.findAll('p')
.trigger('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper.spec.js b/test/specs/wrapper.spec.js
index c3fbc06a2..dfc93bd32 100644
--- a/test/specs/wrapper.spec.js
+++ b/test/specs/wrapper.spec.js
@@ -12,7 +12,7 @@ describeWithShallowAndMount('Wrapper', mountingMethod => {
expect(() => {
wrapper[property] = 'foo'
})
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
@@ -50,7 +50,7 @@ describeWithShallowAndMount('Wrapper', mountingMethod => {
enableAutoDestroy(noop)
- expect(() => enableAutoDestroy(noop)).to.throw()
+ expect(() => enableAutoDestroy(noop)).toThrow()
})
})
})
diff --git a/test/specs/wrapper/at.spec.js b/test/specs/wrapper/at.spec.js
index 005174445..23170f210 100644
--- a/test/specs/wrapper/at.spec.js
+++ b/test/specs/wrapper/at.spec.js
@@ -8,7 +8,7 @@ describeWithShallowAndMount('at', mountingMethod => {
const message = '[vue-test-utils]: at() must be called on a WrapperArray'
const fn = () => wrapper.at()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper/contains.spec.js b/test/specs/wrapper/contains.spec.js
index b963f4954..5b7d43f07 100644
--- a/test/specs/wrapper/contains.spec.js
+++ b/test/specs/wrapper/contains.spec.js
@@ -75,7 +75,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
'[vue-test-utils]: $ref selectors can only be used on Vue component wrappers'
const fn = () => a.contains({ ref: 'foo' })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -159,7 +159,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
'[vue-test-utils]: wrapper.contains() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.contains(invalidSelector)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper/destroy.spec.js b/test/specs/wrapper/destroy.spec.js
index 252ef2760..5aa085946 100644
--- a/test/specs/wrapper/destroy.spec.js
+++ b/test/specs/wrapper/destroy.spec.js
@@ -66,6 +66,6 @@ describeWithShallowAndMount('destroy', mountingMethod => {
})
}
const wrapper = mountingMethod(TestComponent)
- expect(() => wrapper.destroy()).to.throw()
+ expect(() => wrapper.destroy()).toThrow()
})
})
diff --git a/test/specs/wrapper/emitted.spec.js b/test/specs/wrapper/emitted.spec.js
index 335add46a..5bbad37cb 100644
--- a/test/specs/wrapper/emitted.spec.js
+++ b/test/specs/wrapper/emitted.spec.js
@@ -57,7 +57,7 @@ describeWithShallowAndMount('emitted', mountingMethod => {
const fn = () => wrapper.find('p').emitted()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
diff --git a/test/specs/wrapper/emittedByOrder.spec.js b/test/specs/wrapper/emittedByOrder.spec.js
index e439cfa79..c1b2884c3 100644
--- a/test/specs/wrapper/emittedByOrder.spec.js
+++ b/test/specs/wrapper/emittedByOrder.spec.js
@@ -39,7 +39,7 @@ describeWithShallowAndMount('emittedByOrder', mountingMethod => {
const fn = () => wrapper.find('p').emittedByOrder()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
diff --git a/test/specs/wrapper/filter.spec.js b/test/specs/wrapper/filter.spec.js
index 876fe5582..ab8d99e2b 100644
--- a/test/specs/wrapper/filter.spec.js
+++ b/test/specs/wrapper/filter.spec.js
@@ -9,7 +9,7 @@ describeWithShallowAndMount('filter', mountingMethod => {
'[vue-test-utils]: filter() must be called on a WrapperArray'
const fn = () => wrapper.filter()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper/find.spec.js b/test/specs/wrapper/find.spec.js
index 2f9e718cf..b787d6d40 100644
--- a/test/specs/wrapper/find.spec.js
+++ b/test/specs/wrapper/find.spec.js
@@ -108,7 +108,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'[vue-test-utils]: wrapper.find() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.find('[href=&6"/"]')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -148,7 +148,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'[vue-test-utils]: findComponent requires a Vue constructor or valid find object. If you are searching for DOM nodes, use `find` instead'
const fn = () => wrapper.findComponent('#foo')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -158,7 +158,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'[vue-test-utils]: You cannot chain findComponent off a DOM element. It can only be used on Vue Components.'
const fn = () => wrapper.find('span').findComponent('#foo')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -246,7 +246,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'[vue-test-utils]: find for functional components is not supported in Vue < 2.3'
const fn = () => wrapper.find(TestFunctionalComponent)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
} else {
expect(wrapper.find(TestFunctionalComponent).exists()).toEqual(true)
@@ -270,7 +270,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'[vue-test-utils]: find for functional components is not supported in Vue < 2.3'
const fn = () => wrapper.find(TestFunctionalComponent)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
} else {
expect(wrapper.find(TestFunctionalComponent).exists()).toEqual(true)
@@ -313,7 +313,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: cannot find a Vue instance on a DOM node. The node you are calling find on does not exist in the VDom. Are you adding the node as innerHTML?'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -334,7 +334,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: cannot find a Vue instance on a DOM node. The node you are calling find on does not exist in the VDom. Are you adding the node as innerHTML?'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -496,7 +496,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'[vue-test-utils]: $ref selectors can only be used on Vue component wrappers'
const fn = () => a.find({ ref: 'foo' })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -552,7 +552,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'[vue-test-utils]: wrapper.find() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.find(invalidSelector)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper/findAll.spec.js b/test/specs/wrapper/findAll.spec.js
index 9ab80e054..5a649fe1d 100644
--- a/test/specs/wrapper/findAll.spec.js
+++ b/test/specs/wrapper/findAll.spec.js
@@ -104,7 +104,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
'[vue-test-utils]: wrapper.findAll() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.findAll('[href=&6"/"]')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -157,7 +157,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
'[vue-test-utils]: findAllComponents requires a Vue constructor or valid find object. If you are searching for DOM nodes, use `find` instead'
const fn = () => wrapper.findAllComponents('#foo')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -167,7 +167,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
'[vue-test-utils]: You cannot chain findAllComponents off a DOM element. It can only be used on Vue Components.'
const fn = () => wrapper.find('span').findAllComponents('#foo')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -297,7 +297,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
'[vue-test-utils]: $ref selectors can only be used on Vue component wrappers'
const fn = () => a.findAll({ ref: 'foo' })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -345,7 +345,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
'[vue-test-utils]: wrapper.findAll() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.findAll(invalidSelector)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper/get.spec.js b/test/specs/wrapper/get.spec.js
index 5afba8e9b..d63c92849 100644
--- a/test/specs/wrapper/get.spec.js
+++ b/test/specs/wrapper/get.spec.js
@@ -6,7 +6,7 @@ describeWithShallowAndMount('get', mountingMethod => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
expect(() => wrapper.get('.does-not-exist'))
- .to.throw()
+ .toThrow()
.with.property(
'message',
'Unable to find .does-not-exist within:
'
diff --git a/test/specs/wrapper/is.spec.js b/test/specs/wrapper/is.spec.js
index ff8251688..b1bdb9277 100644
--- a/test/specs/wrapper/is.spec.js
+++ b/test/specs/wrapper/is.spec.js
@@ -107,7 +107,7 @@ describeWithShallowAndMount('is', mountingMethod => {
'[vue-test-utils]: $ref selectors can not be used with wrapper.is()'
const fn = () => wrapper.is({ ref: 'foo' })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -133,7 +133,7 @@ describeWithShallowAndMount('is', mountingMethod => {
'[vue-test-utils]: wrapper.is() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.is(invalidSelector)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper/isVisible.spec.js b/test/specs/wrapper/isVisible.spec.js
index d4164f220..fee2290fc 100644
--- a/test/specs/wrapper/isVisible.spec.js
+++ b/test/specs/wrapper/isVisible.spec.js
@@ -139,7 +139,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
await Vue.nextTick()
const fn = () => wrapper.find('.child.ready').isVisible()
- expect(fn).to.throw()
+ expect(fn).toThrow()
})
it('returns true if one element is present', async () => {
diff --git a/test/specs/wrapper/overview.spec.js b/test/specs/wrapper/overview.spec.js
index 16c2d7965..08a500b21 100644
--- a/test/specs/wrapper/overview.spec.js
+++ b/test/specs/wrapper/overview.spec.js
@@ -19,7 +19,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
'[vue-test-utils]: wrapper.overview() can only be called on a Vue instance'
expect(() => nonVueWrapper.overview())
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
diff --git a/test/specs/wrapper/props.spec.js b/test/specs/wrapper/props.spec.js
index 4674be5a7..1ecbf3bfa 100644
--- a/test/specs/wrapper/props.spec.js
+++ b/test/specs/wrapper/props.spec.js
@@ -73,7 +73,7 @@ describeWithShallowAndMount('props', mountingMethod => {
'[vue-test-utils]: wrapper.props() cannot be called on a mounted functional component.'
const fn = () => wrapper.find(FunctionalComponent).props()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
}
}
@@ -88,7 +88,7 @@ describeWithShallowAndMount('props', mountingMethod => {
'[vue-test-utils]: wrapper.props() must be called on a Vue instance'
const fn = () => p.props()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
diff --git a/test/specs/wrapper/setChecked.spec.js b/test/specs/wrapper/setChecked.spec.js
index 7b5ca0876..0d705ae5e 100644
--- a/test/specs/wrapper/setChecked.spec.js
+++ b/test/specs/wrapper/setChecked.spec.js
@@ -159,7 +159,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const input = wrapper.find('input[type="checkbox"]')
const fn = () => input.setChecked('asd')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', '[vue-test-utils]: ' + message)
})
@@ -170,7 +170,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const input = wrapper.find('#radioFoo')
const fn = () => input.setChecked(false)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', '[vue-test-utils]: ' + message)
})
})
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index 9ee8fee0d..4df3cbf7b 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -83,7 +83,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
const fn = () =>
mountingMethod(AFunctionalComponent).setData({ data1: 'data' })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
// find on functional components isn't supported in Vue < 2.3
if (vueVersion < 2.3) {
@@ -100,7 +100,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
.find(AFunctionalComponent)
.setData({ data1: 'data' })
expect(fn2)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
diff --git a/test/specs/wrapper/setProps.spec.js b/test/specs/wrapper/setProps.spec.js
index 81aa6a9e5..cac19209e 100644
--- a/test/specs/wrapper/setProps.spec.js
+++ b/test/specs/wrapper/setProps.spec.js
@@ -236,7 +236,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
.find(AFunctionalComponent)
.setProps({ prop1: 'prop' })
expect(fn2)
- .to.throw()
+ .toThrow()
.with.property('message', errors.FUNCTIONAL_COMPONENT_ERROR)
}
)
diff --git a/test/specs/wrapper/setSelected.spec.js b/test/specs/wrapper/setSelected.spec.js
index e27f2962f..ed87284de 100644
--- a/test/specs/wrapper/setSelected.spec.js
+++ b/test/specs/wrapper/setSelected.spec.js
@@ -79,7 +79,7 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
const fn = () => input.setSelected('value')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', '[vue-test-utils]: ' + message)
})
})
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index 5c189d43f..3acf3d33f 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -125,7 +125,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const fn = () => input.setValue('')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', '[vue-test-utils]: ' + message)
}
})
diff --git a/test/specs/wrapper/trigger.spec.js b/test/specs/wrapper/trigger.spec.js
index 080ed1dd2..126da8001 100644
--- a/test/specs/wrapper/trigger.spec.js
+++ b/test/specs/wrapper/trigger.spec.js
@@ -238,7 +238,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
const message =
'[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -261,7 +261,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
'[vue-test-utils]: wrapper.trigger() must be passed a string'
const fn = () => wrapper.trigger(invalidSelector)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
From 800a20c0b7e6d3821fe373df32f6bf85b4f57b18 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:23:48 +1000
Subject: [PATCH 05/32] refactor: update tests
---
test/specs/mounting-options/attachToDocument.spec.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/test/specs/mounting-options/attachToDocument.spec.js b/test/specs/mounting-options/attachToDocument.spec.js
index 0ad6a9388..f01b0a90f 100644
--- a/test/specs/mounting-options/attachToDocument.spec.js
+++ b/test/specs/mounting-options/attachToDocument.spec.js
@@ -26,8 +26,6 @@ describe('options.attachToDocument with renderToString', () => {
const fn = () => renderToString(TestComponent, { attachToDocument: true })
const message =
'[vue-test-utils]: you cannot use attachToDocument with renderToString'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow({ message })
})
})
From 6c70bdae455dc4620e56fd9ec872000510d11513 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:24:41 +1000
Subject: [PATCH 06/32] refactor: update tests
---
test/specs/mounting-options/attrs.spec.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/specs/mounting-options/attrs.spec.js b/test/specs/mounting-options/attrs.spec.js
index 9ad08ab6c..13a5fa576 100644
--- a/test/specs/mounting-options/attrs.spec.js
+++ b/test/specs/mounting-options/attrs.spec.js
@@ -30,7 +30,7 @@ describeWithShallowAndMount('options.attrs', mountingMethod => {
'defines attrs as empty object even when not passed',
() => {
const wrapper = mountingMethod({ template: '
' })
- expect(wrapper.vm.$attrs).to.deep.equal({})
+ expect(wrapper.vm.$attrs).toEqual({})
}
)
})
From f9f312a1882dbca8bde772f4346e0108cdf2f1dc Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:26:24 +1000
Subject: [PATCH 07/32] refactor: update tests
---
test/specs/mounting-options/context.spec.js | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/test/specs/mounting-options/context.spec.js b/test/specs/mounting-options/context.spec.js
index 3f1c5a979..f0eaa6840 100644
--- a/test/specs/mounting-options/context.spec.js
+++ b/test/specs/mounting-options/context.spec.js
@@ -32,9 +32,7 @@ describeWithShallowAndMount('options.context', mountingMethod => {
const message =
'[vue-test-utils]: mount.context can only be used when mounting a functional component'
const fn = () => mountingMethod(Component, { context })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('does not throw error if functional component with Vue.extend', () => {
@@ -56,9 +54,7 @@ describeWithShallowAndMount('options.context', mountingMethod => {
const context = 'string'
const message = '[vue-test-utils]: mount.context must be an object'
const fn = () => mountingMethod(Component, { context })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('mounts functional component with a defined context when no context object passed in options', () => {
@@ -74,7 +70,7 @@ describeWithShallowAndMount('options.context', mountingMethod => {
render: (h, { props }) => h('div', props.testProp)
}
const wrapper = mountingMethod(Component)
- expect(wrapper.html()).to.contain(defaultValue)
+ expect(wrapper.html()).toContain(defaultValue)
})
it('mounts functional component with a defined context.children text', () => {
@@ -89,7 +85,7 @@ describeWithShallowAndMount('options.context', mountingMethod => {
children: ['render text']
}
})
- expect(wrapper.html()).to.contain('render text')
+ expect(wrapper.html()).toContain('render text')
})
it('mounts functional component with a defined context.children element', () => {
@@ -104,6 +100,6 @@ describeWithShallowAndMount('options.context', mountingMethod => {
children: [h => h('div', 'render component')]
}
})
- expect(wrapper.html()).to.contain('render component')
+ expect(wrapper.html()).toContain('render component')
})
})
From f96c675d42de36ca3e0eac49746879f73ff8e213 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:27:46 +1000
Subject: [PATCH 08/32] refactor: continue jest migration
---
test/specs/mounting-options/listeners.spec.js | 2 +-
test/specs/wrapper/findAll.spec.js | 4 ++--
test/specs/wrapper/setData.spec.js | 4 ++--
test/specs/wrapper/setValue.spec.js | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/test/specs/mounting-options/listeners.spec.js b/test/specs/mounting-options/listeners.spec.js
index 298dd61c1..0d9151eae 100644
--- a/test/specs/mounting-options/listeners.spec.js
+++ b/test/specs/mounting-options/listeners.spec.js
@@ -58,7 +58,7 @@ describeWithShallowAndMount('options.listeners', mountingMethod => {
'defines listeners as empty object even when not passed',
() => {
const wrapper = mountingMethod({ template: '
' })
- expect(wrapper.vm.$listeners).to.deep.equal({})
+ expect(wrapper.vm.$listeners).toEqual({})
}
)
})
diff --git a/test/specs/wrapper/findAll.spec.js b/test/specs/wrapper/findAll.spec.js
index 5a649fe1d..724922bb1 100644
--- a/test/specs/wrapper/findAll.spec.js
+++ b/test/specs/wrapper/findAll.spec.js
@@ -272,7 +272,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const wrapper = mountingMethod(Component)
const preArray = wrapper.findAll('pre')
expect(preArray.length).toEqual(0)
- expect(preArray.wrappers).to.deep.equal([])
+ expect(preArray.wrappers).toEqual([])
})
it('returns an array of Wrapper of elements matching a component name in options object', () => {
@@ -321,7 +321,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const wrapper = mountingMethod(Component)
const preArray = wrapper.findAll({ ref: 'foo' })
expect(preArray.length).toEqual(0)
- expect(preArray.wrappers).to.deep.equal([])
+ expect(preArray.wrappers).toEqual([])
})
it('throws an error if selector is not a valid selector', () => {
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index 4df3cbf7b..8029e49b5 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -268,7 +268,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
wrapper.setData({
items: [3]
})
- expect(wrapper.vm.items).to.deep.equal([3])
+ expect(wrapper.vm.items).toEqual([3])
await wrapper.setData({
nested: {
nested: {
@@ -277,7 +277,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
}
})
expect(wrapper.text()).toEqual('10')
- expect(wrapper.vm.nested.nested.nestedArray).to.deep.equal([10])
+ expect(wrapper.vm.nested.nested.nestedArray).toEqual([10])
})
it('should set property in existing data object', async () => {
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index 3acf3d33f..78720c465 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -73,7 +73,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const selectedOptions = Array.from(select.element.selectedOptions).map(
o => o.value
)
- expect(selectedOptions).to.deep.equal(['selectA', 'selectC'])
+ expect(selectedOptions).toEqual(['selectA', 'selectC'])
})
it('overrides elements of multiselect', () => {
@@ -85,7 +85,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const selectedOptions = Array.from(select.element.selectedOptions).map(
o => o.value
)
- expect(selectedOptions).to.deep.equal(['selectB'])
+ expect(selectedOptions).toEqual(['selectB'])
})
it('updates dom with multiselect v-model when array', async () => {
From 2a3876ca27bb40e66c1d889fa94c72203179b4ca Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:29:45 +1000
Subject: [PATCH 09/32] refactor: continue jest migration
---
test/specs/create-local-vue.spec.js | 4 +--
test/specs/mount.spec.js | 2 +-
test/specs/mounting-options/localVue.spec.js | 8 ++---
test/specs/mounting-options/methods.spec.js | 2 +-
test/specs/mounting-options/mocks.spec.js | 6 ++--
.../mounting-options/parentComponent.spec.js | 2 +-
test/specs/mounting-options/provide.spec.js | 10 +++----
.../mounting-options/scopedSlots.spec.js | 2 +-
test/specs/mounting-options/slots.spec.js | 8 ++---
test/specs/mounting-options/stubs.spec.js | 30 +++++++++----------
test/specs/renderToString.spec.js | 10 +++----
test/specs/shallow-mount.spec.js | 20 ++++++-------
test/specs/wrapper-array/at.spec.js | 6 ++--
test/specs/wrapper/classes.spec.js | 10 +++----
test/specs/wrapper/find.spec.js | 2 +-
test/specs/wrapper/setChecked.spec.js | 12 ++++----
test/specs/wrapper/setData.spec.js | 6 ++--
test/specs/wrapper/setSelected.spec.js | 8 ++---
test/specs/wrapper/setValue.spec.js | 12 ++++----
test/specs/wrapper/trigger.spec.js | 10 +++----
20 files changed, 85 insertions(+), 85 deletions(-)
diff --git a/test/specs/create-local-vue.spec.js b/test/specs/create-local-vue.spec.js
index 526f8ac69..1b53d576e 100644
--- a/test/specs/create-local-vue.spec.js
+++ b/test/specs/create-local-vue.spec.js
@@ -91,10 +91,10 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
const wrapper = mountingMethod(ComponentWithRouter, { localVue, router })
expect(wrapper.vm.$route).to.be.an('object')
- expect(wrapper.text()).to.contain('home')
+ expect(wrapper.text()).toContain('home')
wrapper.find('a').trigger('click')
- expect(wrapper.text()).to.contain('foo')
+ expect(wrapper.text()).toContain('foo')
const freshWrapper = mountingMethod(Component)
expect(typeof freshWrapper.vm.$route).toEqual('undefined')
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index 5a73d628d..43fef57a2 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -64,7 +64,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
prop1
}
})
- expect(wrapper.text()).to.contain(prop1)
+ expect(wrapper.text()).toContain(prop1)
}
)
diff --git a/test/specs/mounting-options/localVue.spec.js b/test/specs/mounting-options/localVue.spec.js
index 27c5e911d..a15b045be 100644
--- a/test/specs/mounting-options/localVue.spec.js
+++ b/test/specs/mounting-options/localVue.spec.js
@@ -21,7 +21,7 @@ describeWithShallowAndMount('options.localVue', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
localVue: localVue
})
- expect(wrapper.html()).to.contain('some value')
+ expect(wrapper.html()).toContain('some value')
}
)
@@ -52,9 +52,9 @@ describeWithShallowAndMount('options.localVue', mountingMethod => {
const HTML =
mountingMethod.name === 'renderToString' ? wrapper : wrapper.html()
if (mountingMethod.name === 'shallowMount') {
- expect(HTML).to.not.contain('2')
+ expect(HTML).not.toContain('2')
} else {
- expect(HTML).to.contain('2')
+ expect(HTML).toContain('2')
}
})
@@ -216,7 +216,7 @@ describeWithShallowAndMount('options.localVue', mountingMethod => {
localVue.use(Vuex)
shallowMount(TestComponent, { localVue })
const wrapper = mount(TestComponent, { localVue })
- expect(wrapper.html()).to.contain('span')
+ expect(wrapper.html()).toContain('span')
}
)
})
diff --git a/test/specs/mounting-options/methods.spec.js b/test/specs/mounting-options/methods.spec.js
index 3e000361b..cf258dfcc 100644
--- a/test/specs/mounting-options/methods.spec.js
+++ b/test/specs/mounting-options/methods.spec.js
@@ -28,6 +28,6 @@ describeWithShallowAndMount('options.methods', mountingMethod => {
}
})
- expect(wrapper.html()).to.contain('methodFromOptions')
+ expect(wrapper.html()).toContain('methodFromOptions')
})
})
diff --git a/test/specs/mounting-options/mocks.spec.js b/test/specs/mounting-options/mocks.spec.js
index 8f52ee5b3..a3a8002db 100644
--- a/test/specs/mounting-options/mocks.spec.js
+++ b/test/specs/mounting-options/mocks.spec.js
@@ -83,10 +83,10 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
mocks: { $reactiveMock }
}
)
- expect(wrapper.text()).to.contain('value')
+ expect(wrapper.text()).toContain('value')
$reactiveMock.value = 'changed value'
await Vue.nextTick()
- expect(wrapper.text()).to.contain('changed value')
+ expect(wrapper.text()).toContain('changed value')
})
itDoNotRunIf(
@@ -176,7 +176,7 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
$global: 'locallyMockedValue'
}
})
- expect(wrapper.html()).to.contain('locallyMockedValue')
+ expect(wrapper.html()).toContain('locallyMockedValue')
})
itRunIf(
diff --git a/test/specs/mounting-options/parentComponent.spec.js b/test/specs/mounting-options/parentComponent.spec.js
index 5a8700d9e..2c8629064 100644
--- a/test/specs/mounting-options/parentComponent.spec.js
+++ b/test/specs/mounting-options/parentComponent.spec.js
@@ -13,7 +13,7 @@ describeWithShallowAndMount('options.parentComponent', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
parentComponent: Parent
})
- expect(wrapper.html()).to.contain('Parent Name')
+ expect(wrapper.html()).toContain('Parent Name')
})
it('validates parentComponent option', () => {
diff --git a/test/specs/mounting-options/provide.spec.js b/test/specs/mounting-options/provide.spec.js
index 347afbbc1..c940cfc49 100644
--- a/test/specs/mounting-options/provide.spec.js
+++ b/test/specs/mounting-options/provide.spec.js
@@ -28,7 +28,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
const wrapper = mountingMethod(ComponentWithInject, {
provide: { fromMount: 'objectValue' }
})
- expect(wrapper.html()).to.contain('objectValue')
+ expect(wrapper.html()).toContain('objectValue')
}
)
@@ -123,7 +123,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
}
}
})
- expect(wrapper.html()).to.contain('functionValue')
+ expect(wrapper.html()).toContain('functionValue')
}
)
@@ -168,7 +168,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
config.provide['fromMount'] = 'globalConfig'
const wrapper = mountingMethod(ComponentWithInject)
- expect(wrapper.html()).to.contain('globalConfig')
+ expect(wrapper.html()).toContain('globalConfig')
}
)
@@ -182,7 +182,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
provide: { fromMount: '_' }
})
- expect(wrapper.html()).to.contain('_')
+ expect(wrapper.html()).toContain('_')
}
)
@@ -197,7 +197,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
localVue
})
- expect(wrapper.html()).to.contain('_')
+ expect(wrapper.html()).toContain('_')
}
)
diff --git a/test/specs/mounting-options/scopedSlots.spec.js b/test/specs/mounting-options/scopedSlots.spec.js
index fa6ad20e0..9e3b2ef50 100644
--- a/test/specs/mounting-options/scopedSlots.spec.js
+++ b/test/specs/mounting-options/scopedSlots.spec.js
@@ -352,7 +352,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
localVue
})
- expect(wrapper.html()).to.contain('span')
+ expect(wrapper.html()).toContain('span')
}
)
diff --git a/test/specs/mounting-options/slots.spec.js b/test/specs/mounting-options/slots.spec.js
index eccd53c90..20100a995 100644
--- a/test/specs/mounting-options/slots.spec.js
+++ b/test/specs/mounting-options/slots.spec.js
@@ -178,8 +178,8 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
footer: 'world
'
}
})
- expect(wrapper.html()).to.contain('hello ')
- expect(wrapper.html()).to.contain('world
')
+ expect(wrapper.html()).toContain('hello ')
+ expect(wrapper.html()).toContain('world
')
})
it('mounts component with default and named text slot', () => {
@@ -189,7 +189,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
default: 'hello,'
}
})
- expect(wrapper.text()).to.contain('hello, world')
+ expect(wrapper.text()).toContain('hello, world')
})
it('mounts functional component with text slot', () => {
@@ -205,7 +205,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
header: 'world'
}
})
- expect(wrapper.text()).to.contain('hello,world')
+ expect(wrapper.text()).toContain('hello,world')
})
it('mounts component with named slot if passed component in slot object', () => {
diff --git a/test/specs/mounting-options/stubs.spec.js b/test/specs/mounting-options/stubs.spec.js
index 058fcec1c..c5f474eaf 100644
--- a/test/specs/mounting-options/stubs.spec.js
+++ b/test/specs/mounting-options/stubs.spec.js
@@ -130,7 +130,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
'registered-component': Component
}
})
- expect(wrapper.html()).to.contain('')
+ expect(wrapper.html()).toContain('')
})
it('stubs components with dummy when passed as an array', () => {
@@ -140,7 +140,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
const wrapper = mountingMethod(ComponentWithGlobalComponent, {
stubs: ['registered-component']
})
- expect(wrapper.html()).to.contain('')
+ expect(wrapper.html()).toContain('')
})
itDoNotRunIf(
@@ -161,7 +161,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
stubs: ['grand-child-component']
})
- expect(wrapper.html()).not.to.contain('')
+ expect(wrapper.html()).not.toContain('')
}
)
@@ -186,7 +186,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
'grand-child-component': true
}
})
- expect(wrapper.html()).not.to.contain('')
+ expect(wrapper.html()).not.toContain('')
delete Vue.options.components['child-component']
delete Vue.options.components['grand-child-component']
}
@@ -210,7 +210,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
const wrapper = mountingMethod(Vue.extend(TestComponent), {
stubs: ['grand-child-component']
})
- expect(wrapper.html()).not.to.contain('')
+ expect(wrapper.html()).not.toContain('')
}
)
@@ -227,7 +227,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
stubs: ['child-component', 'stub-with-child']
})
- expect(wrapper.html()).to.contain('')
+ expect(wrapper.html()).toContain('')
})
it('stubs components with dummy which has name when passed a boolean', () => {
@@ -240,7 +240,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
'registered-component': true
}
})
- expect(wrapper.html()).to.contain('')
+ expect(wrapper.html()).toContain('')
})
it('stubs components with dummy when passed as an array', () => {
@@ -303,7 +303,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ChildComponent: false
}
})
- expect(wrapper.html()).to.contain('
')
+ expect(wrapper.html()).toContain('
')
}
)
@@ -330,8 +330,8 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
},
localVue
})
- expect(wrapper.html()).to.contain(' ')
- expect(wrapper.html()).to.contain('')
+ expect(wrapper.html()).toContain(' ')
+ expect(wrapper.html()).toContain('
')
})
it('prioritize mounting options over config', () => {
@@ -351,7 +351,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
},
localVue
})
- expect(wrapper.html()).to.contain('')
+ expect(wrapper.html()).toContain('')
})
itDoNotRunIf(
@@ -393,7 +393,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
localVue
})
- expect(wrapper.html()).to.contain('
')
+ expect(wrapper.html()).toContain('
')
})
it('handles components without a render function', () => {
@@ -523,9 +523,9 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
DynamicHello3: StubComponent
}
})
- expect(wrapper.html()).to.contain('span')
- expect(wrapper.html()).to.contain('dynamichello2-stub')
- expect(wrapper.html()).to.contain('h1')
+ expect(wrapper.html()).toContain('span')
+ expect(wrapper.html()).toContain('dynamichello2-stub')
+ expect(wrapper.html()).toContain('h1')
})
it('maintains refs to components', () => {
diff --git a/test/specs/renderToString.spec.js b/test/specs/renderToString.spec.js
index d0f205ec8..4996402fd 100644
--- a/test/specs/renderToString.spec.js
+++ b/test/specs/renderToString.spec.js
@@ -11,7 +11,7 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
return { val: '123' }
}
})
- expect(str).to.contain('123')
+ expect(str).toContain('123')
})
it('mounts functional component with a defined context when no context object passed in options', async () => {
@@ -27,7 +27,7 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
render: (h, { props }) => h('div', props.testProp)
}
const str = await renderToString(Component)
- expect(str).to.contain(defaultValue)
+ expect(str).toContain(defaultValue)
})
it('mounts component using passed localVue as base Vue', async () => {
@@ -39,7 +39,7 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
const str = await renderToString(TestComponent, {
localVue: localVue
})
- expect(str).to.contain('some value')
+ expect(str).toContain('some value')
})
it('adds variables to vm when passed', async () => {
@@ -75,7 +75,7 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
const str = await renderToString(TestComponent, {
parentComponent: Parent
})
- expect(str).to.contain('Parent Name')
+ expect(str).toContain('Parent Name')
})
it('replaces component with template string ', async () => {
@@ -85,6 +85,6 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
}
})
- expect(str).to.contain('"stub"')
+ expect(str).toContain('"stub"')
})
})
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index c38a8e3e9..af88169f9 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -28,11 +28,11 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
it('renders dynamic class of functional child', () => {
const wrapper = shallowMount(ComponentWithFunctionalChild)
- expect(wrapper.find('functional-component-stub').classes()).to.contain(
+ expect(wrapper.find('functional-component-stub').classes()).toContain(
'foo',
'bar'
)
- expect(wrapper.find('functional-component-stub').classes()).not.to.contain(
+ expect(wrapper.find('functional-component-stub').classes()).not.toContain(
'qux'
)
})
@@ -223,7 +223,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.contain(' {
}
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.contain(' {
}
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.contain(' {
@@ -276,7 +276,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
components
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.contain(' `,
data: () => ({
@@ -285,7 +285,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
components
}
const wrapper2 = shallowMount(TestComponent2)
- expect(wrapper2.html()).to.contain(' `,
data: () => ({
@@ -294,7 +294,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
components
}
const wrapper3 = shallowMount(TestComponent3)
- expect(wrapper3.html()).to.contain(' {
@@ -307,7 +307,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
name: 'test-component'
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.contain('')
+ expect(wrapper.html()).toContain('')
expect(console.error).not.calledWith('[Vue warn]')
})
@@ -521,7 +521,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
localVue.use(myPlugin)
const wrapper = shallowMount(TestComponent, { localVue })
- expect(wrapper.html()).to.contain('registered-component-stub')
+ expect(wrapper.html()).toContain('registered-component-stub')
})
it('throws an error when the component fails to mount', () => {
diff --git a/test/specs/wrapper-array/at.spec.js b/test/specs/wrapper-array/at.spec.js
index 447dbdb9e..3d7b414a0 100644
--- a/test/specs/wrapper-array/at.spec.js
+++ b/test/specs/wrapper-array/at.spec.js
@@ -10,7 +10,7 @@ describeWithShallowAndMount('at', mountingMethod => {
.findAll('p')
.at(1)
expect(p.vnode).to.be.an('object')
- expect(p.classes()).to.contain('index-1')
+ expect(p.classes()).toContain('index-1')
})
it('returns Wrapper at index from the end when index is negative', () => {
@@ -21,9 +21,9 @@ describeWithShallowAndMount('at', mountingMethod => {
const last = all.at(-1)
const first = all.at(-2)
expect(last.vnode).to.be.an('object')
- expect(last.classes()).to.contain('index-last')
+ expect(last.classes()).toContain('index-last')
expect(first.vnode).to.be.an('object')
- expect(first.classes()).to.contain('index-first')
+ expect(first.classes()).toContain('index-first')
})
it('throws error if no item exists at index', () => {
diff --git a/test/specs/wrapper/classes.spec.js b/test/specs/wrapper/classes.spec.js
index 81024fc93..f7aa15396 100644
--- a/test/specs/wrapper/classes.spec.js
+++ b/test/specs/wrapper/classes.spec.js
@@ -6,8 +6,8 @@ describeWithShallowAndMount('classes', mountingMethod => {
it('returns array of class names if wrapper has class names', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.classes()).to.contain('a-class')
- expect(wrapper.classes()).to.contain('b-class')
+ expect(wrapper.classes()).toContain('a-class')
+ expect(wrapper.classes()).toContain('b-class')
})
it('returns empty array if wrapper has no classes', () => {
@@ -26,9 +26,9 @@ describeWithShallowAndMount('classes', mountingMethod => {
' '
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.classes()).to.contain('a-class')
- expect(wrapper.classes()).to.contain('b-class')
- expect(wrapper.find('text').classes()).to.contain('c-class')
+ expect(wrapper.classes()).toContain('a-class')
+ expect(wrapper.classes()).toContain('b-class')
+ expect(wrapper.find('text').classes()).toContain('c-class')
})
it('returns true if the element has the class', () => {
diff --git a/test/specs/wrapper/find.spec.js b/test/specs/wrapper/find.spec.js
index b787d6d40..bd4ffa07a 100644
--- a/test/specs/wrapper/find.spec.js
+++ b/test/specs/wrapper/find.spec.js
@@ -202,7 +202,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrappers = wrapper.findAll('div').wrappers
const expectedClasses = ['1', '1a', '1aa', '1b', '2', '3']
wrappers.forEach((w, i) =>
- expect(w.classes()).to.contain(expectedClasses[i])
+ expect(w.classes()).toContain(expectedClasses[i])
)
}
)
diff --git a/test/specs/wrapper/setChecked.spec.js b/test/specs/wrapper/setChecked.spec.js
index 0d705ae5e..267d2e4ac 100644
--- a/test/specs/wrapper/setChecked.spec.js
+++ b/test/specs/wrapper/setChecked.spec.js
@@ -8,9 +8,9 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const response = input.setChecked()
expect(isPromise(response)).to.eql(true)
- expect(wrapper.text()).not.to.contain('checkbox checked')
+ expect(wrapper.text()).not.toContain('checkbox checked')
await response
- expect(wrapper.text()).to.contain('checkbox checked')
+ expect(wrapper.text()).toContain('checkbox checked')
})
it('sets element checked true with no option passed', () => {
const wrapper = mountingMethod(ComponentWithInput)
@@ -36,10 +36,10 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const input = wrapper.find('input[type="checkbox"]')
await input.setChecked()
- expect(wrapper.text()).to.contain('checkbox checked')
+ expect(wrapper.text()).toContain('checkbox checked')
await input.setChecked(false)
- expect(wrapper.text()).to.not.contain('checkbox checked')
+ expect(wrapper.text()).not.toContain('checkbox checked')
})
it('changes state the right amount of times with checkbox v-model', async () => {
@@ -97,10 +97,10 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const wrapper = mountingMethod(ComponentWithInput)
await wrapper.find('#radioBar').setChecked()
- expect(wrapper.text()).to.contain('radioBarResult')
+ expect(wrapper.text()).toContain('radioBarResult')
await wrapper.find('#radioFoo').setChecked()
- expect(wrapper.text()).to.contain('radioFooResult')
+ expect(wrapper.text()).toContain('radioFooResult')
})
it('changes state the right amount of times with radio v-model', async () => {
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index 8029e49b5..82d57071b 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -48,7 +48,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
const wrapper = mountingMethod(Component)
await wrapper.setData({ show: true })
expect(wrapper.element).toEqual(wrapper.vm.$el)
- expect(wrapper.classes()).to.contain('some-class')
+ expect(wrapper.classes()).toContain('some-class')
})
it('runs watch function when data is updated', async () => {
@@ -222,7 +222,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
foo: 'baz'
}
})
- expect(wrapper.text()).to.contain('baz')
+ expect(wrapper.text()).toContain('baz')
})
it('handles null values', async () => {
@@ -241,7 +241,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
another: null
}
})
- expect(wrapper.text()).to.contain('bar')
+ expect(wrapper.text()).toContain('bar')
wrapper.setData({
nullProperty: {
another: {
diff --git a/test/specs/wrapper/setSelected.spec.js b/test/specs/wrapper/setSelected.spec.js
index ed87284de..8cbd7c247 100644
--- a/test/specs/wrapper/setSelected.spec.js
+++ b/test/specs/wrapper/setSelected.spec.js
@@ -16,10 +16,10 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
const options = wrapper.find('select').findAll('option')
await options.at(1).setSelected()
- expect(wrapper.text()).to.contain('selectB')
+ expect(wrapper.text()).toContain('selectB')
await options.at(0).setSelected()
- expect(wrapper.text()).to.contain('selectA')
+ expect(wrapper.text()).toContain('selectA')
})
it('updates dom with select v-model for select with optgroups', async () => {
@@ -27,10 +27,10 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
const options = wrapper.find('select.with-optgroups').findAll('option')
await options.at(1).setSelected()
- expect(wrapper.text()).to.contain('selectB')
+ expect(wrapper.text()).toContain('selectB')
await options.at(0).setSelected()
- expect(wrapper.text()).to.contain('selectA')
+ expect(wrapper.text()).toContain('selectA')
})
it('triggers a change event on the parent select', () => {
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index 78720c465..e8109c792 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -9,9 +9,9 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const input = wrapper.find('input[type="text"]')
const response = input.setValue('foo')
expect(isPromise(response)).to.eql(true)
- expect(wrapper.text()).not.to.contain('foo')
+ expect(wrapper.text()).not.toContain('foo')
await response
- expect(wrapper.text()).to.contain('foo')
+ expect(wrapper.text()).toContain('foo')
})
it('sets element of input value', () => {
const wrapper = mountingMethod(ComponentWithInput)
@@ -34,7 +34,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const input = wrapper.find('input[type="text"]')
await input.setValue('input text awesome binding')
- expect(wrapper.text()).to.contain('input text awesome binding')
+ expect(wrapper.text()).toContain('input text awesome binding')
})
itDoNotRunIf(
@@ -45,7 +45,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const input = wrapper.find('input#lazy')
await input.setValue('lazy')
- expect(wrapper.text()).to.contain('lazy')
+ expect(wrapper.text()).toContain('lazy')
}
)
@@ -62,7 +62,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const select = wrapper.find('select')
await select.setValue('selectB')
- expect(wrapper.text()).to.contain('selectB')
+ expect(wrapper.text()).toContain('selectB')
})
it('sets element of multiselect value', () => {
@@ -93,7 +93,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const select = wrapper.find('select.multiselect')
await select.setValue(['selectA', 'selectC'])
- expect(wrapper.text()).to.contain('["selectA","selectC"]')
+ expect(wrapper.text()).toContain('["selectA","selectC"]')
})
it('throws error if element is option', () => {
diff --git a/test/specs/wrapper/trigger.spec.js b/test/specs/wrapper/trigger.spec.js
index 126da8001..e03695338 100644
--- a/test/specs/wrapper/trigger.spec.js
+++ b/test/specs/wrapper/trigger.spec.js
@@ -21,12 +21,12 @@ describeWithShallowAndMount('trigger', mountingMethod => {
it('returns a promise that when resolved, the component is updated', async () => {
const wrapper = mountingMethod(ComponentWithEvents)
const toggle = wrapper.find('.toggle')
- expect(toggle.classes()).not.to.contain('active')
+ expect(toggle.classes()).not.toContain('active')
const response = toggle.trigger('click')
- expect(toggle.classes()).not.to.contain('active')
+ expect(toggle.classes()).not.toContain('active')
expect(isPromise(response)).to.eql(true)
await response
- expect(toggle.classes()).to.contain('active')
+ expect(toggle.classes()).toContain('active')
})
it('causes click handler to fire when wrapper.trigger("click") is called on a Component', () => {
@@ -115,10 +115,10 @@ describeWithShallowAndMount('trigger', mountingMethod => {
async () => {
const wrapper = mountingMethod(ComponentWithEvents)
const toggle = wrapper.find('.toggle')
- expect(toggle.classes()).not.to.contain('active')
+ expect(toggle.classes()).not.toContain('active')
toggle.trigger('click')
await Vue.nextTick()
- expect(toggle.classes()).to.contain('active')
+ expect(toggle.classes()).toContain('active')
}
)
From 88002f0d5bc40dcee4c786b32c221efa347e77dd Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:40:47 +1000
Subject: [PATCH 10/32] refactor: remove sinon
---
.eslintrc | 3 ++-
test/specs/mounting-options/mocks.spec.js | 30 ++++++++---------------
2 files changed, 12 insertions(+), 21 deletions(-)
diff --git a/.eslintrc b/.eslintrc
index 12552ff8d..26d54a041 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -2,7 +2,8 @@
"globals": {
"wrapper": true,
"expect": true,
- "Element": true
+ "Element": true,
+ "jest": true
},
"root": true,
"plugins": [
diff --git a/test/specs/mounting-options/mocks.spec.js b/test/specs/mounting-options/mocks.spec.js
index a3a8002db..62482b977 100644
--- a/test/specs/mounting-options/mocks.spec.js
+++ b/test/specs/mounting-options/mocks.spec.js
@@ -6,19 +6,15 @@ import { describeWithShallowAndMount, vueVersion } from '~resources/utils'
import { itDoNotRunIf, itSkipIf, itRunIf } from 'conditional-specs'
describeWithShallowAndMount('options.mocks', mountingMethod => {
- const sandbox = sinon.createSandbox()
- let configMocksSave
+ let originalConsoleError
beforeEach(() => {
- configMocksSave = config.mocks
- config.mocks = {}
- sandbox.stub(console, 'error').callThrough()
+ originalConsoleError = console.error
+ console.error = jest.fn()
})
afterEach(() => {
- config.mocks = configMocksSave
- sandbox.reset()
- sandbox.restore()
+ console.error = originalConsoleError
})
it('adds variables to vm when passed', () => {
@@ -38,8 +34,8 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
$route
}
})
- expect(wrapper.html()).contains('true')
- expect(wrapper.html()).contains('http://test.com')
+ expect(wrapper.html()).toContain('true')
+ expect(wrapper.html()).toContain('http://test.com')
})
itSkipIf(vueVersion < 2.3, 'adds variables to extended components', () => {
@@ -59,11 +55,10 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
$route
}
})
- expect(wrapper.html()).contains('http://test.com')
+ expect(wrapper.html()).toContain('http://test.com')
})
it('adds variables as reactive properties to vm when passed', async () => {
- const stub = sandbox.stub()
const $reactiveMock = { value: 'value' }
const wrapper = mountingMethod(
{
@@ -72,11 +67,6 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
value() {
return this.$reactiveMock.value
}
- },
- watch: {
- value() {
- stub()
- }
}
},
{
@@ -105,7 +95,7 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
mocks: { $store: { state: { count, foo: {} } } }
}
)
- expect(wrapper.html()).contains(count)
+ expect(wrapper.html()).toContain(count)
}
)
@@ -127,7 +117,7 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
localVue
}
)
- expect(wrapper.html()).contains(count)
+ expect(wrapper.html()).toContain(count)
}
)
@@ -159,7 +149,7 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
`[vue-test-utils]: could not overwrite property $store, this ` +
`is usually caused by a plugin that has added the property as ` +
`a read-only value`
- expect(console.error).calledWith(msg)
+ expect(console.error).toHaveBeenCalledWith(msg)
})
it('prioritize mounting options over config', () => {
From 39a8f65529974ce1a36e4e987f0806114017b6fd Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:42:49 +1000
Subject: [PATCH 11/32] refactor: update tests to use jest
---
test/specs/mounting-options/parentComponent.spec.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/test/specs/mounting-options/parentComponent.spec.js b/test/specs/mounting-options/parentComponent.spec.js
index 2c8629064..4d23b858d 100644
--- a/test/specs/mounting-options/parentComponent.spec.js
+++ b/test/specs/mounting-options/parentComponent.spec.js
@@ -27,9 +27,7 @@ describeWithShallowAndMount('options.parentComponent', mountingMethod => {
})
const message =
'[vue-test-utils]: options.parentComponent should be a valid Vue component options object'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow({ message })
})
})
})
From 05836515e81b6978b8855121ea6eb312b22fe1d0 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:44:11 +1000
Subject: [PATCH 12/32] refactor: update tests to use jest
---
test/specs/mounting-options/propsData.spec.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/specs/mounting-options/propsData.spec.js b/test/specs/mounting-options/propsData.spec.js
index 330310b13..6a5ca6799 100644
--- a/test/specs/mounting-options/propsData.spec.js
+++ b/test/specs/mounting-options/propsData.spec.js
@@ -21,13 +21,13 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'propsData', () => {
describe('should not modify propsData between tests', () => {
it('should have the correct props after modifying', () => {
- expect(wrapper.vm.prop1).to.have.length(2)
+ expect(wrapper.vm.prop1).toHaveLength(2)
wrapper.setProps({ prop1: [] })
- expect(wrapper.vm.prop1).to.have.length(0)
+ expect(wrapper.vm.prop1).toHaveLength(0)
})
it('should have the default props despite being modified in the previous test', () => {
- expect(wrapper.vm.prop1).to.have.length(2)
+ expect(wrapper.vm.prop1).toHaveLength(2)
})
})
})
From 54949f5cd33e2c6ee100bae72b3fe8b0b0fc10e0 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:53:45 +1000
Subject: [PATCH 13/32] refactor: add jsx plugin and update scopedSlots spec
---
babel.config.js | 2 +-
package.json | 1 +
test/specs/mounting-options/scopedSlots.spec.js | 13 ++-----------
yarn.lock | 6 ++++++
4 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/babel.config.js b/babel.config.js
index 2ed4c7df4..45485a6dd 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,5 +1,5 @@
module.exports = {
- plugins: ['transform-flow-strip-types'],
+ plugins: ['transform-flow-strip-types', 'transform-vue-jsx'],
presets: [
[
'@babel/preset-env',
diff --git a/package.json b/package.json
index 0d8c09bb7..fcae65129 100644
--- a/package.json
+++ b/package.json
@@ -90,6 +90,7 @@
"@commitlint/config-conventional": "^8.2.0",
"@vue/composition-api": "^0.6.4",
"babel-jest": "^26.0.1",
+ "babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
diff --git a/test/specs/mounting-options/scopedSlots.spec.js b/test/specs/mounting-options/scopedSlots.spec.js
index 9e3b2ef50..7719fd0f4 100644
--- a/test/specs/mounting-options/scopedSlots.spec.js
+++ b/test/specs/mounting-options/scopedSlots.spec.js
@@ -5,15 +5,6 @@ import { itDoNotRunIf } from 'conditional-specs'
import Vue from 'vue'
describeWithShallowAndMount('scopedSlots', mountingMethod => {
- const sandbox = sinon.createSandbox()
- const windowSave = window
-
- afterEach(() => {
- window = windowSave // eslint-disable-line no-native-reassign
- sandbox.reset()
- sandbox.restore()
- })
-
itDoNotRunIf(vueVersion < 2.1, 'handles templates as the root node', () => {
const wrapper = mountingMethod(
{
@@ -270,14 +261,14 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
return this.$scopedSlots.default(this.val)
}
}
- const stub = sandbox.stub()
+ const stub = jest.fn()
mountingMethod(TestComponent, {
scopedSlots: {
default: stub
}
})
await Vue.nextTick()
- expect(stub).calledWith(123)
+ expect(stub).toHaveBeenCalledWith(123)
}
)
diff --git a/yarn.lock b/yarn.lock
index f36984410..85b70b2be 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3915,6 +3915,11 @@ babel-plugin-syntax-flow@^6.18.0:
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz#4c3ab20a2af26aa20cd25995c398c4eb70310c8d"
integrity sha1-TDqyCiryaqIM0lmVw5jE63AxDI0=
+babel-plugin-syntax-jsx@^6.18.0:
+ version "6.18.0"
+ resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
+ integrity sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=
+
babel-plugin-transform-flow-strip-types@^6.22.0:
version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz#84cb672935d43714fdc32bce84568d87441cf7cf"
@@ -3926,6 +3931,7 @@ babel-plugin-transform-flow-strip-types@^6.22.0:
babel-plugin-transform-vue-jsx@^3.7.0:
version "3.7.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-vue-jsx/-/babel-plugin-transform-vue-jsx-3.7.0.tgz#d40492e6692a36b594f7e9a1928f43e969740960"
+ integrity sha512-W39X07/n3oJMQd8tALBO+440NraGSF//Lo1ydd/9Nme3+QiRGFBb1Q39T9iixh0jZPPbfv3so18tNoIgLatymw==
dependencies:
esutils "^2.0.2"
From d4d3549e8815d1698d86a432b1d214aee20b1d7c Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Tue, 30 Jun 2020 21:25:41 +1000
Subject: [PATCH 14/32] chore: add missing deps
---
babel.config.js | 7 ++++++-
package.json | 4 +++-
yarn.lock | 25 +++++++++++++++++++++----
3 files changed, 30 insertions(+), 6 deletions(-)
diff --git a/babel.config.js b/babel.config.js
index 45485a6dd..e5d46f0ab 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,5 +1,10 @@
module.exports = {
- plugins: ['transform-flow-strip-types', 'transform-vue-jsx'],
+ plugins: [
+ 'transform-flow-strip-types',
+ 'transform-vue-jsx',
+ ['@babel/plugin-proposal-decorators', { legacy: true }],
+ ['@babel/plugin-proposal-class-properties', { loose: true }]
+ ],
presets: [
[
'@babel/preset-env',
diff --git a/package.json b/package.json
index fcae65129..7eb96434c 100644
--- a/package.json
+++ b/package.json
@@ -72,7 +72,7 @@
"typescript": "3",
"vee-validate": "^2.1.3",
"vue": "^2.6.11",
- "vue-class-component": "^6.1.2",
+ "vue-class-component": "^8.0.0-alpha.6",
"vue-loader": "^13.6.2",
"vue-router": "^3.0.1",
"vue-server-renderer": "^2.6.11",
@@ -85,6 +85,8 @@
},
"devDependencies": {
"@babel/core": "^7.10.3",
+ "@babel/plugin-proposal-class-properties": "^7.10.1",
+ "@babel/plugin-proposal-decorators": "^7.10.3",
"@babel/preset-env": "^7.10.3",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
diff --git a/yarn.lock b/yarn.lock
index 85b70b2be..815962db9 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -195,7 +195,7 @@
levenary "^1.1.1"
semver "^5.5.0"
-"@babel/helper-create-class-features-plugin@^7.10.1":
+"@babel/helper-create-class-features-plugin@^7.10.1", "@babel/helper-create-class-features-plugin@^7.10.3":
version "7.10.3"
resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.10.3.tgz#2783daa6866822e3d5ed119163b50f0fc3ae4b35"
integrity sha512-iRT9VwqtdFmv7UheJWthGc/h2s7MqoweBF9RUj77NFZsg9VfISvBTum3k6coAhJ8RWv2tj3yUjA03HxPd0vfpQ==
@@ -642,6 +642,15 @@
"@babel/helper-plugin-utils" "7.0.0-beta.47"
"@babel/plugin-syntax-decorators" "7.0.0-beta.47"
+"@babel/plugin-proposal-decorators@^7.10.3":
+ version "7.10.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.10.3.tgz#2fc6b5696028adccfcd14bc826c184c578b857f8"
+ integrity sha512-Rzwn5tcYFTdWWK3IrhMZkMDjzFQLIGYqHvv9XuzNnEB91Y6gHr/JjazYV1Yec9g0yMLhy1p/21eiW1P7f5UN4A==
+ dependencies:
+ "@babel/helper-create-class-features-plugin" "^7.10.3"
+ "@babel/helper-plugin-utils" "^7.10.3"
+ "@babel/plugin-syntax-decorators" "^7.10.1"
+
"@babel/plugin-proposal-dynamic-import@^7.10.1":
version "7.10.1"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.10.1.tgz#e36979dc1dc3b73f6d6816fc4951da2363488ef0"
@@ -805,6 +814,13 @@
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
+"@babel/plugin-syntax-decorators@^7.10.1":
+ version "7.10.1"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.10.1.tgz#16b869c4beafc9a442565147bda7ce0967bd4f13"
+ integrity sha512-a9OAbQhKOwSle1Vr0NJu/ISg1sPfdEkfRKWpgPuzhnWWzForou2gIeUIIwjAMHRekhhpJ7eulZlYs0H14Cbi+g==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.1"
+
"@babel/plugin-syntax-dynamic-import@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.0.0-beta.47.tgz#ee964915014a687701ee8e15c289e31a7c899e60"
@@ -14998,9 +15014,10 @@ void-elements@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec"
-vue-class-component@^6.1.2:
- version "6.2.0"
- resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-6.2.0.tgz#7adb1daa9a868c75f30f97f33f4f1b94aee62089"
+vue-class-component@^8.0.0-alpha.6:
+ version "8.0.0-alpha.6"
+ resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-8.0.0-alpha.6.tgz#395ec86e58001680306278fcef60e1ffe705a5bd"
+ integrity sha512-bxugtly8bzgt0du09LjJnK6X5v8nhMi5ABw4KKy50Rv/UdaAZDCrThp6kBbtBXocMf4EnhlfRVf/N4g4CPDc/Q==
vue-hot-reload-api@^2.2.0, vue-hot-reload-api@^2.3.0:
version "2.3.0"
From 4246c3ab14e1194cd76bf73a13e6553e93e8e818 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 21:06:31 +1000
Subject: [PATCH 15/32] test: add class component and update stubs tests
---
package.json | 2 +-
test/specs/mount.spec.js | 2 +-
test/specs/mounting-options/stubs.spec.js | 52 ++++++++++-------------
test/specs/wrapper/attributes.spec.js | 8 ++--
test/specs/wrapper/classes.spec.js | 12 +++---
test/specs/wrapper/emitted.spec.js | 46 ++++++++++----------
test/specs/wrapper/emittedByOrder.spec.js | 8 ++--
test/specs/wrapper/props.spec.js | 16 +++----
test/specs/wrapper/setChecked.spec.js | 2 +-
test/specs/wrapper/setData.spec.js | 2 +-
test/specs/wrapper/setProps.spec.js | 2 +-
test/specs/wrapper/setValue.spec.js | 2 +-
test/specs/wrapper/trigger.spec.js | 2 +-
yarn.lock | 8 ++--
14 files changed, 78 insertions(+), 86 deletions(-)
diff --git a/package.json b/package.json
index 7eb96434c..d08b935a4 100644
--- a/package.json
+++ b/package.json
@@ -72,7 +72,7 @@
"typescript": "3",
"vee-validate": "^2.1.3",
"vue": "^2.6.11",
- "vue-class-component": "^8.0.0-alpha.6",
+ "vue-class-component": "^7.2.3",
"vue-loader": "^13.6.2",
"vue-router": "^3.0.1",
"vue-server-renderer": "^2.6.11",
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index 43fef57a2..ac1d46609 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -359,7 +359,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
})
if (vueVersion > 2.3) {
- expect(wrapper.vm.$attrs).to.eql({ height: '50px', extra: 'attr' })
+ expect(wrapper.vm.$attrs).toEqual({ height: '50px', extra: 'attr' })
}
expect(wrapper.html()).toEqual(
diff --git a/test/specs/mounting-options/stubs.spec.js b/test/specs/mounting-options/stubs.spec.js
index c5f474eaf..25a31a60b 100644
--- a/test/specs/mounting-options/stubs.spec.js
+++ b/test/specs/mounting-options/stubs.spec.js
@@ -10,23 +10,23 @@ import { describeWithShallowAndMount, vueVersion } from '~resources/utils'
import { itDoNotRunIf, itSkipIf, itRunIf } from 'conditional-specs'
describeWithShallowAndMount('options.stub', mountingMethod => {
- const sandbox = sinon.createSandbox()
let configStubsSave
let serverConfigSave
+ let consoleErrorSave
beforeEach(() => {
+ consoleErrorSave = console.error
+ console.error = jest.fn()
configStubsSave = config.stubs
serverConfigSave = serverConfig.stubs
config.stubs = {}
serverConfig.stubs = {}
- sandbox.stub(console, 'error').callThrough()
})
afterEach(() => {
- sandbox.reset()
- sandbox.restore()
config.stubs = configStubsSave
serverConfig.stubs = serverConfigSave
+ console.error = consoleErrorSave
})
it('accepts valid component stubs', () => {
@@ -59,7 +59,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
})
it('replaces component with a component', () => {
- const mounted = sandbox.stub()
+ const mounted = jest.fn()
const Stub = {
template: '
',
mounted
@@ -70,7 +70,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
})
expect(wrapper.findAll(Stub).length).toEqual(1)
- expect(mounted).calledOnce
+ expect(mounted).toHaveBeenCalled()
})
it('does not error if component to stub contains no components', () => {
@@ -101,7 +101,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ToStubComponent: { template: ' ' }
}
})
- expect(wrapper.html()).contains(' {
mountingMethod(ComponentWithGlobalComponent, {
stubs: [invalidValue]
})
- expect(fn)
- .toThrow()
- .with.property('message', error)
+ expect(fn).toThrow(error)
})
})
@@ -280,9 +278,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
})
try {
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
} catch (err) {
require.cache[
require.resolve('vue-template-compiler')
@@ -416,7 +412,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
'stub-component': StubComponent
}
})
- expect(wrapper.html()).contains('No render function')
+ expect(wrapper.html()).toContain('No render function')
})
it('throws an error when passed a circular reference for string stubs', () => {
@@ -445,9 +441,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ChildComponent: invalidValue.replace(/NAME/g, name)
}
})
- expect(fn)
- .toThrow()
- .with.property('message', error)
+ expect(fn).toThrow(error)
})
validValues.forEach(validValue => {
mountingMethod(ComponentWithChild, {
@@ -470,9 +464,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ChildComponent: invalidValue
}
})
- expect(fn)
- .toThrow()
- .with.property('message', error)
+ expect(fn).toThrow(error)
})
})
@@ -548,8 +540,8 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.vm.$refs.normalChild).to.exist
- expect(wrapper.vm.$refs.functionalChild).to.exist
+ expect(wrapper.vm.$refs.normalChild).toBeTruthy()
+ expect(wrapper.vm.$refs.functionalChild).toBeTruthy()
})
it('uses original component stub', () => {
@@ -570,8 +562,8 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ToStub: Stub
}
})
- expect(wrapper.find(ToStub).exists()).to.be.false
- expect(wrapper.find(Stub).exists()).to.be.true
+ expect(wrapper.find(ToStub).exists()).toBe(false)
+ expect(wrapper.find(Stub).exists()).toBe(true)
})
it('stubs globally registered components', () => {
@@ -591,7 +583,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
})
const result = wrapper.find(ChildComponent)
- expect(result.exists()).to.be.true
+ expect(result.exists()).toBe(true)
expect(result.props().propA).toEqual('A')
delete Vue.options.components['child-component']
})
@@ -612,17 +604,17 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
})
- expect(wrapper.find('#component-stub').attributes()).to.eql({
+ expect(wrapper.find('#component-stub').attributes()).toEqual({
id: 'component-stub',
prop1: 'foobar',
prop2: 'fizzbuzz'
})
- expect(wrapper.find('#string-stub').attributes()).to.eql({
+ expect(wrapper.find('#string-stub').attributes()).toEqual({
id: 'string-stub',
prop1: 'foobar',
prop2: 'fizzbuzz'
})
- expect(wrapper.find('originalcomponent-stub').attributes()).to.eql({
+ expect(wrapper.find('originalcomponent-stub').attributes()).toEqual({
prop1: 'foobar',
prop2: 'fizzbuzz'
})
@@ -638,8 +630,8 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
})
- expect(console.error).calledWith(
- sandbox.match('[vue-test-utils]: Using a string for stubs is deprecated')
+ expect(console.error.mock.calls[0][0]).toContain(
+ '[vue-test-utils]: Using a string for stubs is deprecated'
)
config.showDeprecationWarnings = false
})
diff --git a/test/specs/wrapper/attributes.spec.js b/test/specs/wrapper/attributes.spec.js
index 733c87946..b1a50f137 100644
--- a/test/specs/wrapper/attributes.spec.js
+++ b/test/specs/wrapper/attributes.spec.js
@@ -7,13 +7,13 @@ describeWithShallowAndMount('attributes', mountingMethod => {
const value = 'value'
const compiled = compileToFunctions(`
`)
const wrapper = mountingMethod(compiled)
- expect(wrapper.attributes()).to.eql({ attribute: value })
+ expect(wrapper.attributes()).toEqual({ attribute: value })
})
it('returns empty object if wrapper does not contain any attributes', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.attributes()).to.eql({})
+ expect(wrapper.attributes()).toEqual({})
})
it('returns the given attribute if wrapper contains attribute matching value', () => {
@@ -21,7 +21,7 @@ describeWithShallowAndMount('attributes', mountingMethod => {
const value = 'value'
const compiled = compileToFunctions(`
`)
const wrapper = mountingMethod(compiled)
- expect(wrapper.attributes('attribute')).to.eql(value)
+ expect(wrapper.attributes('attribute')).toEqual(value)
})
it('returns undefined if the wrapper does not contain the matching value', () => {
@@ -29,6 +29,6 @@ describeWithShallowAndMount('attributes', mountingMethod => {
const value = 'value'
const compiled = compileToFunctions(`
`)
const wrapper = mountingMethod(compiled)
- expect(wrapper.attributes('fake')).to.eql(undefined)
+ expect(wrapper.attributes('fake')).toEqual(undefined)
})
})
diff --git a/test/specs/wrapper/classes.spec.js b/test/specs/wrapper/classes.spec.js
index f7aa15396..9d7fa2173 100644
--- a/test/specs/wrapper/classes.spec.js
+++ b/test/specs/wrapper/classes.spec.js
@@ -18,7 +18,7 @@ describeWithShallowAndMount('classes', mountingMethod => {
it('returns original class names when element mapped in css modules', () => {
const wrapper = mountingMethod(ComponentWithCssModules)
- expect(wrapper.classes()).to.eql(['extension', 'color-red'])
+ expect(wrapper.classes()).toEqual(['extension', 'color-red'])
})
it('returns array of class names for svg element', () => {
@@ -36,14 +36,14 @@ describeWithShallowAndMount('classes', mountingMethod => {
' '
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.classes('a-class')).to.eql(true)
- expect(wrapper.classes('b-class')).to.eql(true)
- expect(wrapper.find('text').classes('c-class')).to.eql(true)
- expect(wrapper.classes('x-class')).to.eql(false)
+ expect(wrapper.classes('a-class')).toEqual(true)
+ expect(wrapper.classes('b-class')).toEqual(true)
+ expect(wrapper.find('text').classes('c-class')).toEqual(true)
+ expect(wrapper.classes('x-class')).toEqual(false)
})
it('returns false if the element does not have the class', () => {
const wrapper = mountingMethod(ComponentWithCssModules)
- expect(wrapper.classes('x-class')).to.eql(false)
+ expect(wrapper.classes('x-class')).toEqual(false)
})
})
diff --git a/test/specs/wrapper/emitted.spec.js b/test/specs/wrapper/emitted.spec.js
index 5bbad37cb..7ee506f88 100644
--- a/test/specs/wrapper/emitted.spec.js
+++ b/test/specs/wrapper/emitted.spec.js
@@ -10,20 +10,20 @@ describeWithShallowAndMount('emitted', mountingMethod => {
})
wrapper.vm.$emit('foo')
- expect(wrapper.emitted('foo')).to.exist
+ expect(wrapper.emitted('foo')).toBeTruthy()
expect(wrapper.emitted('foo').length).toEqual(1)
- expect(wrapper.emitted('foo')[0]).to.eql([])
+ expect(wrapper.emitted('foo')[0]).toEqual([])
- expect(wrapper.emitted('bar')).not.to.exist
+ expect(wrapper.emitted('bar')).nottoBeTruthy()
wrapper.vm.$emit('bar', 1, 2, 3)
- expect(wrapper.emitted('bar')).to.exist
+ expect(wrapper.emitted('bar')).toBeTruthy()
expect(wrapper.emitted('bar').length).toEqual(1)
- expect(wrapper.emitted('bar')[0]).to.eql([1, 2, 3])
+ expect(wrapper.emitted('bar')[0]).toEqual([1, 2, 3])
wrapper.vm.$emit('foo', 2, 3, 4)
- expect(wrapper.emitted('foo')).to.exist
+ expect(wrapper.emitted('foo')).toBeTruthy()
expect(wrapper.emitted('foo').length).toEqual(2)
- expect(wrapper.emitted('foo')[1]).to.eql([2, 3, 4])
+ expect(wrapper.emitted('foo')[1]).toEqual([2, 3, 4])
})
it('captures emitted events', () => {
@@ -32,20 +32,20 @@ describeWithShallowAndMount('emitted', mountingMethod => {
})
wrapper.vm.$emit('foo')
- expect(wrapper.emitted().foo).to.exist
+ expect(wrapper.emitted().foo).toBeTruthy()
expect(wrapper.emitted().foo.length).toEqual(1)
- expect(wrapper.emitted().foo[0]).to.eql([])
+ expect(wrapper.emitted().foo[0]).toEqual([])
- expect(wrapper.emitted().bar).not.to.exist
+ expect(wrapper.emitted().bar).nottoBeTruthy()
wrapper.vm.$emit('bar', 1, 2, 3)
- expect(wrapper.emitted().bar).to.exist
+ expect(wrapper.emitted().bar).toBeTruthy()
expect(wrapper.emitted().bar.length).toEqual(1)
- expect(wrapper.emitted().bar[0]).to.eql([1, 2, 3])
+ expect(wrapper.emitted().bar[0]).toEqual([1, 2, 3])
wrapper.vm.$emit('foo', 2, 3, 4)
- expect(wrapper.emitted().foo).to.exist
+ expect(wrapper.emitted().foo).toBeTruthy()
expect(wrapper.emitted().foo.length).toEqual(2)
- expect(wrapper.emitted().foo[1]).to.eql([2, 3, 4])
+ expect(wrapper.emitted().foo[1]).toEqual([2, 3, 4])
})
it('throws error when called on non VueWrapper', () => {
@@ -72,8 +72,8 @@ describeWithShallowAndMount('emitted', mountingMethod => {
render: () => {}
})
- expect(wrapper.emitted().foo).to.eql([[]])
- expect(wrapper.emitted().bar).to.eql([[1, 2]])
+ expect(wrapper.emitted().foo).toEqual([[]])
+ expect(wrapper.emitted().bar).toEqual([[1, 2]])
})
it('captures only events from its component without side effects on localVue', () => {
@@ -99,10 +99,10 @@ describeWithShallowAndMount('emitted', mountingMethod => {
{ localVue }
)
- expect(wrapper1.emitted().foo).to.eql([[]])
- expect(wrapper1.emitted().bar).to.eql(undefined)
- expect(wrapper2.emitted().foo).to.eql(undefined)
- expect(wrapper2.emitted().bar).to.eql([[]])
+ expect(wrapper1.emitted().foo).toEqual([[]])
+ expect(wrapper1.emitted().bar).toEqual(undefined)
+ expect(wrapper2.emitted().foo).toEqual(undefined)
+ expect(wrapper2.emitted().bar).toEqual([[]])
})
itDoNotRunIf(
@@ -129,7 +129,7 @@ describeWithShallowAndMount('emitted', mountingMethod => {
}
})
- expect(wrapper.find({ name: 'bar' }).emitted('foo')).to.exist
+ expect(wrapper.find({ name: 'bar' }).emitted('foo')).toBeTruthy()
}
)
@@ -159,7 +159,7 @@ describeWithShallowAndMount('emitted', mountingMethod => {
}
})
- expect(wrapper.find({ name: 'bar' }).emitted('foo')).to.exist
+ expect(wrapper.find({ name: 'bar' }).emitted('foo')).toBeTruthy()
}
)
@@ -170,6 +170,6 @@ describeWithShallowAndMount('emitted', mountingMethod => {
wrapper.vm.$root.$emit('foo')
const rootWrapper = createWrapper(wrapper.vm.$root)
- expect(rootWrapper.emitted('foo')).to.exist
+ expect(rootWrapper.emitted('foo')).toBeTruthy()
})
})
diff --git a/test/specs/wrapper/emittedByOrder.spec.js b/test/specs/wrapper/emittedByOrder.spec.js
index c1b2884c3..ba76f6fdf 100644
--- a/test/specs/wrapper/emittedByOrder.spec.js
+++ b/test/specs/wrapper/emittedByOrder.spec.js
@@ -12,7 +12,7 @@ describeWithShallowAndMount('emittedByOrder', mountingMethod => {
wrapper.vm.$emit('foo', 2, 3, 4)
if (Vue.version === '2.0.8') {
- expect(wrapper.emittedByOrder()).to.eql([
+ expect(wrapper.emittedByOrder()).toEqual([
{ name: 'hook:beforeCreate', args: [] },
{ name: 'hook:created', args: [] },
{ name: 'hook:beforeMount', args: [] },
@@ -22,7 +22,7 @@ describeWithShallowAndMount('emittedByOrder', mountingMethod => {
{ name: 'foo', args: [2, 3, 4] }
])
} else {
- expect(wrapper.emittedByOrder()).to.eql([
+ expect(wrapper.emittedByOrder()).toEqual([
{ name: 'foo', args: [] },
{ name: 'bar', args: [1, 2, 3] },
{ name: 'foo', args: [2, 3, 4] }
@@ -58,7 +58,7 @@ describeWithShallowAndMount('emittedByOrder', mountingMethod => {
})
if (Vue.version === '2.0.8') {
- expect(wrapper.emittedByOrder()).to.eql([
+ expect(wrapper.emittedByOrder()).toEqual([
{ name: 'foo', args: [] },
{ name: 'hook:beforeCreate', args: [] },
{ name: 'bar', args: [1, 2, 3] },
@@ -68,7 +68,7 @@ describeWithShallowAndMount('emittedByOrder', mountingMethod => {
{ name: 'hook:mounted', args: [] }
])
} else {
- expect(wrapper.emittedByOrder()).to.eql([
+ expect(wrapper.emittedByOrder()).toEqual([
{ name: 'foo', args: [] },
{ name: 'bar', args: [1, 2, 3] },
{ name: 'foo', args: [2, 3, 4] }
diff --git a/test/specs/wrapper/props.spec.js b/test/specs/wrapper/props.spec.js
index 1ecbf3bfa..e63a2cf59 100644
--- a/test/specs/wrapper/props.spec.js
+++ b/test/specs/wrapper/props.spec.js
@@ -13,13 +13,13 @@ describeWithShallowAndMount('props', mountingMethod => {
const wrapper = mountingMethod(ComponentWithProps, {
propsData: { prop1, prop2 }
})
- expect(wrapper.props()).to.eql({ prop1: {}, prop2: 'string val' })
+ expect(wrapper.props()).toEqual({ prop1: {}, prop2: 'string val' })
})
it('returns an empty object if wrapper does not have props', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.props()).to.eql({})
+ expect(wrapper.props()).toEqual({})
})
it('should update after setProps', () => {
@@ -29,11 +29,11 @@ describeWithShallowAndMount('props', mountingMethod => {
propsData: { prop1, prop2 }
})
- expect(wrapper.props()).to.eql({ prop1: {}, prop2: 'val1' })
+ expect(wrapper.props()).toEqual({ prop1: {}, prop2: 'val1' })
// setProps
wrapper.setProps({ prop2: 'val2' })
- expect(wrapper.vm.prop2).to.eql('val2') // pass
- expect(wrapper.props()).to.eql({ prop1: {}, prop2: 'val2' }) // fail
+ expect(wrapper.vm.prop2).toEqual('val2') // pass
+ expect(wrapper.props()).toEqual({ prop1: {}, prop2: 'val2' }) // fail
})
it('returns default props', () => {
@@ -98,8 +98,8 @@ describeWithShallowAndMount('props', mountingMethod => {
const wrapper = mountingMethod(ComponentWithProps, {
propsData: { prop1, prop2 }
})
- expect(wrapper.props('prop1')).to.eql({})
- expect(wrapper.props('prop2')).to.eql('string val')
+ expect(wrapper.props('prop1')).toEqual({})
+ expect(wrapper.props('prop2')).toEqual('string val')
})
it('returns undefined if the given key is not found', () => {
@@ -108,6 +108,6 @@ describeWithShallowAndMount('props', mountingMethod => {
const wrapper = mountingMethod(ComponentWithProps, {
propsData: { prop1, prop2 }
})
- expect(wrapper.props('propNotHere')).to.eql(undefined)
+ expect(wrapper.props('propNotHere')).toEqual(undefined)
})
})
diff --git a/test/specs/wrapper/setChecked.spec.js b/test/specs/wrapper/setChecked.spec.js
index 267d2e4ac..8c4521538 100644
--- a/test/specs/wrapper/setChecked.spec.js
+++ b/test/specs/wrapper/setChecked.spec.js
@@ -7,7 +7,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const input = wrapper.find('input[type="checkbox"]')
const response = input.setChecked()
- expect(isPromise(response)).to.eql(true)
+ expect(isPromise(response)).toEqual(true)
expect(wrapper.text()).not.toContain('checkbox checked')
await response
expect(wrapper.text()).toContain('checkbox checked')
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index 82d57071b..2c34cdc8c 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -24,7 +24,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
expect(wrapper.findAll('.child.ready').length).toEqual(0)
const response = wrapper.setData({ ready: true })
expect(wrapper.findAll('.child.ready').length).toEqual(0)
- expect(isPromise(response)).to.eql(true)
+ expect(isPromise(response)).toEqual(true)
await response
expect(wrapper.findAll('.child.ready').length).toEqual(1)
})
diff --git a/test/specs/wrapper/setProps.spec.js b/test/specs/wrapper/setProps.spec.js
index cac19209e..d673eca99 100644
--- a/test/specs/wrapper/setProps.spec.js
+++ b/test/specs/wrapper/setProps.spec.js
@@ -23,7 +23,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
it('returns a promise, when resolved component is updated', async () => {
const wrapper = mountingMethod(ComponentWithProps)
const response = wrapper.setProps({ prop1: 'foo' })
- expect(isPromise(response)).to.eql(true)
+ expect(isPromise(response)).toEqual(true)
expect(wrapper.find('.prop-1').text()).toEqual('')
await response
expect(wrapper.find('.prop-1').text()).toEqual('foo')
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index e8109c792..3875da294 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -8,7 +8,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const wrapper = mountingMethod(ComponentWithInput)
const input = wrapper.find('input[type="text"]')
const response = input.setValue('foo')
- expect(isPromise(response)).to.eql(true)
+ expect(isPromise(response)).toEqual(true)
expect(wrapper.text()).not.toContain('foo')
await response
expect(wrapper.text()).toContain('foo')
diff --git a/test/specs/wrapper/trigger.spec.js b/test/specs/wrapper/trigger.spec.js
index e03695338..b4fdbb08c 100644
--- a/test/specs/wrapper/trigger.spec.js
+++ b/test/specs/wrapper/trigger.spec.js
@@ -24,7 +24,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
expect(toggle.classes()).not.toContain('active')
const response = toggle.trigger('click')
expect(toggle.classes()).not.toContain('active')
- expect(isPromise(response)).to.eql(true)
+ expect(isPromise(response)).toEqual(true)
await response
expect(toggle.classes()).toContain('active')
})
diff --git a/yarn.lock b/yarn.lock
index 815962db9..d6efef690 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -15014,10 +15014,10 @@ void-elements@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec"
-vue-class-component@^8.0.0-alpha.6:
- version "8.0.0-alpha.6"
- resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-8.0.0-alpha.6.tgz#395ec86e58001680306278fcef60e1ffe705a5bd"
- integrity sha512-bxugtly8bzgt0du09LjJnK6X5v8nhMi5ABw4KKy50Rv/UdaAZDCrThp6kBbtBXocMf4EnhlfRVf/N4g4CPDc/Q==
+vue-class-component@^7.2.3:
+ version "7.2.3"
+ resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-7.2.3.tgz#a5b1abd53513a72ad51098752e2dedd499807cca"
+ integrity sha512-oEqYpXKaFN+TaXU+mRLEx8dX0ah85aAJEe61mpdoUrq0Bhe/6sWhyZX1JjMQLhVsHAkncyhedhmCdDVSasUtDw==
vue-hot-reload-api@^2.2.0, vue-hot-reload-api@^2.3.0:
version "2.3.0"
From 4292a1b73aebd61b9b90d6bb5f8b50c44668ac1b Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 21:10:55 +1000
Subject: [PATCH 16/32] test: update tests
---
test/specs/mounting-options/slots.spec.js | 28 ++++++-----------------
1 file changed, 7 insertions(+), 21 deletions(-)
diff --git a/test/specs/mounting-options/slots.spec.js b/test/specs/mounting-options/slots.spec.js
index 20100a995..0850b8f71 100644
--- a/test/specs/mounting-options/slots.spec.js
+++ b/test/specs/mounting-options/slots.spec.js
@@ -107,9 +107,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
slots: { default: ' ' }
})
try {
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
} catch (err) {
require.cache[
require.resolve('vue-template-compiler')
@@ -147,9 +145,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
slots: { default: [' '] }
})
try {
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
} catch (err) {
require.cache[
require.resolve('vue-template-compiler')
@@ -338,9 +334,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
mountingMethod(TestComponent, { slots: { named: [false] } })
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if passed an array of numbers for named slots', () => {
@@ -352,9 +346,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const fn = () => mountingMethod(TestComponent, { slots: { named: [1] } })
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if passed false for named slots', () => {
@@ -366,9 +358,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const fn = () => mountingMethod(TestComponent, { slots: { named: false } })
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if passed a number for named slots', () => {
@@ -380,9 +370,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const fn = () => mountingMethod(TestComponent, { slots: { named: 1 } })
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if passed string in default slot array when vue-template-compiler is undefined', () => {
@@ -403,9 +391,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
})
}
try {
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
} catch (err) {
require.cache[
require.resolve('vue-template-compiler')
From a96c5ff2c218dcf3f4cd5d90fa701e5502a77515 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 21:38:39 +1000
Subject: [PATCH 17/32] test: migrate more tests
---
package.json | 1 +
test/specs/config.spec.js | 4 +-
test/specs/create-local-vue.spec.js | 8 +-
test/specs/error-wrapper.spec.js | 4 +-
test/specs/mount.spec.js | 22 +++---
test/specs/mounting-options/localVue.spec.js | 4 +-
test/specs/mounting-options/mocks.spec.js | 4 +-
.../mounting-options/scopedSlots.spec.js | 4 +-
test/specs/mounting-options/stubs.spec.js | 4 +-
test/specs/shallow-mount.spec.js | 10 ++-
test/specs/vue-wrapper.spec.js | 4 +-
test/specs/wrapper-array.spec.js | 26 +++----
test/specs/wrapper-array/at.spec.js | 14 ++--
test/specs/wrapper-array/attributes.spec.js | 8 +-
test/specs/wrapper-array/classes.spec.js | 8 +-
test/specs/wrapper-array/contains.spec.js | 8 +-
test/specs/wrapper-array/find.spec.js | 8 +-
test/specs/wrapper-array/findAll.spec.js | 8 +-
test/specs/wrapper-array/html.spec.js | 8 +-
test/specs/wrapper-array/is.spec.js | 8 +-
test/specs/wrapper-array/isEmpty.spec.js | 4 +-
test/specs/wrapper-array/isVisible.spec.js | 4 +-
.../specs/wrapper-array/isVueInstance.spec.js | 4 +-
test/specs/wrapper-array/name.spec.js | 8 +-
test/specs/wrapper-array/overview.spec.js | 8 +-
test/specs/wrapper-array/props.spec.js | 8 +-
test/specs/wrapper-array/setData.spec.js | 8 +-
test/specs/wrapper-array/setProps.spec.js | 8 +-
test/specs/wrapper-array/setSelected.spec.js | 4 +-
test/specs/wrapper-array/text.spec.js | 8 +-
test/specs/wrapper-array/trigger.spec.js | 14 ++--
test/specs/wrapper.spec.js | 4 +-
test/specs/wrapper/at.spec.js | 4 +-
test/specs/wrapper/classes.spec.js | 2 +-
test/specs/wrapper/contains.spec.js | 8 +-
test/specs/wrapper/destroy.spec.js | 15 +---
test/specs/wrapper/emitted.spec.js | 8 +-
test/specs/wrapper/emittedByOrder.spec.js | 4 +-
test/specs/wrapper/filter.spec.js | 4 +-
test/specs/wrapper/find.spec.js | 78 +++++++------------
test/specs/wrapper/findAll.spec.js | 20 ++---
test/specs/wrapper/get.spec.js | 11 +--
test/specs/wrapper/is.spec.js | 8 +-
test/specs/wrapper/overview.spec.js | 26 +++----
test/specs/wrapper/props.spec.js | 4 +-
test/specs/wrapper/setData.spec.js | 12 ++-
test/specs/wrapper/setProps.spec.js | 4 +-
test/specs/wrapper/trigger.spec.js | 28 +++----
yarn.lock | 12 +++
49 files changed, 182 insertions(+), 313 deletions(-)
diff --git a/package.json b/package.json
index d08b935a4..845c29033 100644
--- a/package.json
+++ b/package.json
@@ -97,6 +97,7 @@
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"husky": "^3.1.0",
+ "identity-obj-proxy": "^3.0.0",
"jest": "^26.0.1",
"lint-staged": "^9.5.0",
"prettier": "^1.16.0",
diff --git a/test/specs/config.spec.js b/test/specs/config.spec.js
index 7dd1c8965..d9d29e3a9 100644
--- a/test/specs/config.spec.js
+++ b/test/specs/config.spec.js
@@ -11,7 +11,9 @@ describeWithShallowAndMount('config', mountingMethod => {
beforeEach(() => {
configStubsSave = config.stubs
configSilentSave = config.silent
- sandbox.stub(console, 'error').callThrough()
+ jest
+ .fn()(console, 'error')
+ .callThrough()
})
afterEach(() => {
diff --git a/test/specs/create-local-vue.spec.js b/test/specs/create-local-vue.spec.js
index 1b53d576e..e8c4b89f8 100644
--- a/test/specs/create-local-vue.spec.js
+++ b/test/specs/create-local-vue.spec.js
@@ -21,7 +21,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
}
})
const wrapper = mountingMethod(Component, { localVue, store })
- expect(wrapper.vm.$store).to.be.an('object')
+ expect(wrapper.vm.$store).toBeTruthy()
const freshWrapper = mountingMethod(Component)
expect(typeof freshWrapper.vm.$store).toEqual('undefined')
})
@@ -45,7 +45,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
}
})
const wrapper = mountingMethod(ComponentWithVuex, { localVue, store })
- expect(wrapper.vm.$store).to.be.an('object')
+ expect(wrapper.vm.$store).toBeTruthy()
expect(wrapper.text()).toEqual('0 1')
wrapper.trigger('click')
await Vue.nextTick()
@@ -60,7 +60,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
routes
})
const wrapper = mountingMethod(Component, { localVue, router })
- expect(wrapper.vm.$route).to.be.an('object')
+ expect(wrapper.vm.$route).toBeTruthy()
const freshWrapper = mountingMethod(Component)
expect(typeof freshWrapper.vm.$route).toEqual('undefined')
})
@@ -89,7 +89,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
routes
})
const wrapper = mountingMethod(ComponentWithRouter, { localVue, router })
- expect(wrapper.vm.$route).to.be.an('object')
+ expect(wrapper.vm.$route).toBeTruthy()
expect(wrapper.text()).toContain('home')
diff --git a/test/specs/error-wrapper.spec.js b/test/specs/error-wrapper.spec.js
index 8f44cb7b8..3ef624864 100644
--- a/test/specs/error-wrapper.spec.js
+++ b/test/specs/error-wrapper.spec.js
@@ -44,9 +44,7 @@ describeWithShallowAndMount('ErrorWrapper', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
const error = wrapper.find(selector)
expect(error.constructor.name).toEqual('ErrorWrapper')
- expect(() => error[method]())
- .toThrow()
- .with.property('message', message)
+ expect(() => error[method]()).toThrow(message)
})
})
})
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index ac1d46609..adab0972c 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -15,7 +15,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const windowSave = window
beforeEach(() => {
- sandbox.stub(console, 'error').callThrough()
+ jest
+ .fn()(console, 'error')
+ .callThrough()
})
afterEach(() => {
@@ -27,7 +29,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
it('returns new VueWrapper with mounted Vue instance if no options are passed', () => {
const compiled = compileToFunctions('
')
const wrapper = mount(compiled)
- expect(wrapper.vm).to.be.an('object')
+ expect(wrapper.vm).toBeTruthy()
})
it('handles root functional component', () => {
@@ -45,7 +47,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
it('returns new VueWrapper with correct props data', () => {
const prop1 = { test: 'TEST' }
const wrapper = mount(ComponentWithProps, { propsData: { prop1 } })
- expect(wrapper.vm).to.be.an('object')
+ expect(wrapper.vm).toBeTruthy()
if (wrapper.vm.$props) {
expect(wrapper.vm.$props.prop1).toEqual(prop1)
} else {
@@ -129,11 +131,11 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
)
it('does not use cached component', () => {
- sandbox.stub(ComponentWithMixin.methods, 'someMethod')
+ jest.fn()(ComponentWithMixin.methods, 'someMethod')
mount(ComponentWithMixin)
expect(ComponentWithMixin.methods.someMethod.callCount).toEqual(1)
ComponentWithMixin.methods.someMethod.restore()
- sandbox.stub(ComponentWithMixin.methods, 'someMethod')
+ jest.fn()(ComponentWithMixin.methods, 'someMethod')
mount(ComponentWithMixin)
expect(ComponentWithMixin.methods.someMethod.callCount).toEqual(1)
})
@@ -149,16 +151,14 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
'[vue-test-utils]: window is undefined, vue-test-utils needs to be run in a browser environment.\n You can run the tests in node using JSDOM'
window = undefined // eslint-disable-line no-native-reassign
- expect(() => mount(compileToFunctions('
')))
- .toThrow()
- .with.property('message', message)
+ expect(() => mount(compileToFunctions('
'))).toThrow(message)
})
it('compiles inline templates', () => {
const wrapper = mount({
template: `foo
`
})
- expect(wrapper.vm).to.be.an('object')
+ expect(wrapper.vm).toBeTruthy()
expect(wrapper.html()).toEqual(`foo
`)
})
@@ -174,7 +174,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const wrapper = mount({
template: '#foo'
})
- expect(wrapper.vm).to.be.an('object')
+ expect(wrapper.vm).toBeTruthy()
expect(wrapper.html()).toEqual(`foo
`)
window.body.removeChild(template)
@@ -182,7 +182,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
)
itDoNotRunIf(vueVersion < 2.3, 'overrides methods', () => {
- const stub = sandbox.stub()
+ const stub = jest.fn()()
const TestComponent = Vue.extend({
template: '
',
methods: {
diff --git a/test/specs/mounting-options/localVue.spec.js b/test/specs/mounting-options/localVue.spec.js
index a15b045be..1f7811f50 100644
--- a/test/specs/mounting-options/localVue.spec.js
+++ b/test/specs/mounting-options/localVue.spec.js
@@ -171,9 +171,7 @@ describeWithShallowAndMount('options.localVue', mountingMethod => {
stubs: false,
mocks: false
})
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
}
)
diff --git a/test/specs/mounting-options/mocks.spec.js b/test/specs/mounting-options/mocks.spec.js
index 62482b977..f0abec5e1 100644
--- a/test/specs/mounting-options/mocks.spec.js
+++ b/test/specs/mounting-options/mocks.spec.js
@@ -185,9 +185,7 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
mocks: { something: 'true' },
stubs: false
})
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
}
)
})
diff --git a/test/specs/mounting-options/scopedSlots.spec.js b/test/specs/mounting-options/scopedSlots.spec.js
index 7719fd0f4..0e5c24c4c 100644
--- a/test/specs/mounting-options/scopedSlots.spec.js
+++ b/test/specs/mounting-options/scopedSlots.spec.js
@@ -237,9 +237,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
const message =
'[vue-test-utils]: the scopedSlots option is only supported in vue@2.1+.'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
}
)
diff --git a/test/specs/mounting-options/stubs.spec.js b/test/specs/mounting-options/stubs.spec.js
index 25a31a60b..d3ea95f60 100644
--- a/test/specs/mounting-options/stubs.spec.js
+++ b/test/specs/mounting-options/stubs.spec.js
@@ -486,9 +486,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
},
mocks: false
})
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
}
)
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index af88169f9..9b39a458c 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -17,8 +17,12 @@ import { describeRunIf, itDoNotRunIf } from 'conditional-specs'
describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
const sandbox = sinon.createSandbox()
beforeEach(() => {
- sandbox.stub(console, 'info').callThrough()
- sandbox.stub(console, 'error').callThrough()
+ jest
+ .fn()(console, 'info')
+ .callThrough()
+ jest
+ .fn()(console, 'error')
+ .callThrough()
})
afterEach(() => {
@@ -41,7 +45,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
const compiled = compileToFunctions('
')
const wrapper = shallowMount(compiled)
expect(wrapper.isVueInstance()).toEqual(true)
- expect(wrapper.vm).to.be.an('object')
+ expect(wrapper.vm).toBeTruthy()
})
it('returns new VueWrapper with all children stubbed', () => {
diff --git a/test/specs/vue-wrapper.spec.js b/test/specs/vue-wrapper.spec.js
index 1e12ef866..090cd9270 100644
--- a/test/specs/vue-wrapper.spec.js
+++ b/test/specs/vue-wrapper.spec.js
@@ -8,9 +8,7 @@ describeWithShallowAndMount('VueWrapper', mountingMethod => {
const message = `[vue-test-utils]: wrapper.${property} is read-only`
expect(() => {
wrapper[property] = 'foo'
- })
- .toThrow()
- .with.property('message', message)
+ }).toThrow(message)
})
})
})
diff --git a/test/specs/wrapper-array.spec.js b/test/specs/wrapper-array.spec.js
index 85ce3e00a..ecb457e6a 100644
--- a/test/specs/wrapper-array.spec.js
+++ b/test/specs/wrapper-array.spec.js
@@ -26,9 +26,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const message = `[vue-test-utils]: wrapperArray.${property} is read-only`
expect(() => {
wrapperArray[property] = 'foo'
- })
- .toThrow()
- .with.property('message', message)
+ }).toThrow(message)
})
})
@@ -84,9 +82,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
}
const wrapperArray = getWrapperArray([])
const message = `[vue-test-utils]: ${method} cannot be called on 0 items`
- expect(() => wrapperArray[method]())
- .toThrow()
- .with.property('message', message)
+ expect(() => wrapperArray[method]()).toThrow(message)
})
it(`${method} throws error if called when there are items in wrapper array`, () => {
@@ -111,9 +107,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
}
const wrapperArray = getWrapperArray([1, 2, 3])
const message = `[vue-test-utils]: ${method} must be called on a single wrapper, use at(i) to access a wrapper`
- expect(() => wrapperArray[method]())
- .toThrow()
- .with.property('message', message)
+ expect(() => wrapperArray[method]()).toThrow(message)
})
})
@@ -147,7 +141,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
it('contains returns true if every wrapper.contains() returns true', () => {
const selector = 'selector'
- const contains = sandbox.stub()
+ const contains = jest.fn()()
contains.withArgs(selector).returns(true)
const wrapperArray = getWrapperArray([{ contains }, { contains }])
expect(wrapperArray.contains(selector)).toEqual(true)
@@ -163,7 +157,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
it('is returns true if every wrapper.is() returns true', () => {
const selector = 'selector'
- const is = sandbox.stub()
+ const is = jest.fn()()
is.withArgs(selector).returns(true)
const wrapperArray = getWrapperArray([{ is }, { is }])
expect(wrapperArray.is(selector)).toEqual(true)
@@ -226,7 +220,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
})
it('setMethods calls setMethods on each wrapper', () => {
- const setMethods = sandbox.stub()
+ const setMethods = jest.fn()()
const methods = {}
const wrapperArray = getWrapperArray([{ setMethods }, { setMethods }])
wrapperArray.setMethods(methods)
@@ -235,7 +229,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
})
it('setData calls setData on each wrapper', () => {
- const setData = sandbox.stub()
+ const setData = jest.fn()()
const data = {}
const wrapperArray = getWrapperArray([{ setData }, { setData }])
wrapperArray.setData(data)
@@ -244,7 +238,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
})
it('setProps calls setProps on each wrapper', () => {
- const setProps = sandbox.stub()
+ const setProps = jest.fn()()
const props = {}
const wrapperArray = getWrapperArray([{ setProps }, { setProps }])
wrapperArray.setProps(props)
@@ -253,7 +247,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
})
it('trigger calls trigger on each wrapper', () => {
- const trigger = sandbox.stub()
+ const trigger = jest.fn()()
const event = 'click'
const options = {}
const wrapperArray = getWrapperArray([{ trigger }, { trigger }])
@@ -263,7 +257,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
})
it('destroy calls destroy on each wrapper', () => {
- const destroy = sandbox.stub()
+ const destroy = jest.fn()()
const wrapperArray = getWrapperArray([{ destroy }, { destroy }])
wrapperArray.destroy()
expect(destroy.calledTwice).toEqual(true)
diff --git a/test/specs/wrapper-array/at.spec.js b/test/specs/wrapper-array/at.spec.js
index 3d7b414a0..0e8fc2a9e 100644
--- a/test/specs/wrapper-array/at.spec.js
+++ b/test/specs/wrapper-array/at.spec.js
@@ -9,7 +9,7 @@ describeWithShallowAndMount('at', mountingMethod => {
const p = mountingMethod(TestComponent)
.findAll('p')
.at(1)
- expect(p.vnode).to.be.an('object')
+ expect(p.vnode).toBeTruthy()
expect(p.classes()).toContain('index-1')
})
@@ -20,9 +20,9 @@ describeWithShallowAndMount('at', mountingMethod => {
const all = mountingMethod(TestComponent).findAll('p')
const last = all.at(-1)
const first = all.at(-2)
- expect(last.vnode).to.be.an('object')
+ expect(last.vnode).toBeTruthy()
expect(last.classes()).toContain('index-last')
- expect(first.vnode).to.be.an('object')
+ expect(first.vnode).toBeTruthy()
expect(first.classes()).toContain('index-first')
})
@@ -36,9 +36,7 @@ describeWithShallowAndMount('at', mountingMethod => {
mountingMethod(TestComponent)
.findAll('p')
.at(index)
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws error if no item exists at negative index', () => {
@@ -51,8 +49,6 @@ describeWithShallowAndMount('at', mountingMethod => {
mountingMethod(TestComponent)
.findAll('p')
.at(index)
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/attributes.spec.js b/test/specs/wrapper-array/attributes.spec.js
index 4e4097bd9..f31b2c97a 100644
--- a/test/specs/wrapper-array/attributes.spec.js
+++ b/test/specs/wrapper-array/attributes.spec.js
@@ -11,9 +11,7 @@ describeWithShallowAndMount('attributes', mountingMethod => {
mountingMethod(TestComponent)
.findAll('p')
.attributes('p')
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws error when called on a WrapperArray', () => {
@@ -24,8 +22,6 @@ describeWithShallowAndMount('attributes', mountingMethod => {
const message =
'[vue-test-utils]: attributes must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').attributes()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/classes.spec.js b/test/specs/wrapper-array/classes.spec.js
index b6889a5b8..a8ad82d56 100644
--- a/test/specs/wrapper-array/classes.spec.js
+++ b/test/specs/wrapper-array/classes.spec.js
@@ -11,9 +11,7 @@ describeWithShallowAndMount('classes', mountingMethod => {
mountingMethod(TestComponent)
.findAll('p')
.classes('p')
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws error when called on a WrapperArray', () => {
@@ -24,8 +22,6 @@ describeWithShallowAndMount('classes', mountingMethod => {
const message =
'[vue-test-utils]: classes must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').classes()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/contains.spec.js b/test/specs/wrapper-array/contains.spec.js
index fc7df19a2..6abd9428a 100644
--- a/test/specs/wrapper-array/contains.spec.js
+++ b/test/specs/wrapper-array/contains.spec.js
@@ -25,9 +25,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
mountingMethod(TestComponent)
.findAll('p')
.contains('p')
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws error if selector is not a valid selector', () => {
@@ -50,9 +48,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
invalidSelectors.forEach(invalidSelector => {
const message =
'[vue-test-utils]: wrapper.contains() must be passed a valid CSS selector, Vue constructor, or valid find option object'
- expect(() => pArr.contains(invalidSelector))
- .toThrow()
- .with.property('message', message)
+ expect(() => pArr.contains(invalidSelector)).toThrow(message)
})
})
})
diff --git a/test/specs/wrapper-array/find.spec.js b/test/specs/wrapper-array/find.spec.js
index 63bcbc95c..03d7d027e 100644
--- a/test/specs/wrapper-array/find.spec.js
+++ b/test/specs/wrapper-array/find.spec.js
@@ -11,9 +11,7 @@ describeWithShallowAndMount('find', mountingMethod => {
mountingMethod(TestComponent)
.findAll('p')
.find('p')
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws an error when called on a WrapperArray', () => {
@@ -23,8 +21,6 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
const message =
'[vue-test-utils]: find must be called on a single wrapper, use at(i) to access a wrapper'
- expect(() => wrapper.findAll('div').find('div'))
- .toThrow()
- .with.property('message', message)
+ expect(() => wrapper.findAll('div').find('div')).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/findAll.spec.js b/test/specs/wrapper-array/findAll.spec.js
index cbee376a5..d84078c5f 100644
--- a/test/specs/wrapper-array/findAll.spec.js
+++ b/test/specs/wrapper-array/findAll.spec.js
@@ -10,9 +10,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.findAll('p')
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws an error when called on a WrapperArray', () => {
@@ -22,8 +20,6 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const wrapper = mountingMethod(compiled)
const message =
'[vue-test-utils]: findAll must be called on a single wrapper, use at(i) to access a wrapper'
- expect(() => wrapper.findAll('div').findAll('div'))
- .toThrow()
- .with.property('message', message)
+ expect(() => wrapper.findAll('div').findAll('div')).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/html.spec.js b/test/specs/wrapper-array/html.spec.js
index fc5c4eb8d..a6ba4ae49 100644
--- a/test/specs/wrapper-array/html.spec.js
+++ b/test/specs/wrapper-array/html.spec.js
@@ -10,9 +10,7 @@ describeWithShallowAndMount('html', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.html('p')
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws error when called on a WrapperArray', () => {
@@ -21,8 +19,6 @@ describeWithShallowAndMount('html', mountingMethod => {
const message =
'[vue-test-utils]: html must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').html()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/is.spec.js b/test/specs/wrapper-array/is.spec.js
index 1a59089f4..8f2095dca 100644
--- a/test/specs/wrapper-array/is.spec.js
+++ b/test/specs/wrapper-array/is.spec.js
@@ -37,9 +37,7 @@ describeWithShallowAndMount('is', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.is('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if selector is not a valid selector', () => {
@@ -62,9 +60,7 @@ describeWithShallowAndMount('is', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.is() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.findAll('div').is(invalidSelector)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
})
diff --git a/test/specs/wrapper-array/isEmpty.spec.js b/test/specs/wrapper-array/isEmpty.spec.js
index e64f0169e..9867409a6 100644
--- a/test/specs/wrapper-array/isEmpty.spec.js
+++ b/test/specs/wrapper-array/isEmpty.spec.js
@@ -24,8 +24,6 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.isEmpty('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/isVisible.spec.js b/test/specs/wrapper-array/isVisible.spec.js
index e989afff0..53c5a9856 100644
--- a/test/specs/wrapper-array/isVisible.spec.js
+++ b/test/specs/wrapper-array/isVisible.spec.js
@@ -35,8 +35,6 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.isVisible('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/isVueInstance.spec.js b/test/specs/wrapper-array/isVueInstance.spec.js
index 9b076b60d..7599e2cef 100644
--- a/test/specs/wrapper-array/isVueInstance.spec.js
+++ b/test/specs/wrapper-array/isVueInstance.spec.js
@@ -23,8 +23,6 @@ describeWithShallowAndMount('isVueInstance', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.isVueInstance('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/name.spec.js b/test/specs/wrapper-array/name.spec.js
index c5ec35a62..cca24893e 100644
--- a/test/specs/wrapper-array/name.spec.js
+++ b/test/specs/wrapper-array/name.spec.js
@@ -8,9 +8,7 @@ describeWithShallowAndMount('name', mountingMethod => {
const wrapper = mountingMethod(compiled)
const message =
'[vue-test-utils]: name must be called on a single wrapper, use at(i) to access a wrapper'
- expect(() => wrapper.findAll('div').name())
- .toThrow()
- .with.property('message', message)
+ expect(() => wrapper.findAll('div').name()).toThrow(message)
})
it('throws error if wrapper array contains no items', () => {
@@ -20,8 +18,6 @@ describeWithShallowAndMount('name', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.name('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/overview.spec.js b/test/specs/wrapper-array/overview.spec.js
index b19e01df7..aed635dfb 100644
--- a/test/specs/wrapper-array/overview.spec.js
+++ b/test/specs/wrapper-array/overview.spec.js
@@ -7,9 +7,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
const wrapper = mountingMethod(compileToFunctions('
'))
const message = '[vue-test-utils]: overview() cannot be called on 0 items'
- expect(() => wrapper.findAll('p').overview())
- .toThrow()
- .with.property('message', message)
+ expect(() => wrapper.findAll('p').overview()).toThrow(message)
})
it('throws error when called on a WrapperArray', () => {
@@ -17,8 +15,6 @@ describeWithShallowAndMount('overview', mountingMethod => {
const message =
'[vue-test-utils]: overview() must be called on a single wrapper, use at(i) to access a wrapper'
- expect(() => wrapper.findAll('div').overview())
- .toThrow()
- .with.property('message', message)
+ expect(() => wrapper.findAll('div').overview()).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/props.spec.js b/test/specs/wrapper-array/props.spec.js
index aa891656b..b13d676d9 100644
--- a/test/specs/wrapper-array/props.spec.js
+++ b/test/specs/wrapper-array/props.spec.js
@@ -10,9 +10,7 @@ describeWithShallowAndMount('props', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.props('p')
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws error when called on a WrapperArray', () => {
@@ -21,8 +19,6 @@ describeWithShallowAndMount('props', mountingMethod => {
const message =
'[vue-test-utils]: props must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').props()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/setData.spec.js b/test/specs/wrapper-array/setData.spec.js
index 48c814f7d..469aa06cf 100644
--- a/test/specs/wrapper-array/setData.spec.js
+++ b/test/specs/wrapper-array/setData.spec.js
@@ -19,9 +19,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
const fn = () => wrapper.findAll('p').setData({ ready: true })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if wrapper array contains no items', () => {
@@ -31,8 +29,6 @@ describeWithShallowAndMount('setData', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.setData('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/setProps.spec.js b/test/specs/wrapper-array/setProps.spec.js
index 47e4a1556..c7795f622 100644
--- a/test/specs/wrapper-array/setProps.spec.js
+++ b/test/specs/wrapper-array/setProps.spec.js
@@ -32,9 +32,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(compiled)
const p = wrapper.findAll('p')
const fn = () => p.setProps({ ready: true })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if wrapper array contains no items', () => {
@@ -44,8 +42,6 @@ describeWithShallowAndMount('setProps', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.setProps('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/setSelected.spec.js b/test/specs/wrapper-array/setSelected.spec.js
index a4a936785..a3a6d2ebb 100644
--- a/test/specs/wrapper-array/setSelected.spec.js
+++ b/test/specs/wrapper-array/setSelected.spec.js
@@ -18,8 +18,6 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
const fn = () => wrapperArray.setSelected()
const message =
'[vue-test-utils]: setSelected must be called on a single wrapper, use at(i) to access a wrapper'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/text.spec.js b/test/specs/wrapper-array/text.spec.js
index 2b8cc1b06..acc7ba4a0 100644
--- a/test/specs/wrapper-array/text.spec.js
+++ b/test/specs/wrapper-array/text.spec.js
@@ -9,9 +9,7 @@ describeWithShallowAndMount('text', mountingMethod => {
const message =
'[vue-test-utils]: text must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').text()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if wrapper array contains no items', () => {
@@ -21,8 +19,6 @@ describeWithShallowAndMount('text', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.text('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/trigger.spec.js b/test/specs/wrapper-array/trigger.spec.js
index 17b5bcd5d..372ec6aa2 100644
--- a/test/specs/wrapper-array/trigger.spec.js
+++ b/test/specs/wrapper-array/trigger.spec.js
@@ -11,7 +11,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes click handler to fire when wrapper.trigger("click") is called on a Component', () => {
- const clickHandler = sandbox.stub()
+ const clickHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { clickHandler }
})
@@ -22,7 +22,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes keydown handler to fire when wrapper.trigger("keydown") is fired on a Component', () => {
- const keydownHandler = sandbox.stub()
+ const keydownHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
@@ -32,7 +32,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes keydown handler to fire when wrapper.trigger("keydown.enter") is fired on a Component', () => {
- const keydownHandler = sandbox.stub()
+ const keydownHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
@@ -59,9 +59,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.trigger() must be passed a string'
const fn = () => wrapper.trigger(invalidSelector)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
@@ -72,8 +70,6 @@ describeWithShallowAndMount('trigger', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.trigger('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper.spec.js b/test/specs/wrapper.spec.js
index dfc93bd32..5b4f40d9f 100644
--- a/test/specs/wrapper.spec.js
+++ b/test/specs/wrapper.spec.js
@@ -11,9 +11,7 @@ describeWithShallowAndMount('Wrapper', mountingMethod => {
const message = `[vue-test-utils]: wrapper.${property} is read-only`
expect(() => {
wrapper[property] = 'foo'
- })
- .toThrow()
- .with.property('message', message)
+ }).toThrow(message)
})
})
diff --git a/test/specs/wrapper/at.spec.js b/test/specs/wrapper/at.spec.js
index 23170f210..5ea382c11 100644
--- a/test/specs/wrapper/at.spec.js
+++ b/test/specs/wrapper/at.spec.js
@@ -7,8 +7,6 @@ describeWithShallowAndMount('at', mountingMethod => {
const wrapper = mountingMethod(compiled)
const message = '[vue-test-utils]: at() must be called on a WrapperArray'
const fn = () => wrapper.at()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper/classes.spec.js b/test/specs/wrapper/classes.spec.js
index 9d7fa2173..549d34642 100644
--- a/test/specs/wrapper/classes.spec.js
+++ b/test/specs/wrapper/classes.spec.js
@@ -16,7 +16,7 @@ describeWithShallowAndMount('classes', mountingMethod => {
expect(wrapper.classes().length).toEqual(0)
})
- it('returns original class names when element mapped in css modules', () => {
+ it.skip('returns original class names when element mapped in css modules', () => {
const wrapper = mountingMethod(ComponentWithCssModules)
expect(wrapper.classes()).toEqual(['extension', 'color-red'])
})
diff --git a/test/specs/wrapper/contains.spec.js b/test/specs/wrapper/contains.spec.js
index 5b7d43f07..6ed25de05 100644
--- a/test/specs/wrapper/contains.spec.js
+++ b/test/specs/wrapper/contains.spec.js
@@ -74,9 +74,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
const message =
'[vue-test-utils]: $ref selectors can only be used on Vue component wrappers'
const fn = () => a.contains({ ref: 'foo' })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns true when wrapper contains root element', () => {
@@ -158,9 +156,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.contains() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.contains(invalidSelector)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
})
diff --git a/test/specs/wrapper/destroy.spec.js b/test/specs/wrapper/destroy.spec.js
index 5aa085946..479617053 100644
--- a/test/specs/wrapper/destroy.spec.js
+++ b/test/specs/wrapper/destroy.spec.js
@@ -1,33 +1,26 @@
import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('destroy', mountingMethod => {
- const sandbox = sinon.createSandbox()
-
- afterEach(() => {
- sandbox.reset()
- sandbox.restore()
- })
-
it('triggers beforeDestroy ', () => {
- const stub = sandbox.stub()
+ const stub = jest.fn()
mountingMethod({
render: () => {},
beforeDestroy() {
stub()
}
}).destroy()
- expect(stub.calledOnce).toEqual(true)
+ expect(stub).toHaveBeenCalled()
})
it('triggers destroy ', () => {
- const stub = sandbox.stub()
+ const stub = jest.fn()
mountingMethod({
render: () => {},
destroyed() {
stub()
}
}).destroy()
- expect(stub.calledOnce).toEqual(true)
+ expect(stub).toHaveBeenCalled()
})
it('removes element from document.body', () => {
diff --git a/test/specs/wrapper/emitted.spec.js b/test/specs/wrapper/emitted.spec.js
index 7ee506f88..e63464a1a 100644
--- a/test/specs/wrapper/emitted.spec.js
+++ b/test/specs/wrapper/emitted.spec.js
@@ -14,7 +14,7 @@ describeWithShallowAndMount('emitted', mountingMethod => {
expect(wrapper.emitted('foo').length).toEqual(1)
expect(wrapper.emitted('foo')[0]).toEqual([])
- expect(wrapper.emitted('bar')).nottoBeTruthy()
+ expect(wrapper.emitted('bar')).toBeFalsy()
wrapper.vm.$emit('bar', 1, 2, 3)
expect(wrapper.emitted('bar')).toBeTruthy()
expect(wrapper.emitted('bar').length).toEqual(1)
@@ -36,7 +36,7 @@ describeWithShallowAndMount('emitted', mountingMethod => {
expect(wrapper.emitted().foo.length).toEqual(1)
expect(wrapper.emitted().foo[0]).toEqual([])
- expect(wrapper.emitted().bar).nottoBeTruthy()
+ expect(wrapper.emitted().bar).toBeFalsy()
wrapper.vm.$emit('bar', 1, 2, 3)
expect(wrapper.emitted().bar).toBeTruthy()
expect(wrapper.emitted().bar.length).toEqual(1)
@@ -56,9 +56,7 @@ describeWithShallowAndMount('emitted', mountingMethod => {
'[vue-test-utils]: wrapper.emitted() can only be called on a Vue instance'
const fn = () => wrapper.find('p').emitted()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('captures all events thrown after beforeCreate lifecycle hook', () => {
diff --git a/test/specs/wrapper/emittedByOrder.spec.js b/test/specs/wrapper/emittedByOrder.spec.js
index ba76f6fdf..0c6e93368 100644
--- a/test/specs/wrapper/emittedByOrder.spec.js
+++ b/test/specs/wrapper/emittedByOrder.spec.js
@@ -38,9 +38,7 @@ describeWithShallowAndMount('emittedByOrder', mountingMethod => {
'[vue-test-utils]: wrapper.emittedByOrder() can only be called on a Vue instance'
const fn = () => wrapper.find('p').emittedByOrder()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('captures in lifecycle hooks emitted events in order', () => {
diff --git a/test/specs/wrapper/filter.spec.js b/test/specs/wrapper/filter.spec.js
index ab8d99e2b..6642c52fc 100644
--- a/test/specs/wrapper/filter.spec.js
+++ b/test/specs/wrapper/filter.spec.js
@@ -8,8 +8,6 @@ describeWithShallowAndMount('filter', mountingMethod => {
const message =
'[vue-test-utils]: filter() must be called on a WrapperArray'
const fn = () => wrapper.filter()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper/find.spec.js b/test/specs/wrapper/find.spec.js
index bd4ffa07a..699dbbcc3 100644
--- a/test/specs/wrapper/find.spec.js
+++ b/test/specs/wrapper/find.spec.js
@@ -20,21 +20,21 @@ describeWithShallowAndMount('find', mountingMethod => {
it('returns a Wrapper matching tag selector passed', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('p').vnode).to.be.an('object')
+ expect(wrapper.find('p').vnode).toBeTruthy()
expect(wrapper.find('p').vm).toEqual(undefined)
})
it('returns Wrapper matching class selector passed', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('.foo').vnode).to.be.an('object')
+ expect(wrapper.find('.foo').vnode).toBeTruthy()
expect(wrapper.find('.foo').vm).toEqual(undefined)
})
it('returns Wrapper matching class selector passed if nested in a transition', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('div').vnode).to.be.an('object')
+ expect(wrapper.find('div').vnode).toBeTruthy()
})
itDoNotRunIf(
@@ -46,7 +46,7 @@ describeWithShallowAndMount('find', mountingMethod => {
default: '
'
}
})
- expect(wrapper.find('.foo').vnode).to.be.an('object')
+ expect(wrapper.find('.foo').vnode).toBeTruthy()
}
)
@@ -71,13 +71,13 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
context
})
- expect(wrapper.find('.foo').vnode).to.be.an('object')
+ expect(wrapper.find('.foo').vnode).toBeTruthy()
})
it('returns Wrapper of elements matching id selector passed', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('#foo').vnode).to.be.an('object')
+ expect(wrapper.find('#foo').vnode).toBeTruthy()
})
it('returns matching extended component', () => {
@@ -98,7 +98,7 @@ describeWithShallowAndMount('find', mountingMethod => {
it('returns Wrapper of elements matching attribute selector passed', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('[href="/"]').vnode).to.be.an('object')
+ expect(wrapper.find('[href="/"]').vnode).toBeTruthy()
})
it('throws an error when passed an invalid DOM selector', () => {
@@ -107,9 +107,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.find() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.find('[href=&6"/"]')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns Wrapper of elements matching selector when descendant combinator passed', () => {
@@ -117,29 +115,29 @@ describeWithShallowAndMount('find', mountingMethod => {
''
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('div li').vnode).to.be.an('object')
+ expect(wrapper.find('div li').vnode).toBeTruthy()
})
it('returns Wrapper of elements matching selector with direct descendant combinator passed', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('div > ul').vnode).to.be.an('object')
+ expect(wrapper.find('div > ul').vnode).toBeTruthy()
})
it('returns Wrapper of elements matching pseudo selector', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('p:first-of-type').vnode).to.be.an('object')
+ expect(wrapper.find('p:first-of-type').vnode).toBeTruthy()
})
it('returns Wrapper of Vue Components matching component', () => {
const wrapper = mountingMethod(ComponentWithChild)
- expect(wrapper.find(Component).vnode).to.be.an('object')
+ expect(wrapper.find(Component).vnode).toBeTruthy()
})
it('returns Wrapper of Vue Components matching component using findComponent', () => {
const wrapper = mountingMethod(ComponentWithChild)
- expect(wrapper.findComponent(Component).vnode).to.be.an('object')
+ expect(wrapper.findComponent(Component).vnode).toBeTruthy()
})
it('throws an error if findComponent selector is a CSS selector', () => {
@@ -147,9 +145,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: findComponent requires a Vue constructor or valid find object. If you are searching for DOM nodes, use `find` instead'
const fn = () => wrapper.findComponent('#foo')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws an error if findComponent is chained off a DOM element', () => {
@@ -157,9 +153,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: You cannot chain findComponent off a DOM element. It can only be used on Vue Components.'
const fn = () => wrapper.find('span').findComponent('#foo')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
itSkipIf(isRunningPhantomJS, 'returns Wrapper of class component', () => {
@@ -175,7 +169,7 @@ describeWithShallowAndMount('find', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(ComponentAsAClass).vnode).to.be.an('object')
+ expect(wrapper.find(ComponentAsAClass).vnode).toBeTruthy()
})
itDoNotRunIf(
@@ -224,7 +218,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(FunctionalComponent).vnode).to.be.an('object')
+ expect(wrapper.find(FunctionalComponent).vnode).toBeTruthy()
expect(wrapper.find(FunctionalComponent).vm).toEqual(undefined)
})
@@ -245,9 +239,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: find for functional components is not supported in Vue < 2.3'
const fn = () => wrapper.find(TestFunctionalComponent)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
} else {
expect(wrapper.find(TestFunctionalComponent).exists()).toEqual(true)
}
@@ -269,9 +261,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: find for functional components is not supported in Vue < 2.3'
const fn = () => wrapper.find(TestFunctionalComponent)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
} else {
expect(wrapper.find(TestFunctionalComponent).exists()).toEqual(true)
}
@@ -312,9 +302,7 @@ describeWithShallowAndMount('find', mountingMethod => {
.find(Component)
const message =
'[vue-test-utils]: cannot find a Vue instance on a DOM node. The node you are calling find on does not exist in the VDom. Are you adding the node as innerHTML?'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws errror when using ref selector on an element Wrapper', () => {
@@ -333,21 +321,19 @@ describeWithShallowAndMount('find', mountingMethod => {
.find({ ref: 'some-ref' })
const message =
'[vue-test-utils]: cannot find a Vue instance on a DOM node. The node you are calling find on does not exist in the VDom. Are you adding the node as innerHTML?'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns correct number of Vue Wrappers when component has a v-for', () => {
const items = [{ id: 1 }, { id: 2 }, { id: 3 }]
const wrapper = mountingMethod(ComponentWithVFor, { propsData: { items } })
- expect(wrapper.find(Component).vnode).to.be.an('object')
+ expect(wrapper.find(Component).vnode).toBeTruthy()
})
it('returns Wrapper matching selector using Wrapper as reference', () => {
const wrapper = mountingMethod(ComponentWithChild)
const div = wrapper.find('span')
- expect(div.find(Component).vnode).to.be.an('object')
+ expect(div.find(Component).vnode).toBeTruthy()
})
it('selector works between mounts', () => {
@@ -360,7 +346,7 @@ describeWithShallowAndMount('find', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
mountingMethod(ChildComponent)
- expect(wrapper.find(ChildComponent).vnode).to.be.an('object')
+ expect(wrapper.find(ChildComponent).vnode).toBeTruthy()
})
it('returns error Wrapper if Vue component is below Wrapper', () => {
@@ -401,7 +387,7 @@ describeWithShallowAndMount('find', mountingMethod => {
it('returns Wrapper of elements matching the ref in options object', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find({ ref: 'foo' })).to.be.an('object')
+ expect(wrapper.find({ ref: 'foo' })).toBeTruthy()
})
itSkipIf(vueVersion < 2.3, 'returns functional extended component', () => {
@@ -495,9 +481,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: $ref selectors can only be used on Vue component wrappers'
const fn = () => a.find({ ref: 'foo' })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns Wrapper matching ref selector in options object passed if nested in a transition', () => {
@@ -505,7 +489,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'
'
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.find({ ref: 'foo' })).to.be.an('object')
+ expect(wrapper.find({ ref: 'foo' })).toBeTruthy()
})
it('returns empty Wrapper with error if no nodes are found via ref in options object', () => {
@@ -551,9 +535,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.find() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.find(invalidSelector)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
@@ -572,10 +554,10 @@ describeWithShallowAndMount('find', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(ChildComponent).vnode).to.be.undefined
+ expect(wrapper.find(ChildComponent).vnode).toBeUndefined()
wrapper.vm.renderChild = true
await Vue.nextTick()
- expect(wrapper.find(ChildComponent).vnode).to.be.an('object')
+ expect(wrapper.find(ChildComponent).vnode).toBeTruthy()
})
itDoNotRunIf(
diff --git a/test/specs/wrapper/findAll.spec.js b/test/specs/wrapper/findAll.spec.js
index 724922bb1..51ac3f3c7 100644
--- a/test/specs/wrapper/findAll.spec.js
+++ b/test/specs/wrapper/findAll.spec.js
@@ -103,9 +103,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.findAll() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.findAll('[href=&6"/"]')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns an array of Wrappers of elements matching selector when descendant combinator passed', () => {
@@ -156,9 +154,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const message =
'[vue-test-utils]: findAllComponents requires a Vue constructor or valid find object. If you are searching for DOM nodes, use `find` instead'
const fn = () => wrapper.findAllComponents('#foo')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws an error if chaining findAllComponents off a DOM element', () => {
@@ -166,9 +162,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const message =
'[vue-test-utils]: You cannot chain findAllComponents off a DOM element. It can only be used on Vue Components.'
const fn = () => wrapper.find('span').findAllComponents('#foo')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns correct number of Vue Wrapper when component has a v-for', () => {
@@ -296,9 +290,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const message =
'[vue-test-utils]: $ref selectors can only be used on Vue component wrappers'
const fn = () => a.findAll({ ref: 'foo' })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns an array of Wrapper of elements matching the ref in options object if they are nested in a transition', () => {
@@ -344,9 +336,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.findAll() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.findAll(invalidSelector)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper/get.spec.js b/test/specs/wrapper/get.spec.js
index d63c92849..76444318d 100644
--- a/test/specs/wrapper/get.spec.js
+++ b/test/specs/wrapper/get.spec.js
@@ -5,16 +5,13 @@ describeWithShallowAndMount('get', mountingMethod => {
it('throws describing error when element not found', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(() => wrapper.get('.does-not-exist'))
- .toThrow()
- .with.property(
- 'message',
- 'Unable to find .does-not-exist within:
'
- )
+ expect(() => wrapper.get('.does-not-exist')).toThrow(
+ 'Unable to find .does-not-exist within:
'
+ )
})
it('gets the element when element is found', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.get('.does-exist')).to.be.an('object')
+ expect(wrapper.get('.does-exist')).toBeTruthy()
})
})
diff --git a/test/specs/wrapper/is.spec.js b/test/specs/wrapper/is.spec.js
index b1bdb9277..ef77c622b 100644
--- a/test/specs/wrapper/is.spec.js
+++ b/test/specs/wrapper/is.spec.js
@@ -106,9 +106,7 @@ describeWithShallowAndMount('is', mountingMethod => {
const message =
'[vue-test-utils]: $ref selectors can not be used with wrapper.is()'
const fn = () => wrapper.is({ ref: 'foo' })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws an error if selector is not a valid selector', () => {
@@ -132,9 +130,7 @@ describeWithShallowAndMount('is', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.is() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.is(invalidSelector)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
})
diff --git a/test/specs/wrapper/overview.spec.js b/test/specs/wrapper/overview.spec.js
index 08a500b21..60fa00b3f 100644
--- a/test/specs/wrapper/overview.spec.js
+++ b/test/specs/wrapper/overview.spec.js
@@ -18,9 +18,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.overview() can only be called on a Vue instance'
- expect(() => nonVueWrapper.overview())
- .toThrow()
- .with.property('message', message)
+ expect(() => nonVueWrapper.overview()).toThrow(message)
})
if (vueVersion > 2) {
@@ -72,7 +70,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
''
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
describe('vibility', () => {
@@ -96,7 +94,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
wrapper.isVisible = () => true
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
it('prints "Not Visible" when the wrapper is not visible', () => {
@@ -119,7 +117,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
wrapper.isVisible = () => false
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
})
@@ -142,7 +140,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
})
@@ -183,7 +181,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
''
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
})
@@ -219,7 +217,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
''
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
})
@@ -244,7 +242,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
''
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
it('prints an empty array in Emitted arrays of calls when emit was empty', () => {
@@ -275,7 +273,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
''
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
it('prints inline formated object in Emitted arrays of calls when an object has been emitted', () => {
@@ -314,7 +312,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
''
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
})
@@ -349,7 +347,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
wrapper.isVisible = () => true
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
it('does not print child component data or computed', () => {
@@ -401,7 +399,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
})
}
diff --git a/test/specs/wrapper/props.spec.js b/test/specs/wrapper/props.spec.js
index e63a2cf59..3991e7758 100644
--- a/test/specs/wrapper/props.spec.js
+++ b/test/specs/wrapper/props.spec.js
@@ -87,9 +87,7 @@ describeWithShallowAndMount('props', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.props() must be called on a Vue instance'
const fn = () => p.props()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns the given prop if a key is provided', () => {
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index 2c34cdc8c..c2189dacc 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -11,7 +11,9 @@ describeWithShallowAndMount('setData', mountingMethod => {
const sandbox = sinon.createSandbox()
beforeEach(() => {
- sandbox.stub(console, 'info').callThrough()
+ jest
+ .fn()(console, 'info')
+ .callThrough()
})
afterEach(() => {
@@ -82,9 +84,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
'[vue-test-utils]: wrapper.setData() cannot be called on a functional component'
const fn = () =>
mountingMethod(AFunctionalComponent).setData({ data1: 'data' })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
// find on functional components isn't supported in Vue < 2.3
if (vueVersion < 2.3) {
return
@@ -99,9 +99,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
mountingMethod(TestComponent)
.find(AFunctionalComponent)
.setData({ data1: 'data' })
- expect(fn2)
- .toThrow()
- .with.property('message', message)
+ expect(fn2).toThrow(message)
})
it('updates watchers if computed is updated', async () => {
diff --git a/test/specs/wrapper/setProps.spec.js b/test/specs/wrapper/setProps.spec.js
index d673eca99..4397ac124 100644
--- a/test/specs/wrapper/setProps.spec.js
+++ b/test/specs/wrapper/setProps.spec.js
@@ -12,7 +12,9 @@ import Vue from 'vue'
describeWithShallowAndMount('setProps', mountingMethod => {
const sandbox = sinon.createSandbox()
beforeEach(() => {
- sandbox.stub(console, 'info').callThrough()
+ jest
+ .fn()(console, 'info')
+ .callThrough()
})
afterEach(() => {
diff --git a/test/specs/wrapper/trigger.spec.js b/test/specs/wrapper/trigger.spec.js
index b4fdbb08c..7d309e236 100644
--- a/test/specs/wrapper/trigger.spec.js
+++ b/test/specs/wrapper/trigger.spec.js
@@ -30,7 +30,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes click handler to fire when wrapper.trigger("click") is called on a Component', () => {
- const clickHandler = sandbox.stub()
+ const clickHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { clickHandler }
})
@@ -41,7 +41,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes keydown handler to fire when wrapper.trigger("keydown") is fired on a Component', () => {
- const keydownHandler = sandbox.stub()
+ const keydownHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
@@ -51,7 +51,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
describe('causes keydown handler to fire with the appropriate keyCode when wrapper.trigger("keydown", { keyCode: 65 }) is fired on a Component', () => {
- const keydownHandler = sandbox.stub()
+ const keydownHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
@@ -71,7 +71,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes keydown handler to fire when wrapper.trigger("keydown.enter") is fired on a Component', () => {
- const keydownHandler = sandbox.stub()
+ const keydownHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
@@ -98,7 +98,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
pageup: 33,
pagedown: 34
}
- const keyupHandler = sandbox.stub()
+ const keyupHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keyupHandler }
})
@@ -123,7 +123,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
)
it('adds options to event', () => {
- const clickHandler = sandbox.stub()
+ const clickHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { clickHandler }
})
@@ -138,7 +138,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('adds custom data to events', () => {
- const stub = sandbox.stub()
+ const stub = jest.fn()()
const TestComponent = {
template: '
',
methods: {
@@ -158,7 +158,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('does not fire on valid disabled elements', () => {
- const clickHandler = sandbox.stub()
+ const clickHandler = jest.fn()()
const ButtonComponent = {
template: '
Button ',
props: ['clickHandler']
@@ -171,7 +171,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
buttonWrapper.trigger('click')
expect(clickHandler.called).toEqual(false)
- const changeHandler = sandbox.stub()
+ const changeHandler = jest.fn()()
const InputComponent = {
template: '
',
props: ['changeHandler']
@@ -186,7 +186,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('fires on invalid disabled elements', () => {
- const clickHandler = sandbox.stub()
+ const clickHandler = jest.fn()()
const LinkComponent = {
template: '
Link ',
props: ['clickHandler']
@@ -237,9 +237,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
const message =
'[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws an error if type is not a string', () => {
@@ -260,9 +258,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.trigger() must be passed a string'
const fn = () => wrapper.trigger(invalidSelector)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/yarn.lock b/yarn.lock
index d6efef690..d08458a07 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -7772,6 +7772,11 @@ har-validator@~5.1.3:
ajv "^6.5.5"
har-schema "^2.0.0"
+harmony-reflect@^1.4.6:
+ version "1.6.1"
+ resolved "https://registry.yarnpkg.com/harmony-reflect/-/harmony-reflect-1.6.1.tgz#c108d4f2bb451efef7a37861fdbdae72c9bdefa9"
+ integrity sha512-WJTeyp0JzGtHcuMsi7rw2VwtkvLa+JyfEKJCFyfcS0+CDkjQ5lHPu7zEhFZP+PDSRrEgXa5Ah0l1MbgbE41XjA==
+
has-ansi@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
@@ -8099,6 +8104,13 @@ icss-utils@^2.1.0:
dependencies:
postcss "^6.0.1"
+identity-obj-proxy@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz#94d2bda96084453ef36fbc5aaec37e0f79f1fc14"
+ integrity sha1-lNK9qWCERT7zb7xarsN+D3nx/BQ=
+ dependencies:
+ harmony-reflect "^1.4.6"
+
ieee754@^1.1.4:
version "1.1.8"
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4"
From 1a80c9a52c915ed27fdbc1146017e90b97a10611 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 21:58:27 +1000
Subject: [PATCH 18/32] test: continue migration
---
jest.config.js | 3 ++-
test/specs/wrapper/setChecked.spec.js | 24 ++++++++++--------------
test/specs/wrapper/setData.spec.js | 13 -------------
test/specs/wrapper/setSelected.spec.js | 8 +++-----
test/specs/wrapper/setValue.spec.js | 4 +---
5 files changed, 16 insertions(+), 36 deletions(-)
diff --git a/jest.config.js b/jest.config.js
index bd8c60972..6d103eabc 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -1,6 +1,7 @@
module.exports = {
moduleNameMapper: {
- '^~(.*)$': '/test/$1'
+ '^~(.*)$': '/test/$1',
+ '\\.(css|less|scss|sass)$': 'identity-obj-proxy'
},
transform: {
'.*\\.(vue)$': 'vue-jest',
diff --git a/test/specs/wrapper/setChecked.spec.js b/test/specs/wrapper/setChecked.spec.js
index 8c4521538..707d77570 100644
--- a/test/specs/wrapper/setChecked.spec.js
+++ b/test/specs/wrapper/setChecked.spec.js
@@ -57,7 +57,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
})
it('triggers a change event when called on a checkbox', () => {
- const listener = sinon.spy()
+ const listener = jest.fn()
mountingMethod({
// For compatibility with earlier versions of Vue that use the `click`
@@ -72,11 +72,11 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
methods: { listener }
}).setChecked()
- expect(listener).to.have.been.called
+ expect(listener).toHaveBeenCalled()
})
it('does not trigger a change event if the checkbox is already checked', () => {
- const listener = sinon.spy()
+ const listener = jest.fn()
mountingMethod({
template: `
@@ -90,7 +90,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
methods: { listener }
}).setChecked()
- expect(listener).not.to.have.been.called
+ expect(listener).not.toHaveBeenCalled()
})
it('updates dom with radio v-model', async () => {
@@ -119,7 +119,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
})
it('triggers a change event when called on a radio button', () => {
- const listener = sinon.spy()
+ const listener = jest.fn()
mountingMethod({
template: `
@@ -132,11 +132,11 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
methods: { listener }
}).setChecked()
- expect(listener).to.have.been.called
+ expect(listener).toHaveBeenCalled()
})
it('does not trigger a change event if the radio button is already checked', () => {
- const listener = sinon.spy()
+ const listener = jest.fn()
mountingMethod({
template: `
@@ -150,7 +150,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
methods: { listener }
}).setChecked()
- expect(listener).not.to.have.been.called
+ expect(listener).not.toHaveBeenCalled()
})
it('throws error if checked param is not boolean', () => {
@@ -158,9 +158,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const wrapper = mountingMethod(ComponentWithInput)
const input = wrapper.find('input[type="checkbox"]')
const fn = () => input.setChecked('asd')
- expect(fn)
- .toThrow()
- .with.property('message', '[vue-test-utils]: ' + message)
+ expect(fn).toThrow('[vue-test-utils]: ' + message)
})
it('throws error if checked param is false on radio element', () => {
@@ -169,8 +167,6 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const wrapper = mountingMethod(ComponentWithInput)
const input = wrapper.find('#radioFoo')
const fn = () => input.setChecked(false)
- expect(fn)
- .toThrow()
- .with.property('message', '[vue-test-utils]: ' + message)
+ expect(fn).toThrow('[vue-test-utils]: ' + message)
})
})
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index c2189dacc..c703e9b7e 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -8,19 +8,6 @@ import {
} from '~resources/utils'
describeWithShallowAndMount('setData', mountingMethod => {
- const sandbox = sinon.createSandbox()
-
- beforeEach(() => {
- jest
- .fn()(console, 'info')
- .callThrough()
- })
-
- afterEach(() => {
- sandbox.reset()
- sandbox.restore()
- })
-
it('sets component data and returns a promise', async () => {
const wrapper = mountingMethod(ComponentWithVIf)
expect(wrapper.findAll('.child.ready').length).toEqual(0)
diff --git a/test/specs/wrapper/setSelected.spec.js b/test/specs/wrapper/setSelected.spec.js
index 8cbd7c247..5054571ef 100644
--- a/test/specs/wrapper/setSelected.spec.js
+++ b/test/specs/wrapper/setSelected.spec.js
@@ -49,7 +49,7 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
.at(1)
.setSelected()
- expect(change).to.have.been.called
+ expect(change).toHaveBeenCalled()
})
it('does not trigger an event if called on already selected option', () => {
@@ -68,7 +68,7 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
.at(1)
.setSelected()
- expect(change).not.to.have.been.called
+ expect(change).not.toHaveBeenCalled()
})
it('throws error if element is not valid', () => {
@@ -78,8 +78,6 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
const input = wrapper.find('#label-el')
const fn = () => input.setSelected('value')
- expect(fn)
- .toThrow()
- .with.property('message', '[vue-test-utils]: ' + message)
+ expect(fn).toThrow('[vue-test-utils]: ' + message)
})
})
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index 3875da294..026e54f8e 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -124,8 +124,6 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const input = wrapper.find(selector)
const fn = () => input.setValue('')
- expect(fn)
- .toThrow()
- .with.property('message', '[vue-test-utils]: ' + message)
+ expect(fn).toThrow('[vue-test-utils]: ' + message)
}
})
From bd83932aa9d95e7275252e8ef53c3c0b966ffa25 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 22:26:23 +1000
Subject: [PATCH 19/32] test: refactor set methods
---
.../components/component-with-input.vue | 3 +++
test/specs/wrapper/setData.spec.js | 15 +++++++++--
test/specs/wrapper/setProps.spec.js | 25 ++++---------------
test/specs/wrapper/setSelected.spec.js | 4 +--
test/specs/wrapper/setValue.spec.js | 4 +--
5 files changed, 25 insertions(+), 26 deletions(-)
diff --git a/test/resources/components/component-with-input.vue b/test/resources/components/component-with-input.vue
index bd1f04236..ccbd1413f 100644
--- a/test/resources/components/component-with-input.vue
+++ b/test/resources/components/component-with-input.vue
@@ -64,6 +64,9 @@ export default {
},
watch: {
+ multiselectVal(newVal) {
+ console.log(newVal)
+ },
checkboxVal() {
this.counter++
},
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index c703e9b7e..f3a83102e 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -8,6 +8,17 @@ import {
} from '~resources/utils'
describeWithShallowAndMount('setData', mountingMethod => {
+ let consoleInfoSave = console.info
+
+ beforeEach(() => {
+ consoleInfoSave = console.info
+ console.info = jest.fn()
+ })
+
+ afterEach(() => {
+ console.info = consoleInfoSave
+ })
+
it('sets component data and returns a promise', async () => {
const wrapper = mountingMethod(ComponentWithVIf)
expect(wrapper.findAll('.child.ready').length).toEqual(0)
@@ -51,7 +62,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
const wrapper = mountingMethod(ComponentWithWatch)
const data1 = 'testest'
await wrapper.setData({ data2: 'newProp', data1 })
- expect(console.info.args[0][0]).toEqual(data1)
+ expect(console.info).toHaveBeenCalledWith(data1)
})
it('throws error if node is not a Vue instance', () => {
@@ -59,7 +70,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
const p = wrapper.find('p')
- expect(() => p.setData({ ready: true })).throw(Error, message)
+ expect(() => p.setData({ ready: true })).toThrow(message)
})
it('throws error when called on functional vnode', () => {
diff --git a/test/specs/wrapper/setProps.spec.js b/test/specs/wrapper/setProps.spec.js
index 4397ac124..afdbdd72a 100644
--- a/test/specs/wrapper/setProps.spec.js
+++ b/test/specs/wrapper/setProps.spec.js
@@ -10,18 +10,6 @@ import { itDoNotRunIf } from 'conditional-specs'
import Vue from 'vue'
describeWithShallowAndMount('setProps', mountingMethod => {
- const sandbox = sinon.createSandbox()
- beforeEach(() => {
- jest
- .fn()(console, 'info')
- .callThrough()
- })
-
- afterEach(() => {
- sandbox.reset()
- sandbox.restore()
- })
-
it('returns a promise, when resolved component is updated', async () => {
const wrapper = mountingMethod(ComponentWithProps)
const response = wrapper.setProps({ prop1: 'foo' })
@@ -219,7 +207,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
it('throws error when called on functional vnode', () => {
const fn = () =>
mountingMethod(AFunctionalComponent).setProps({ prop1: 'prop' })
- expect(fn).throw(Error, errors.FUNCTIONAL_COMPONENT_ERROR)
+ expect(fn).toThrow(errors.FUNCTIONAL_COMPONENT_ERROR)
})
// find on functional components isn't supported in Vue < 2.3
@@ -237,9 +225,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
mountingMethod(TestComponent)
.find(AFunctionalComponent)
.setProps({ prop1: 'prop' })
- expect(fn2)
- .toThrow()
- .with.property('message', errors.FUNCTIONAL_COMPONENT_ERROR)
+ expect(fn2).toThrow(errors.FUNCTIONAL_COMPONENT_ERROR)
}
)
@@ -250,7 +236,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const fn = () =>
mountingMethod({ template: '
' }).setProps({ prop1: 'prop' })
- expect(fn).throw(Error, errors.WRONG_PROP_ERROR)
+ expect(fn).toThrow(errors.WRONG_PROP_ERROR)
}
)
})
@@ -267,15 +253,14 @@ describeWithShallowAndMount('setProps', mountingMethod => {
)
const fn = () => wrapper.setProps({ obj })
- expect(fn).throw(Error, errors.SAME_REFERENCE_ERROR)
+ expect(fn).toThrow(errors.SAME_REFERENCE_ERROR)
})
it('throws an error if node is not a Vue instance', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
const p = wrapper.find('p')
- expect(() => p.setProps({ ready: true })).throw(
- Error,
+ expect(() => p.setProps({ ready: true })).toThrow(
errors.INVALID_NODE_ERROR
)
})
diff --git a/test/specs/wrapper/setSelected.spec.js b/test/specs/wrapper/setSelected.spec.js
index 5054571ef..8a58cc8c2 100644
--- a/test/specs/wrapper/setSelected.spec.js
+++ b/test/specs/wrapper/setSelected.spec.js
@@ -34,7 +34,7 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
})
it('triggers a change event on the parent select', () => {
- const change = sinon.spy()
+ const change = jest.fn()
mountingMethod({
template: `
@@ -53,7 +53,7 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
})
it('does not trigger an event if called on already selected option', () => {
- const change = sinon.spy()
+ const change = jest.fn()
mountingMethod({
template: `
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index 026e54f8e..680909c0a 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -65,10 +65,10 @@ describeWithShallowAndMount('setValue', mountingMethod => {
expect(wrapper.text()).toContain('selectB')
})
- it('sets element of multiselect value', () => {
+ it.only('sets element of multiselect value', async () => {
const wrapper = mountingMethod(ComponentWithInput)
const select = wrapper.find('select.multiselect')
- select.setValue(['selectA', 'selectC'])
+ await select.setValue(['selectA', 'selectC'])
const selectedOptions = Array.from(select.element.selectedOptions).map(
o => o.value
From 79a0fc77f6a5831c43a372bb6f98889973db8146 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 22:28:17 +1000
Subject: [PATCH 20/32] test: finish refactor set methods
---
test/resources/components/component-with-input.vue | 3 ---
1 file changed, 3 deletions(-)
diff --git a/test/resources/components/component-with-input.vue b/test/resources/components/component-with-input.vue
index ccbd1413f..bd1f04236 100644
--- a/test/resources/components/component-with-input.vue
+++ b/test/resources/components/component-with-input.vue
@@ -64,9 +64,6 @@ export default {
},
watch: {
- multiselectVal(newVal) {
- console.log(newVal)
- },
checkboxVal() {
this.counter++
},
From c62a8f737266b09c4c08142282d247b9fdc1a067 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 22:39:50 +1000
Subject: [PATCH 21/32] test: refactor trigger
---
test/specs/wrapper/trigger.spec.js | 51 +++++++++++++-----------------
1 file changed, 22 insertions(+), 29 deletions(-)
diff --git a/test/specs/wrapper/trigger.spec.js b/test/specs/wrapper/trigger.spec.js
index 7d309e236..971ff3146 100644
--- a/test/specs/wrapper/trigger.spec.js
+++ b/test/specs/wrapper/trigger.spec.js
@@ -11,13 +11,6 @@ import Vue from 'vue'
import { itDoNotRunIf } from 'conditional-specs'
describeWithShallowAndMount('trigger', mountingMethod => {
- const sandbox = sinon.createSandbox()
-
- afterEach(() => {
- sandbox.reset()
- sandbox.restore()
- })
-
it('returns a promise that when resolved, the component is updated', async () => {
const wrapper = mountingMethod(ComponentWithEvents)
const toggle = wrapper.find('.toggle')
@@ -30,35 +23,35 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes click handler to fire when wrapper.trigger("click") is called on a Component', () => {
- const clickHandler = jest.fn()()
+ const clickHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { clickHandler }
})
const button = wrapper.find('.click')
button.trigger('click')
- expect(clickHandler.calledOnce).toEqual(true)
+ expect(clickHandler).toHaveBeenCalled()
})
it('causes keydown handler to fire when wrapper.trigger("keydown") is fired on a Component', () => {
- const keydownHandler = jest.fn()()
+ const keydownHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
wrapper.find('.keydown').trigger('keydown')
- expect(keydownHandler.calledOnce).toEqual(true)
+ expect(keydownHandler).toHaveBeenCalled()
})
describe('causes keydown handler to fire with the appropriate keyCode when wrapper.trigger("keydown", { keyCode: 65 }) is fired on a Component', () => {
- const keydownHandler = jest.fn()()
+ const keydownHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
wrapper.find('.keydown').trigger('keydown', { keyCode: 65 })
- const keyboardEvent = keydownHandler.getCall(0).args[0]
+ const keyboardEvent = keydownHandler.mock.calls[0][0]
// Unfortunately, JSDom will give different types than PhantomJS for keyCodes (string vs number), so we have to use parseInt to normalize the types.
it('contains the keyCode', () => {
@@ -71,16 +64,16 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes keydown handler to fire when wrapper.trigger("keydown.enter") is fired on a Component', () => {
- const keydownHandler = jest.fn()()
+ const keydownHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
wrapper.find('.keydown-enter').trigger('keydown.enter')
- expect(keydownHandler.calledOnce).toEqual(true)
+ expect(keydownHandler).toHaveBeenCalled()
})
- it('convert a registered key name to a key code', () => {
+ it.skip('convert a registered key name to a key code', () => {
const modifiers = {
enter: 13,
esc: 27,
@@ -98,14 +91,14 @@ describeWithShallowAndMount('trigger', mountingMethod => {
pageup: 33,
pagedown: 34
}
- const keyupHandler = jest.fn()()
+ const keyupHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keyupHandler }
})
for (const keyName in modifiers) {
const keyCode = modifiers[keyName]
wrapper.find('.keydown').trigger(`keyup.${keyName}`)
- expect(keyupHandler.lastCall.args[0].keyCode).toEqual(keyCode)
+ expect(keyupHandler.mock.calls[0][0].keyCode).toEqual(keyCode)
}
})
@@ -123,7 +116,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
)
it('adds options to event', () => {
- const clickHandler = jest.fn()()
+ const clickHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { clickHandler }
})
@@ -134,11 +127,11 @@ describeWithShallowAndMount('trigger', mountingMethod => {
button.trigger('mousedown', {
button: 0
})
- expect(clickHandler.calledOnce).toEqual(true)
+ expect(clickHandler).toHaveBeenCalled()
})
it('adds custom data to events', () => {
- const stub = jest.fn()()
+ const stub = jest.fn()
const TestComponent = {
template: '
',
methods: {
@@ -154,11 +147,11 @@ describeWithShallowAndMount('trigger', mountingMethod => {
customData: 123
})
- expect(stub).calledWith(123)
+ expect(stub).toHaveBeenCalledWith(123)
})
it('does not fire on valid disabled elements', () => {
- const clickHandler = jest.fn()()
+ const clickHandler = jest.fn()
const ButtonComponent = {
template: 'Button ',
props: ['clickHandler']
@@ -169,9 +162,9 @@ describeWithShallowAndMount('trigger', mountingMethod => {
}
})
buttonWrapper.trigger('click')
- expect(clickHandler.called).toEqual(false)
+ expect(clickHandler).not.toHaveBeenCalled()
- const changeHandler = jest.fn()()
+ const changeHandler = jest.fn()
const InputComponent = {
template: ' ',
props: ['changeHandler']
@@ -182,11 +175,11 @@ describeWithShallowAndMount('trigger', mountingMethod => {
}
})
inputWrapper.trigger('change')
- expect(changeHandler.called).toEqual(false)
+ expect(changeHandler).not.toHaveBeenCalled()
})
it('fires on invalid disabled elements', () => {
- const clickHandler = jest.fn()()
+ const clickHandler = jest.fn()
const LinkComponent = {
template: 'Link ',
props: ['clickHandler']
@@ -197,7 +190,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
}
})
linkWrapper.trigger('click')
- expect(clickHandler.called).toEqual(true)
+ expect(clickHandler).toHaveBeenCalled()
})
it('handles .prevent', () => {
@@ -281,7 +274,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
wrapper.trigger('click')
- expect(lastEvent).to.be.an.instanceof(window.MouseEvent)
+ expect(lastEvent).toBeInstanceOf(window.MouseEvent)
}
)
From 1e8ebd4800a52d20a7850c02dc4c65f5fdbfc615 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 22:56:42 +1000
Subject: [PATCH 22/32] test: refactor wrapper-array specs
---
test/specs/config.spec.js | 6 ----
test/specs/mount.spec.js | 11 +------
test/specs/shallow-mount.spec.js | 15 ---------
test/specs/wrapper-array.spec.js | 41 +++++++++---------------
test/specs/wrapper-array/trigger.spec.js | 19 ++++-------
test/specs/wrapper.spec.js | 2 --
test/specs/wrapper/find.spec.js | 2 +-
7 files changed, 24 insertions(+), 72 deletions(-)
diff --git a/test/specs/config.spec.js b/test/specs/config.spec.js
index d9d29e3a9..d34cf0845 100644
--- a/test/specs/config.spec.js
+++ b/test/specs/config.spec.js
@@ -4,24 +4,18 @@ import { config, createLocalVue } from '@vue/test-utils'
import ComponentWithTransitions from '~resources/components/component-with-transitions.vue'
describeWithShallowAndMount('config', mountingMethod => {
- const sandbox = sinon.createSandbox()
let configStubsSave
let configSilentSave
beforeEach(() => {
configStubsSave = config.stubs
configSilentSave = config.silent
- jest
- .fn()(console, 'error')
- .callThrough()
})
afterEach(() => {
config.stubs = configStubsSave
config.silent = configSilentSave
config.methods = {}
- sandbox.reset()
- sandbox.restore()
})
it('mocks a global variable', () => {
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index adab0972c..eed645140 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -11,19 +11,10 @@ import { describeRunIf, itDoNotRunIf, itSkipIf } from 'conditional-specs'
import Vuex from 'vuex'
describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
- const sandbox = sinon.createSandbox()
const windowSave = window
- beforeEach(() => {
- jest
- .fn()(console, 'error')
- .callThrough()
- })
-
afterEach(() => {
window = windowSave // eslint-disable-line no-native-reassign
- sandbox.reset()
- sandbox.restore()
})
it('returns new VueWrapper with mounted Vue instance if no options are passed', () => {
@@ -182,7 +173,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
)
itDoNotRunIf(vueVersion < 2.3, 'overrides methods', () => {
- const stub = jest.fn()()
+ const stub = jest.fn()
const TestComponent = Vue.extend({
template: '
',
methods: {
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index 9b39a458c..a0453e2a5 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -15,21 +15,6 @@ import { vueVersion } from '~resources/utils'
import { describeRunIf, itDoNotRunIf } from 'conditional-specs'
describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
- const sandbox = sinon.createSandbox()
- beforeEach(() => {
- jest
- .fn()(console, 'info')
- .callThrough()
- jest
- .fn()(console, 'error')
- .callThrough()
- })
-
- afterEach(() => {
- sandbox.reset()
- sandbox.restore()
- })
-
it('renders dynamic class of functional child', () => {
const wrapper = shallowMount(ComponentWithFunctionalChild)
expect(wrapper.find('functional-component-stub').classes()).toContain(
diff --git a/test/specs/wrapper-array.spec.js b/test/specs/wrapper-array.spec.js
index ecb457e6a..5f2b9b85e 100644
--- a/test/specs/wrapper-array.spec.js
+++ b/test/specs/wrapper-array.spec.js
@@ -2,13 +2,6 @@ import { Wrapper, WrapperArray } from '@vue/test-utils'
import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('WrapperArray', mountingMethod => {
- const sandbox = sinon.createSandbox()
-
- afterEach(() => {
- sandbox.reset()
- sandbox.restore()
- })
-
function getWrapperArray(wrappers) {
if (!wrappers) {
wrappers = [1, 2, 3].map(v => {
@@ -141,8 +134,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
it('contains returns true if every wrapper.contains() returns true', () => {
const selector = 'selector'
- const contains = jest.fn()()
- contains.withArgs(selector).returns(true)
+ const contains = jest.fn(() => true)
const wrapperArray = getWrapperArray([{ contains }, { contains }])
expect(wrapperArray.contains(selector)).toEqual(true)
})
@@ -157,8 +149,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
it('is returns true if every wrapper.is() returns true', () => {
const selector = 'selector'
- const is = jest.fn()()
- is.withArgs(selector).returns(true)
+ const is = jest.fn(() => true)
const wrapperArray = getWrapperArray([{ is }, { is }])
expect(wrapperArray.is(selector)).toEqual(true)
})
@@ -220,46 +211,46 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
})
it('setMethods calls setMethods on each wrapper', () => {
- const setMethods = jest.fn()()
+ const setMethods = jest.fn()
const methods = {}
const wrapperArray = getWrapperArray([{ setMethods }, { setMethods }])
wrapperArray.setMethods(methods)
- expect(setMethods.calledTwice).toEqual(true)
- expect(setMethods.calledWith(methods)).toEqual(true)
+ expect(setMethods).toHaveBeenCalledTimes(2)
+ expect(setMethods).toHaveBeenCalledWith(methods)
})
it('setData calls setData on each wrapper', () => {
- const setData = jest.fn()()
+ const setData = jest.fn()
const data = {}
const wrapperArray = getWrapperArray([{ setData }, { setData }])
wrapperArray.setData(data)
- expect(setData.calledTwice).toEqual(true)
- expect(setData.calledWith(data)).toEqual(true)
+ expect(setData).toHaveBeenCalledTimes(2)
+ expect(setData).toHaveBeenCalledWith(data)
})
it('setProps calls setProps on each wrapper', () => {
- const setProps = jest.fn()()
+ const setProps = jest.fn()
const props = {}
const wrapperArray = getWrapperArray([{ setProps }, { setProps }])
wrapperArray.setProps(props)
- expect(setProps.calledTwice).toEqual(true)
- expect(setProps.calledWith(props)).toEqual(true)
+ expect(setProps).toHaveBeenCalledTimes(2)
+ expect(setProps).toHaveBeenCalledWith(props)
})
it('trigger calls trigger on each wrapper', () => {
- const trigger = jest.fn()()
+ const trigger = jest.fn()
const event = 'click'
const options = {}
const wrapperArray = getWrapperArray([{ trigger }, { trigger }])
wrapperArray.trigger(event, options)
- expect(trigger.calledTwice).toEqual(true)
- expect(trigger.calledWith(event, options)).toEqual(true)
+ expect(trigger).toHaveBeenCalledTimes(2)
+ expect(trigger).toHaveBeenCalledWith(event, options)
})
it('destroy calls destroy on each wrapper', () => {
- const destroy = jest.fn()()
+ const destroy = jest.fn()
const wrapperArray = getWrapperArray([{ destroy }, { destroy }])
wrapperArray.destroy()
- expect(destroy.calledTwice).toEqual(true)
+ expect(destroy).toHaveBeenCalledTimes(2)
})
})
diff --git a/test/specs/wrapper-array/trigger.spec.js b/test/specs/wrapper-array/trigger.spec.js
index 372ec6aa2..2592c6d2d 100644
--- a/test/specs/wrapper-array/trigger.spec.js
+++ b/test/specs/wrapper-array/trigger.spec.js
@@ -3,42 +3,35 @@ import ComponentWithEvents from '~resources/components/component-with-events.vue
import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('trigger', mountingMethod => {
- const sandbox = sinon.createSandbox()
-
- afterEach(() => {
- sandbox.reset()
- sandbox.restore()
- })
-
it('causes click handler to fire when wrapper.trigger("click") is called on a Component', () => {
- const clickHandler = jest.fn()()
+ const clickHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { clickHandler }
})
const buttonArr = wrapper.findAll('.click')
buttonArr.trigger('click')
- expect(clickHandler.calledOnce).toEqual(true)
+ expect(clickHandler).toHaveBeenCalled()
})
it('causes keydown handler to fire when wrapper.trigger("keydown") is fired on a Component', () => {
- const keydownHandler = jest.fn()()
+ const keydownHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
wrapper.findAll('.keydown').trigger('keydown')
- expect(keydownHandler.calledOnce).toEqual(true)
+ expect(keydownHandler).toHaveBeenCalled()
})
it('causes keydown handler to fire when wrapper.trigger("keydown.enter") is fired on a Component', () => {
- const keydownHandler = jest.fn()()
+ const keydownHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
wrapper.findAll('.keydown-enter').trigger('keydown.enter')
- expect(keydownHandler.calledOnce).toEqual(true)
+ expect(keydownHandler).toHaveBeenCalled()
})
it('throws an error if type is not a string', () => {
diff --git a/test/specs/wrapper.spec.js b/test/specs/wrapper.spec.js
index 5b4f40d9f..20a0e84ff 100644
--- a/test/specs/wrapper.spec.js
+++ b/test/specs/wrapper.spec.js
@@ -16,8 +16,6 @@ describeWithShallowAndMount('Wrapper', mountingMethod => {
})
describe('enableAutoDestroy', () => {
- const sandbox = sinon.createSandbox()
-
beforeEach(() => {
resetAutoDestroyState()
})
diff --git a/test/specs/wrapper/find.spec.js b/test/specs/wrapper/find.spec.js
index 4aa6f8c86..496ec8bda 100644
--- a/test/specs/wrapper/find.spec.js
+++ b/test/specs/wrapper/find.spec.js
@@ -165,7 +165,7 @@ describeWithShallowAndMount('find', mountingMethod => {
render: h => h('div', {}, [h(Component)])
}
const wrapper = mountingMethod(FuncComponentWithChildren)
- expect(wrapper.findComponent(Component).exists()).to.be.true
+ expect(wrapper.findComponent(Component).exists()).toBe(true)
})
itSkipIf(isRunningPhantomJS, 'returns Wrapper of class component', () => {
From d38f9dc02b0a867103cf66108aa9bcd73efb9be3 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Mon, 6 Jul 2020 19:47:56 +1000
Subject: [PATCH 23/32] test: update config.spec.js
---
test/specs/config.spec.js | 41 ++++++++++++++++++++++++---------------
1 file changed, 25 insertions(+), 16 deletions(-)
diff --git a/test/specs/config.spec.js b/test/specs/config.spec.js
index d34cf0845..e7688a341 100644
--- a/test/specs/config.spec.js
+++ b/test/specs/config.spec.js
@@ -6,16 +6,20 @@ import ComponentWithTransitions from '~resources/components/component-with-trans
describeWithShallowAndMount('config', mountingMethod => {
let configStubsSave
let configSilentSave
+ let consoleErrorSave
beforeEach(() => {
configStubsSave = config.stubs
configSilentSave = config.silent
+ consoleErrorSave = console.error
+ console.error = jest.fn()
})
afterEach(() => {
config.stubs = configStubsSave
config.silent = configSilentSave
config.methods = {}
+ console.error = consoleErrorSave
})
it('mocks a global variable', () => {
@@ -70,7 +74,7 @@ describeWithShallowAndMount('config', mountingMethod => {
wrapper.setProps({
prop1: 'new value'
})
- expect(console.error).not.calledWith(sandbox.match('[Vue warn]'))
+ expect(console.error).not.toHaveBeenCalled()
})
it('does throw Vue warning when silent is set to false', () => {
@@ -86,7 +90,9 @@ describeWithShallowAndMount('config', mountingMethod => {
wrapper.setProps({
prop1: 'new value'
})
- expect(console.error).calledWith(sandbox.match('[Vue warn]'))
+ expect(console.error).toHaveBeenCalledWith(
+ expect.stringMatching(/[Vue warn]/)
+ )
})
it('stubs out transitions by default', async () => {
@@ -105,10 +111,12 @@ describeWithShallowAndMount('config', mountingMethod => {
}
const wrapper = mountingMethod(Component)
wrapper.name()
- expect(console.error).to.be.calledWith(sandbox.match('name is deprecated'))
+ expect(console.error).toHaveBeenCalledWith(
+ expect.stringMatching(/name is deprecated/)
+ )
config.showDeprecationWarnings = false
wrapper.name()
- expect(console.error).to.have.callCount(1)
+ expect(console.error).toHaveBeenCalledTimes(1)
})
describe('attachToDocument deprecation warning', () => {
@@ -123,8 +131,9 @@ describeWithShallowAndMount('config', mountingMethod => {
mountingMethod(Component, {
attachToDocument: true
})
- expect(console.error).to.be.calledWith(
- sandbox.match('attachToDocument is deprecated')
+
+ expect(console.error).toHaveBeenCalledWith(
+ expect.stringMatching(/attachToDocument is deprecated/)
)
})
@@ -135,8 +144,8 @@ describeWithShallowAndMount('config', mountingMethod => {
attachToDocument: true
})
- expect(console.error).not.to.be.calledWith(
- sandbox.match('attachToDocument is deprecated')
+ expect(console.error).not.toHaveBeenCalledWith(
+ expect.stringMatching(/attachToDocument is deprecated/)
)
})
})
@@ -157,8 +166,8 @@ describeWithShallowAndMount('config', mountingMethod => {
methods: { foo: () => {} }
})
- expect(console.error).to.be.calledWith(
- sandbox.match(expectedErrorMessage)
+ expect(console.error).toHaveBeenCalledWith(
+ expect.stringMatching(expectedErrorMessage)
)
})
@@ -169,8 +178,8 @@ describeWithShallowAndMount('config', mountingMethod => {
methods: { foo: () => {} }
})
- expect(console.error).not.to.be.calledWith(
- sandbox.match(expectedErrorMessage)
+ expect(console.error).not.toHaveBeenCalledWith(
+ expect.stringMatching(expectedErrorMessage)
)
})
@@ -179,8 +188,8 @@ describeWithShallowAndMount('config', mountingMethod => {
mountingMethod(Component).setMethods({ foo: () => {} })
- expect(console.error).to.be.calledWith(
- sandbox.match(expectedErrorMessage)
+ expect(console.error).toHaveBeenCalledWith(
+ expect.stringMatching(expectedErrorMessage)
)
})
@@ -189,8 +198,8 @@ describeWithShallowAndMount('config', mountingMethod => {
mountingMethod(Component).setMethods({ foo: () => {} })
- expect(console.error).not.to.be.calledWith(
- sandbox.match(expectedErrorMessage)
+ expect(console.error).not.toHaveBeenCalledWith(
+ expect.stringMatching(expectedErrorMessage)
)
})
})
From 446e0bad5b3734a24eb3f5b318fb6f7b304a66d0 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Mon, 6 Jul 2020 21:02:17 +1000
Subject: [PATCH 24/32] test: update mount specs
---
test/specs/create-wrapper.spec.js | 4 ++--
test/specs/mount.spec.js | 36 +++++--------------------------
test/specs/shallow-mount.spec.js | 33 ++++++++++++++++++++++------
3 files changed, 33 insertions(+), 40 deletions(-)
diff --git a/test/specs/create-wrapper.spec.js b/test/specs/create-wrapper.spec.js
index 0ee6d5841..132dab044 100644
--- a/test/specs/create-wrapper.spec.js
+++ b/test/specs/create-wrapper.spec.js
@@ -9,8 +9,8 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const vm = new Constructor().$mount()
const wrapper = createWrapper(vm)
expect(wrapper.is(Component)).toEqual(true)
- expect(wrapper).instanceof(Wrapper)
- expect(wrapper.findAll('div')).instanceof(WrapperArray)
+ expect(wrapper).toBeInstanceOf(Wrapper)
+ expect(wrapper.findAll('div')).toBeInstanceOf(WrapperArray)
})
it('handles HTMLElement', () => {
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index eed645140..d1ec388c2 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -122,13 +122,12 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
)
it('does not use cached component', () => {
- jest.fn()(ComponentWithMixin.methods, 'someMethod')
+ ComponentWithMixin.methods.someMethod = jest.fn()
mount(ComponentWithMixin)
- expect(ComponentWithMixin.methods.someMethod.callCount).toEqual(1)
- ComponentWithMixin.methods.someMethod.restore()
- jest.fn()(ComponentWithMixin.methods, 'someMethod')
+ expect(ComponentWithMixin.methods.someMethod).toHaveBeenCalledTimes(1)
+ ComponentWithMixin.methods.someMethod = jest.fn()
mount(ComponentWithMixin)
- expect(ComponentWithMixin.methods.someMethod.callCount).toEqual(1)
+ expect(ComponentWithMixin.methods.someMethod).toHaveBeenCalledTimes(1)
})
it('throws an error if window is undefined', () => {
@@ -188,32 +187,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
}
}).vm.callStub()
- expect(stub).not.called
- })
-
- it.skip('overrides component prototype', () => {
- const mountSpy = sandbox.spy()
- const destroySpy = sandbox.spy()
- const Component = Vue.extend({})
- const {
- $mount: originalMount,
- $destroy: originalDestroy
- } = Component.prototype
- Component.prototype.$mount = function(...args) {
- originalMount.apply(this, args)
- mountSpy()
- return this
- }
- Component.prototype.$destroy = function() {
- originalDestroy.apply(this)
- destroySpy()
- }
-
- const wrapper = mount(Component)
- expect(mountSpy).called
- expect(destroySpy).not.called
- wrapper.destroy()
- expect(destroySpy).called
+ expect(stub).not.toHaveBeenCalled()
})
// Problems accessing options of twice extended components in Vue < 2.3
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index a0453e2a5..f8d111aab 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -15,6 +15,21 @@ import { vueVersion } from '~resources/utils'
import { describeRunIf, itDoNotRunIf } from 'conditional-specs'
describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
+ let consoleInfoSave = console.info
+ let consoleErrorSave = console.error
+
+ beforeEach(() => {
+ consoleInfoSave = console.info
+ consoleErrorSave = console.error
+ console.info = jest.fn()
+ console.error = jest.fn()
+ })
+
+ afterEach(() => {
+ console.info = consoleInfoSave
+ console.error = consoleErrorSave
+ })
+
it('renders dynamic class of functional child', () => {
const wrapper = shallowMount(ComponentWithFunctionalChild)
expect(wrapper.find('functional-component-stub').classes()).toContain(
@@ -58,7 +73,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
localVue.component('registered-component', ComponentWithLifecycleHooks)
mount(TestComponent, { localVue })
- expect(console.info.callCount).toEqual(4)
+ expect(console.info).toHaveBeenCalledTimes(4)
})
it('renders children', () => {
@@ -167,7 +182,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
shallowMount(Component)
mount(Component)
- expect(console.info.callCount).toEqual(4)
+ expect(console.info).toHaveBeenCalledTimes(4)
})
itDoNotRunIf(
@@ -192,7 +207,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
}
shallowMount(TestComponent)
- expect(console.error).not.calledWith(sandbox.match('[Vue warn]'))
+ expect(console.error).not.toHaveBeenCalledWith(
+ expect.stringMatching('[Vue warn]')
+ )
}
)
@@ -297,12 +314,14 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
const wrapper = shallowMount(TestComponent)
expect(wrapper.html()).toContain('')
- expect(console.error).not.calledWith('[Vue warn]')
+ expect(console.error).not.toHaveBeenCalledWith(
+ expect.stringMatching('[Vue warn]')
+ )
})
it('does not call stubbed children lifecycle hooks', () => {
shallowMount(ComponentWithNestedChildren)
- expect(console.info.called).toEqual(false)
+ expect(console.info).not.toHaveBeenCalled()
})
it('stubs extended components', () => {
@@ -591,8 +610,8 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
shallowMount(TestComponent)
mount(TestComponent)
- expect(console.error).not.calledWith(
- sandbox.match('Unknown custom element')
+ expect(console.error).not.toHaveBeenCalledWith(
+ expect.stringMatching('Unknown custom element')
)
}
)
From a19b2c4a08020590bdc73d6d68e0352a7fefec19 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Mon, 6 Jul 2020 21:07:06 +1000
Subject: [PATCH 25/32] test: use spyOn
---
test/specs/render.spec.js | 2 +-
test/specs/renderToString.spec.js | 4 ++--
test/specs/wrapper.spec.js | 8 ++++----
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/test/specs/render.spec.js b/test/specs/render.spec.js
index ddebc03f7..5b8f181c3 100644
--- a/test/specs/render.spec.js
+++ b/test/specs/render.spec.js
@@ -8,7 +8,7 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'render', () => {
template: ''
}
const wrapper = await render(TestComponent)
- expect(wrapper).to.be.an.instanceof(Cheerio)
+ expect(wrapper).toBeAnInstanceof(Cheerio)
expect(wrapper.find('h2').text()).toEqual('Test')
expect(wrapper.find('p').length).toEqual(2)
})
diff --git a/test/specs/renderToString.spec.js b/test/specs/renderToString.spec.js
index 4996402fd..0df707856 100644
--- a/test/specs/renderToString.spec.js
+++ b/test/specs/renderToString.spec.js
@@ -59,8 +59,8 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
$route
}
})
- expect(str).contains('true')
- expect(str).contains('http://test.com')
+ expect(str).toContain('true')
+ expect(str).toContain('http://test.com')
})
it('mounts component with $parent set to options.parentComponent', async () => {
diff --git a/test/specs/wrapper.spec.js b/test/specs/wrapper.spec.js
index 20a0e84ff..fd9223fac 100644
--- a/test/specs/wrapper.spec.js
+++ b/test/specs/wrapper.spec.js
@@ -21,11 +21,11 @@ describeWithShallowAndMount('Wrapper', mountingMethod => {
})
it('calls the hook function', () => {
- const hookSpy = sandbox.spy()
+ const hookSpy = jest.fn()
enableAutoDestroy(hookSpy)
- expect(hookSpy).calledOnce
+ expect(hookSpy).toHaveBeenCalled()
})
it('uses the hook function to destroy wrappers', () => {
@@ -34,11 +34,11 @@ describeWithShallowAndMount('Wrapper', mountingMethod => {
hookCallback = callback
})
const wrapper = mountingMethod({ template: 'con tent
' })
- sandbox.spy(wrapper, 'destroy')
+ jest.spyOn(wrapper, 'destroy')
hookCallback()
- expect(wrapper.destroy).calledOnce
+ expect(wrapper.destroy).toHaveBeenCalled()
})
it('cannot be called twice', () => {
From eb1c859a86c4af260ee91eb05871ac0d2752e6b9 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Mon, 6 Jul 2020 21:08:35 +1000
Subject: [PATCH 26/32] test: migrate tests
---
test/specs/wrapper/props.spec.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/test/specs/wrapper/props.spec.js b/test/specs/wrapper/props.spec.js
index 3991e7758..3da011614 100644
--- a/test/specs/wrapper/props.spec.js
+++ b/test/specs/wrapper/props.spec.js
@@ -72,9 +72,7 @@ describeWithShallowAndMount('props', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.props() cannot be called on a mounted functional component.'
const fn = () => wrapper.find(FunctionalComponent).props()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
}
}
)
From ec0fe231547b9713ea23d7a55b82906f26c95abe Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Mon, 6 Jul 2020 21:14:24 +1000
Subject: [PATCH 27/32] test: placeholder to prevent false failure
---
test/specs/render.spec.js | 21 +++--
test/specs/renderToString.spec.js | 135 +++++++++++++++---------------
2 files changed, 81 insertions(+), 75 deletions(-)
diff --git a/test/specs/render.spec.js b/test/specs/render.spec.js
index 5b8f181c3..a2df898b1 100644
--- a/test/specs/render.spec.js
+++ b/test/specs/render.spec.js
@@ -2,14 +2,17 @@ import { render } from '@vue/server-test-utils'
import Cheerio from 'cheerio'
import { describeDoNotRunIf } from 'conditional-specs'
-describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'render', () => {
- it('returns a cheerio wrapper of the rendered component', async () => {
- const TestComponent = {
- template: ''
- }
- const wrapper = await render(TestComponent)
- expect(wrapper).toBeAnInstanceof(Cheerio)
- expect(wrapper.find('h2').text()).toEqual('Test')
- expect(wrapper.find('p').length).toEqual(2)
+describe('render', () => {
+ it.todo('placeholder')
+ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'render', () => {
+ it('returns a cheerio wrapper of the rendered component', async () => {
+ const TestComponent = {
+ template: ''
+ }
+ const wrapper = await render(TestComponent)
+ expect(wrapper).toBeAnInstanceof(Cheerio)
+ expect(wrapper.find('h2').text()).toEqual('Test')
+ expect(wrapper.find('p').length).toEqual(2)
+ })
})
})
diff --git a/test/specs/renderToString.spec.js b/test/specs/renderToString.spec.js
index 0df707856..a66f48dca 100644
--- a/test/specs/renderToString.spec.js
+++ b/test/specs/renderToString.spec.js
@@ -3,88 +3,91 @@ import { createLocalVue } from '@vue/test-utils'
import ComponentWithChild from '~resources/components/component-with-child.vue'
import { describeDoNotRunIf } from 'conditional-specs'
-describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
- it('returns a promise', async () => {
- const str = await renderToString({
- template: `{{this.val}}
`,
- data() {
- return { val: '123' }
- }
+describe('renderToString', () => {
+ it.todo('placeholder')
+ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
+ it('returns a promise', async () => {
+ const str = await renderToString({
+ template: `{{this.val}}
`,
+ data() {
+ return { val: '123' }
+ }
+ })
+ expect(str).toContain('123')
})
- expect(str).toContain('123')
- })
- it('mounts functional component with a defined context when no context object passed in options', async () => {
- const defaultValue = '[vue-test-utils]: testProp default value'
- const Component = {
- functional: true,
- props: {
- testProp: {
- type: String,
- default: defaultValue
- }
- },
- render: (h, { props }) => h('div', props.testProp)
- }
- const str = await renderToString(Component)
- expect(str).toContain(defaultValue)
- })
+ it('mounts functional component with a defined context when no context object passed in options', async () => {
+ const defaultValue = '[vue-test-utils]: testProp default value'
+ const Component = {
+ functional: true,
+ props: {
+ testProp: {
+ type: String,
+ default: defaultValue
+ }
+ },
+ render: (h, { props }) => h('div', props.testProp)
+ }
+ const str = await renderToString(Component)
+ expect(str).toContain(defaultValue)
+ })
- it('mounts component using passed localVue as base Vue', async () => {
- const TestComponent = {
- template: `{{test}}
`
- }
- const localVue = createLocalVue()
- localVue.prototype.test = 'some value'
- const str = await renderToString(TestComponent, {
- localVue: localVue
+ it('mounts component using passed localVue as base Vue', async () => {
+ const TestComponent = {
+ template: `{{test}}
`
+ }
+ const localVue = createLocalVue()
+ localVue.prototype.test = 'some value'
+ const str = await renderToString(TestComponent, {
+ localVue: localVue
+ })
+ expect(str).toContain('some value')
})
- expect(str).toContain('some value')
- })
- it('adds variables to vm when passed', async () => {
- const TestComponent = {
- template: `
+ it('adds variables to vm when passed', async () => {
+ const TestComponent = {
+ template: `
{{$store.store}}
{{$route.path}}
`
- }
- const $store = { store: true }
- const $route = { path: 'http://test.com' }
- const str = await renderToString(TestComponent, {
- mocks: {
- $store,
- $route
}
- })
- expect(str).toContain('true')
- expect(str).toContain('http://test.com')
- })
-
- it('mounts component with $parent set to options.parentComponent', async () => {
- const Parent = {
- data: () => ({
- customName: 'Parent Name'
+ const $store = { store: true }
+ const $route = { path: 'http://test.com' }
+ const str = await renderToString(TestComponent, {
+ mocks: {
+ $store,
+ $route
+ }
})
- }
- const TestComponent = {
- template: '{{$parent.customName}}
'
- }
- const str = await renderToString(TestComponent, {
- parentComponent: Parent
+ expect(str).toContain('true')
+ expect(str).toContain('http://test.com')
})
- expect(str).toContain('Parent Name')
- })
- it('replaces component with template string ', async () => {
- const str = await renderToString(ComponentWithChild, {
- stubs: {
- ChildComponent: '
'
+ it('mounts component with $parent set to options.parentComponent', async () => {
+ const Parent = {
+ data: () => ({
+ customName: 'Parent Name'
+ })
+ }
+ const TestComponent = {
+ template: '{{$parent.customName}}
'
}
+ const str = await renderToString(TestComponent, {
+ parentComponent: Parent
+ })
+ expect(str).toContain('Parent Name')
})
- expect(str).toContain('"stub"')
+ it('replaces component with template string ', async () => {
+ const str = await renderToString(ComponentWithChild, {
+ stubs: {
+ ChildComponent: '
'
+ }
+ })
+
+ expect(str).toContain('"stub"')
+ })
})
})
From 9b3d469ab4d20c16ee5deaf67a53427caaab6ac6 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Mon, 6 Jul 2020 21:17:30 +1000
Subject: [PATCH 28/32] test: remove karma, sinon, chai and see what happens
---
package.json | 19 +-
yarn.lock | 932 +++------------------------------------------------
2 files changed, 46 insertions(+), 905 deletions(-)
diff --git a/package.json b/package.json
index 845c29033..ce9276180 100644
--- a/package.json
+++ b/package.json
@@ -21,14 +21,7 @@
"release": "yarn build && yarn test:unit:only && lerna publish --conventional-commits -m \"chore(release): publish %s\"",
"test": "yarn format:check && yarn lint && yarn lint:docs && yarn flow && yarn test:types && yarn test:unit && yarn test:unit:karma && yarn test:unit:node",
"test:compat": "scripts/test-compat.sh",
- "test:unit": "yarn build:test && yarn test:unit:only",
- "test:unit:only": "mocha-webpack --webpack-config test/setup/webpack.test.config.js test/specs --recursive --require test/setup/mocha.setup.js",
- "test:unit:only:dev": "cross-env TARGET=dev yarn test:unit:only",
- "test:unit:debug": "yarn build:test && node --inspect-brk node_modules/.bin/mocha-webpack --webpack-config test/setup/webpack.test.config.js test/specs --recursive --require test/setup/mocha.setup.js",
- "test:unit:karma": "yarn build:test && yarn test:unit:karma:only",
- "test:unit:karma:only": "cross-env TARGET=browser karma start test/setup/karma.conf.js --single-run",
- "test:unit:node": "yarn build:test && yarn test:unit:node:only",
- "test:unit:node:only": "cross-env TEST_ENV=node mocha-webpack --webpack-config test/setup/webpack.test.config.js test/specs/render.spec.js test/specs/renderToString.spec.js --require test/setup/mocha.setup.js",
+ "test:unit": "yarn build && cross-env TARGET=dev yarn jest",
"test:types": "tsc -p packages/test-utils/types && tsc -p packages/server-test-utils/types"
},
"dependencies": {
@@ -36,7 +29,6 @@
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-plugin-transform-vue-jsx": "^3.7.0",
"babel-polyfill": "^6.26.0",
- "chai": "^4.0.0",
"chalk": "^2.4.2",
"conditional-specs": "^1.0.1",
"conventional-changelog": "^3.1.12",
@@ -49,13 +41,6 @@
"flow-bin": "^0.66.0",
"jsdom": "^12.0.0",
"jsdom-global": "^3.0.2",
- "karma": "^3.1.4",
- "karma-mocha": "^1.3.0",
- "karma-phantomjs-launcher": "^1.0.4",
- "karma-sinon-chai": "^2.0.2",
- "karma-sourcemap-loader": "^0.3.7",
- "karma-spec-reporter": "^0.0.31",
- "karma-webpack": "^2.0.3",
"lerna": "^3.20.2",
"markdown-it-include": "^1.0.0",
"mocha": "^5.2.0",
@@ -67,8 +52,6 @@
"rollup-plugin-json": "4",
"rollup-plugin-node-resolve": "5",
"semver": "^6.3.0",
- "sinon": "^7.2.3",
- "sinon-chai": "^3.3.0",
"typescript": "3",
"vee-validate": "^2.1.3",
"vue": "^2.6.11",
diff --git a/yarn.lock b/yarn.lock
index d08458a07..c7ef7dd49 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2901,13 +2901,6 @@
"@shellscape/koa-send" "^4.1.0"
debug "^2.6.8"
-"@sinonjs/commons@^1.0.2", "@sinonjs/commons@^1.3.0":
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.3.0.tgz#50a2754016b6f30a994ceda6d9a0a8c36adda849"
- integrity sha512-j4ZwhaHmwsCb4DlDOIWnI5YyKDNMoNThsmwEpfHx6a1EpsGZ9qYLxP++LMlmBRjtGptGHFsGItJ768snllFWpA==
- dependencies:
- type-detect "4.0.8"
-
"@sinonjs/commons@^1.7.0":
version "1.8.0"
resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.0.tgz#c8d68821a854c555bba172f3b06959a0039b236d"
@@ -2922,22 +2915,6 @@
dependencies:
"@sinonjs/commons" "^1.7.0"
-"@sinonjs/formatio@^3.1.0":
- version "3.1.0"
- resolved "https://registry.yarnpkg.com/@sinonjs/formatio/-/formatio-3.1.0.tgz#6ac9d1eb1821984d84c4996726e45d1646d8cce5"
- integrity sha512-ZAR2bPHOl4Xg6eklUGpsdiIJ4+J1SNag1DHHrG/73Uz/nVwXqjgUtRPLoS+aVyieN9cSbc0E4LsU984tWcDyNg==
- dependencies:
- "@sinonjs/samsam" "^2 || ^3"
-
-"@sinonjs/samsam@^2 || ^3", "@sinonjs/samsam@^3.0.2":
- version "3.0.2"
- resolved "https://registry.yarnpkg.com/@sinonjs/samsam/-/samsam-3.0.2.tgz#304fb33bd5585a0b2df8a4c801fcb47fa84d8e43"
- integrity sha512-m08g4CS3J6lwRQk1pj1EO+KEVWbrbXsmi9Pw0ySmrIbcVxVaedoFgLvFsV8wHLwh01EpROVz3KvVcD1Jmks9FQ==
- dependencies:
- "@sinonjs/commons" "^1.0.2"
- array-from "^2.1.1"
- lodash.get "^4.4.2"
-
"@types/babel__core@^7.1.7":
version "7.1.8"
resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.8.tgz#057f725aca3641f49fc11c7a87a9de5ec588a5d7"
@@ -3322,14 +3299,6 @@ accepts@^1.2.2:
mime-types "~2.1.18"
negotiator "0.6.1"
-accepts@~1.3.4:
- version "1.3.7"
- resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd"
- integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==
- dependencies:
- mime-types "~2.1.24"
- negotiator "0.6.2"
-
acorn-dynamic-import@^2.0.0:
version "2.0.2"
resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz#c752bd210bef679501b6c6cb7fc84f8f47158cc4"
@@ -3408,10 +3377,6 @@ acorn@^7.1.1:
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.3.1.tgz#85010754db53c3fbaf3b9ea3e083aa5c5d147ffd"
integrity sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA==
-after@0.8.2:
- version "0.8.2"
- resolved "https://registry.yarnpkg.com/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f"
-
agent-base@4, agent-base@^4.3.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee"
@@ -3454,7 +3419,7 @@ ajv-keywords@^3.0.0, ajv-keywords@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.1.0.tgz#ac2b27939c543e95d2c06e7f7f5c27be4aa543be"
-ajv@^5.1.0, ajv@^5.2.3, ajv@^5.3.0:
+ajv@^5.2.3, ajv@^5.3.0:
version "5.5.2"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965"
dependencies:
@@ -3673,19 +3638,10 @@ array-find-index@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1"
-array-from@^2.1.1:
- version "2.1.1"
- resolved "https://registry.yarnpkg.com/array-from/-/array-from-2.1.1.tgz#cfe9d8c26628b9dc5aecc62a9f5d8f1f352c1195"
- integrity sha1-z+nYwmYoudxa7MYqn12PHzUsEZU=
-
array-ify@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece"
-array-slice@^0.2.3:
- version "0.2.3"
- resolved "https://registry.yarnpkg.com/array-slice/-/array-slice-0.2.3.tgz#dd3cfb80ed7973a75117cdac69b0b99ec86186f5"
-
array-union@^1.0.1, array-union@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39"
@@ -3712,11 +3668,6 @@ array-unique@^0.3.2:
version "0.3.2"
resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428"
-arraybuffer.slice@~0.0.7:
- version "0.0.7"
- resolved "https://registry.yarnpkg.com/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz#3bbc4275dd584cc1b10809b89d4e8b63a69e7675"
- integrity sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog==
-
arrify@^1.0.0, arrify@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
@@ -3752,10 +3703,6 @@ assert@^1.1.1:
dependencies:
util "0.10.3"
-assertion-error@^1.0.1:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b"
-
assign-symbols@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367"
@@ -3779,10 +3726,6 @@ async@^2.1.2:
dependencies:
lodash "^4.14.0"
-async@~0.9.0:
- version "0.9.2"
- resolved "https://registry.yarnpkg.com/async/-/async-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d"
-
asynckit@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
@@ -3834,10 +3777,6 @@ aws-sign2@~0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8"
-aws4@^1.6.0:
- version "1.6.0"
- resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e"
-
aws4@^1.8.0:
version "1.8.0"
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f"
@@ -4010,10 +3949,6 @@ babylon@^6.8.4:
version "6.18.0"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3"
-backo2@1.0.2:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/backo2/-/backo2-1.0.2.tgz#31ab1ac8b129363463e35b3ebb69f4dfcfba7947"
-
bail@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/bail/-/bail-1.0.2.tgz#f7d6c1731630a9f9f0d4d35ed1f962e2074a1764"
@@ -4027,18 +3962,10 @@ balanced-match@^1.0.0:
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
-base64-arraybuffer@0.1.5:
- version "0.1.5"
- resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz#73926771923b5a19747ad666aa5cd4bf9c6e9ce8"
-
base64-js@^1.0.2:
version "1.2.3"
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.3.tgz#fb13668233d9614cf5fb4bce95a9ba4096cdf801"
-base64id@1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/base64id/-/base64id-1.0.0.tgz#47688cb99bb6804f0e06d3e763b1c32e57d8e6b6"
-
base@^0.11.1:
version "0.11.2"
resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f"
@@ -4063,12 +3990,6 @@ before-after-hook@^2.0.0:
resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.1.0.tgz#b6c03487f44e24200dd30ca5e6a1979c5d2fb635"
integrity sha512-IWIbu7pMqyw3EAJHzzHbWa85b6oud/yfKYg5rqB5hNE8CeMi3nX+2C2sj0HswfblST86hpVEOAb9x34NZd6P7A==
-better-assert@~1.0.0:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/better-assert/-/better-assert-1.0.2.tgz#40866b9e1b9e0b55b481894311e68faffaebc522"
- dependencies:
- callsite "1.0.0"
-
big.js@^3.1.3:
version "3.2.0"
resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.2.0.tgz#a5fc298b81b9e0dca2e458824784b65c52ba588e"
@@ -4091,12 +4012,7 @@ bindings@^1.5.0:
dependencies:
file-uri-to-path "1.0.0"
-blob@0.0.5:
- version "0.0.5"
- resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.5.tgz#d680eeef25f8cd91ad533f5b01eed48e64caf683"
- integrity sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig==
-
-bluebird@^3.1.1, bluebird@^3.3.0, bluebird@^3.5.1:
+bluebird@^3.1.1, bluebird@^3.5.1:
version "3.5.1"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9"
@@ -4109,37 +4025,10 @@ bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0:
version "4.11.8"
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f"
-body-parser@^1.16.1:
- version "1.18.2"
- resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.2.tgz#87678a19d84b47d859b83199bd59bce222b10454"
- dependencies:
- bytes "3.0.0"
- content-type "~1.0.4"
- debug "2.6.9"
- depd "~1.1.1"
- http-errors "~1.6.2"
- iconv-lite "0.4.19"
- on-finished "~2.3.0"
- qs "6.5.1"
- raw-body "2.3.2"
- type-is "~1.6.15"
-
boolbase@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
-boom@4.x.x:
- version "4.3.1"
- resolved "https://registry.yarnpkg.com/boom/-/boom-4.3.1.tgz#4f8a3005cb4a7e3889f749030fd25b96e01d2e31"
- dependencies:
- hoek "4.x.x"
-
-boom@5.x.x:
- version "5.2.0"
- resolved "https://registry.yarnpkg.com/boom/-/boom-5.2.0.tgz#5dd9da6ee3a5f302077436290cb717d3f4a54e02"
- dependencies:
- hoek "4.x.x"
-
boxen@^1.2.1:
version "1.3.0"
resolved "https://registry.yarnpkg.com/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b"
@@ -4160,12 +4049,6 @@ brace-expansion@^1.1.7:
balanced-match "^1.0.0"
concat-map "0.0.1"
-braces@^0.1.2:
- version "0.1.5"
- resolved "https://registry.yarnpkg.com/braces/-/braces-0.1.5.tgz#c085711085291d8b75fdd74eab0f8597280711e6"
- dependencies:
- expand-range "^0.1.0"
-
braces@^1.8.2:
version "1.8.5"
resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7"
@@ -4376,10 +4259,6 @@ byte-size@^5.0.1:
resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-5.0.1.tgz#4b651039a5ecd96767e71a3d7ed380e48bed4191"
integrity sha512-/XuKeqWocKsYa/cBY1YbSJSWWqTi4cFgr9S6OyM7PBaPbr9zvNGwWP33vt0uqGhwDdN+y3yhbXVILEUpnwEWGw==
-bytes@3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048"
-
cacache@^10.0.4:
version "10.0.4"
resolved "https://registry.yarnpkg.com/cacache/-/cacache-10.0.4.tgz#6452367999eff9d4188aefd9a14e9d7c6a263460"
@@ -4471,10 +4350,6 @@ caller-path@^2.0.0:
dependencies:
caller-callsite "^2.0.0"
-callsite@1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/callsite/-/callsite-1.0.0.tgz#280398e5d664bd74038b6f0905153e6e8af1bc20"
-
callsites@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/callsites/-/callsites-0.2.0.tgz#afab96262910a7f33c19a5775825c69f34e350ca"
@@ -4587,17 +4462,6 @@ center-align@^0.1.1:
align-text "^0.1.3"
lazy-cache "^1.0.3"
-chai@^4.0.0:
- version "4.1.2"
- resolved "https://registry.yarnpkg.com/chai/-/chai-4.1.2.tgz#0f64584ba642f0f2ace2806279f4f06ca23ad73c"
- dependencies:
- assertion-error "^1.0.1"
- check-error "^1.0.1"
- deep-eql "^3.0.0"
- get-func-name "^2.0.0"
- pathval "^1.0.0"
- type-detect "^4.0.0"
-
chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1, chalk@^2.3.2, chalk@^2.4.1, chalk@^2.4.2:
version "2.4.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
@@ -4652,10 +4516,6 @@ chardet@^0.7.0:
resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==
-check-error@^1.0.1:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82"
-
cheerio@^1.0.0-rc.2:
version "1.0.0-rc.2"
resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.2.tgz#4b9f53a81b27e4d5dac31c0ffd0cfa03cc6830db"
@@ -4733,11 +4593,6 @@ circular-json@^0.3.1:
version "0.3.3"
resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66"
-circular-json@^0.5.5:
- version "0.5.9"
- resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.5.9.tgz#932763ae88f4f7dead7a0d09c8a51a4743a53b1d"
- integrity sha512-4ivwqHpIFJZBuhN3g/pEcdbnGUywkBblloGbkglyloVjjR3uT6tieI89MVOfbP2tHX5sgb01FuLgAOzebNlJNQ==
-
clap@^1.0.9:
version "1.2.3"
resolved "https://registry.yarnpkg.com/clap/-/clap-1.2.3.tgz#4f36745b32008492557f46412d66d50cb99bce51"
@@ -4925,7 +4780,7 @@ colormin@^1.0.5:
css-color-names "0.0.4"
has "^1.0.1"
-colors@^1.1.0, colors@^1.1.2, colors@~1.1.2:
+colors@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63"
@@ -4936,25 +4791,12 @@ columnify@^1.5.4:
strip-ansi "^3.0.0"
wcwidth "^1.0.0"
-combine-lists@^1.0.0:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/combine-lists/-/combine-lists-1.0.1.tgz#458c07e09e0d900fc28b70a3fec2dacd1d2cb7f6"
- dependencies:
- lodash "^4.5.0"
-
combined-stream@1.0.6:
version "1.0.6"
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.6.tgz#723e7df6e801ac5613113a7e445a9b69cb632818"
dependencies:
delayed-stream "~1.0.0"
-combined-stream@~1.0.5:
- version "1.0.8"
- resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
- integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
- dependencies:
- delayed-stream "~1.0.0"
-
combined-stream@~1.0.6:
version "1.0.7"
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.7.tgz#2d1d24317afb8abe95d6d2c0b07b57813539d828"
@@ -5017,24 +4859,16 @@ compare-func@^1.3.1:
array-ify "^1.0.0"
dot-prop "^3.0.0"
-component-bind@1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/component-bind/-/component-bind-1.0.0.tgz#00c608ab7dcd93897c0009651b1d3a8e1e73bbd1"
-
-component-emitter@1.2.1, component-emitter@^1.2.1:
+component-emitter@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6"
-component-inherit@0.0.3:
- version "0.0.3"
- resolved "https://registry.yarnpkg.com/component-inherit/-/component-inherit-0.0.3.tgz#645fc4adf58b72b649d5cae65135619db26ff143"
-
concat-map@0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
-concat-stream@1.6.0, concat-stream@^1.5.0, concat-stream@^1.6.0:
+concat-stream@^1.5.0, concat-stream@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7"
dependencies:
@@ -5088,15 +4922,6 @@ connect-history-api-fallback@^1.5.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz#b06873934bc5e344fef611a196a6faae0aee015a"
-connect@^3.6.0:
- version "3.6.6"
- resolved "https://registry.yarnpkg.com/connect/-/connect-3.6.6.tgz#09eff6c55af7236e137135a72574858b6786f524"
- dependencies:
- debug "2.6.9"
- finalhandler "1.1.0"
- parseurl "~1.3.2"
- utils-merge "1.0.1"
-
consola@^1.2.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/consola/-/consola-1.3.0.tgz#b5effe41c4ecdce971d79268d72b8f9bde0a8c7a"
@@ -5137,7 +4962,7 @@ content-disposition@~0.5.0:
version "0.5.2"
resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4"
-content-type@^1.0.0, content-type@~1.0.4:
+content-type@^1.0.0:
version "1.0.4"
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
@@ -5384,10 +5209,6 @@ convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0:
dependencies:
safe-buffer "~5.1.1"
-cookie@0.3.1:
- version "0.3.1"
- resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"
-
cookies@~0.7.0:
version "0.7.1"
resolved "https://registry.yarnpkg.com/cookies/-/cookies-0.7.1.tgz#7c8a615f5481c61ab9f16c833731bcb8f663b99b"
@@ -5431,15 +5252,15 @@ core-js-compat@^3.6.2:
browserslist "^4.8.5"
semver "7.0.0"
-core-js@^2.2.0, core-js@^2.5.0:
- version "2.5.3"
- resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e"
-
core-js@^2.4.0:
version "2.6.11"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==
+core-js@^2.5.0:
+ version "2.5.3"
+ resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e"
+
core-js@^2.5.3:
version "2.5.6"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.6.tgz#0fe6d45bf3cac3ac364a9d72de7576f4eb221b9d"
@@ -5546,12 +5367,6 @@ cross-spawn@^7.0.0:
shebang-command "^2.0.0"
which "^2.0.1"
-cryptiles@3.x.x:
- version "3.1.2"
- resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-3.1.2.tgz#a89fbb220f5ce25ec56e8c4aa8a4fd7b5b0d29fe"
- dependencies:
- boom "5.x.x"
-
crypto-browserify@^3.11.0:
version "3.12.0"
resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec"
@@ -5735,10 +5550,6 @@ currently-unhandled@^0.4.1:
dependencies:
array-find-index "^1.0.1"
-custom-event@~1.0.0:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/custom-event/-/custom-event-1.0.1.tgz#5d02a46850adf1b4a317946a3928fccb5bfd0425"
-
cyclist@~0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640"
@@ -5813,11 +5624,6 @@ date-fns@^1.27.2:
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c"
integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==
-date-format@^1.2.0:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/date-format/-/date-format-1.2.0.tgz#615e828e233dd1ab9bb9ae0950e0ceccfa6ecad8"
- integrity sha1-YV6CjiM90aubua4JUODOzPpuytg=
-
date-now@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
@@ -5830,13 +5636,13 @@ de-indent@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d"
-debug@*, debug@3.1.0, debug@^3.0.1, debug@^3.1.0, debug@~3.1.0:
+debug@*, debug@3.1.0, debug@^3.0.1, debug@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
dependencies:
ms "2.0.0"
-debug@2.6.9, debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.1, debug@^2.6.3, debug@^2.6.8:
+debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.1, debug@^2.6.3, debug@^2.6.8:
version "2.6.9"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
dependencies:
@@ -5878,12 +5684,6 @@ dedent@0.7.0, dedent@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c"
-deep-eql@^3.0.0:
- version "3.0.1"
- resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-3.0.1.tgz#dfc9404400ad1c8fe023e7da1df1c147c4b444df"
- dependencies:
- type-detect "^4.0.0"
-
deep-equal@~1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5"
@@ -6056,10 +5856,6 @@ dezalgo@^1.0.0:
asap "^2.0.0"
wrappy "1"
-di@^0.0.1:
- version "0.0.1"
- resolved "https://registry.yarnpkg.com/di/-/di-0.0.1.tgz#806649326ceaa7caa3306d75d985ea2748ba913c"
-
diacritics@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/diacritics/-/diacritics-1.3.0.tgz#3efa87323ebb863e6696cebb0082d48ff3d6f7a1"
@@ -6069,7 +5865,7 @@ diff-sequences@^26.0.0:
resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.0.0.tgz#0760059a5c287637b842bd7085311db7060e88a6"
integrity sha512-JC/eHYEC3aSS0vZGjuoc4vHA0yAQTzhQQldXMeMF+JlxLGJlCO38Gma82NV9gk1jGFz8mDzUMeaKXvjRRdJ2dg==
-diff@3.5.0, diff@^3.5.0:
+diff@3.5.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==
@@ -6128,15 +5924,6 @@ dom-event-types@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/dom-event-types/-/dom-event-types-1.0.0.tgz#5830a0a29e1bf837fe50a70cd80a597232813cae"
-dom-serialize@^2.2.0:
- version "2.2.1"
- resolved "https://registry.yarnpkg.com/dom-serialize/-/dom-serialize-2.2.1.tgz#562ae8999f44be5ea3076f5419dcd59eb43ac95b"
- dependencies:
- custom-event "~1.0.0"
- ent "~2.2.0"
- extend "^3.0.0"
- void-elements "^2.0.0"
-
dom-serializer@0, dom-serializer@~0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780ce23be4a28e293e40bc30c82"
@@ -6301,10 +6088,6 @@ emojis-list@^2.0.0:
resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389"
integrity sha1-TapNnbAPmBmIDHn6RXrlsJof04k=
-encodeurl@~1.0.1:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
-
encoding@^0.1.11:
version "0.1.12"
resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb"
@@ -6318,46 +6101,6 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0:
dependencies:
once "^1.4.0"
-engine.io-client@~3.2.0:
- version "3.2.1"
- resolved "https://registry.yarnpkg.com/engine.io-client/-/engine.io-client-3.2.1.tgz#6f54c0475de487158a1a7c77d10178708b6add36"
- integrity sha512-y5AbkytWeM4jQr7m/koQLc5AxpRKC1hEVUb/s1FUAWEJq5AzJJ4NLvzuKPuxtDi5Mq755WuDvZ6Iv2rXj4PTzw==
- dependencies:
- component-emitter "1.2.1"
- component-inherit "0.0.3"
- debug "~3.1.0"
- engine.io-parser "~2.1.1"
- has-cors "1.1.0"
- indexof "0.0.1"
- parseqs "0.0.5"
- parseuri "0.0.5"
- ws "~3.3.1"
- xmlhttprequest-ssl "~1.5.4"
- yeast "0.1.2"
-
-engine.io-parser@~2.1.0, engine.io-parser@~2.1.1:
- version "2.1.3"
- resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-2.1.3.tgz#757ab970fbf2dfb32c7b74b033216d5739ef79a6"
- integrity sha512-6HXPre2O4Houl7c4g7Ic/XzPnHBvaEmN90vtRO9uLmwtRqQmTOw0QMevL1TOfL2Cpu1VzsaTmMotQgMdkzGkVA==
- dependencies:
- after "0.8.2"
- arraybuffer.slice "~0.0.7"
- base64-arraybuffer "0.1.5"
- blob "0.0.5"
- has-binary2 "~1.0.2"
-
-engine.io@~3.2.0:
- version "3.2.1"
- resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-3.2.1.tgz#b60281c35484a70ee0351ea0ebff83ec8c9522a2"
- integrity sha512-+VlKzHzMhaU+GsCIg4AoXF1UdDFjHHwMmMKqMJNDNLlUlejz58FCy4LBqB2YVJskHGYl06BatYWKP2TVdVXE5w==
- dependencies:
- accepts "~1.3.4"
- base64id "1.0.0"
- cookie "0.3.1"
- debug "~3.1.0"
- engine.io-parser "~2.1.0"
- ws "~3.3.1"
-
enhanced-resolve@^3.4.0:
version "3.4.1"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz#0421e339fd71419b3da13d129b3979040230476e"
@@ -6375,10 +6118,6 @@ enhanced-resolve@^4.0.0:
memory-fs "^0.4.0"
tapable "^1.0.0"
-ent@~2.2.0:
- version "2.2.0"
- resolved "https://registry.yarnpkg.com/ent/-/ent-2.2.0.tgz#e964219325a21d05f44466a2f686ed6ce5f5dd1d"
-
entities@^1.1.1, entities@~1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0"
@@ -6510,7 +6249,7 @@ es6-weak-map@^2.0.1:
es6-iterator "^2.0.1"
es6-symbol "^3.1.1"
-escape-html@^1.0.3, escape-html@~1.0.1, escape-html@~1.0.3:
+escape-html@^1.0.3, escape-html@~1.0.1:
version "1.0.3"
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
@@ -6697,10 +6436,6 @@ event-emitter@~0.3.5:
d "1"
es5-ext "~0.10.14"
-eventemitter3@1.x.x:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-1.2.0.tgz#1c86991d816ad1e504750e73874224ecf3bec508"
-
eventemitter3@^3.1.0:
version "3.1.2"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
@@ -6794,14 +6529,6 @@ exit@^0.1.2:
resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c"
integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=
-expand-braces@^0.1.1:
- version "0.1.2"
- resolved "https://registry.yarnpkg.com/expand-braces/-/expand-braces-0.1.2.tgz#488b1d1d2451cb3d3a6b192cfc030f44c5855fea"
- dependencies:
- array-slice "^0.2.3"
- array-unique "^0.2.1"
- braces "^0.1.2"
-
expand-brackets@^0.1.4:
version "0.1.5"
resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b"
@@ -6821,13 +6548,6 @@ expand-brackets@^2.1.4:
snapdragon "^0.8.1"
to-regex "^3.0.1"
-expand-range@^0.1.0:
- version "0.1.1"
- resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-0.1.1.tgz#4cb8eda0993ca56fa4f41fc42f3cbb4ccadff044"
- dependencies:
- is-number "^0.1.1"
- repeat-string "^0.2.2"
-
expand-range@^1.8.1:
version "1.8.2"
resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337"
@@ -6867,7 +6587,7 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2:
assign-symbols "^1.0.0"
is-extendable "^1.0.1"
-extend@^3.0.0, extend@~3.0.1:
+extend@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444"
@@ -6919,15 +6639,6 @@ extract-from-css@^0.4.4:
dependencies:
css "^2.1.0"
-extract-zip@^1.6.5:
- version "1.6.6"
- resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.6.6.tgz#1290ede8d20d0872b429fd3f351ca128ec5ef85c"
- dependencies:
- concat-stream "1.6.0"
- debug "2.6.9"
- mkdirp "0.5.0"
- yauzl "2.4.1"
-
extsprintf@1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05"
@@ -7012,12 +6723,6 @@ fb-watchman@^2.0.0:
dependencies:
bser "2.1.1"
-fd-slicer@~1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.0.1.tgz#8b5bcbd9ec327c5041bf9ab023fd6750f1177e65"
- dependencies:
- pend "~1.2.0"
-
figgy-pudding@^3.4.1, figgy-pudding@^3.5.1:
version "3.5.1"
resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790"
@@ -7088,18 +6793,6 @@ fill-range@^7.0.1:
dependencies:
to-regex-range "^5.0.1"
-finalhandler@1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.0.tgz#ce0b6855b45853e791b2fcc680046d88253dd7f5"
- dependencies:
- debug "2.6.9"
- encodeurl "~1.0.1"
- escape-html "~1.0.3"
- on-finished "~2.3.0"
- parseurl "~1.3.2"
- statuses "~1.3.1"
- unpipe "~1.0.0"
-
find-cache-dir@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-1.0.0.tgz#9288e3e9e3cc3748717d39eade17cf71fc30ee6f"
@@ -7169,11 +6862,6 @@ flat-cache@^1.2.1:
graceful-fs "^4.1.2"
write "^0.2.1"
-flatted@^2.0.0:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08"
- integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==
-
flatten@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"
@@ -7218,7 +6906,7 @@ forever-agent@~0.6.1:
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=
-form-data@~2.3.1, form-data@~2.3.2:
+form-data@~2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.2.tgz#4970498be604c20c005d4f5c23aecd21d6b49099"
dependencies:
@@ -7252,14 +6940,6 @@ fs-extra@8.1.0, fs-extra@^8.1.0:
jsonfile "^4.0.0"
universalify "^0.1.0"
-fs-extra@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-1.0.0.tgz#cd3ce5f7e7cb6145883fcae3191e9877f8587950"
- dependencies:
- graceful-fs "^4.1.2"
- jsonfile "^2.1.0"
- klaw "^1.0.0"
-
fs-extra@^4.0.2:
version "4.0.3"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94"
@@ -7358,10 +7038,6 @@ get-caller-file@^2.0.1:
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==
-get-func-name@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41"
-
get-own-enumerable-property-symbols@^3.0.0:
version "3.0.2"
resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664"
@@ -7706,7 +7382,7 @@ got@^6.7.1:
unzip-response "^2.0.1"
url-parse-lax "^1.0.0"
-graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0, graceful-fs@^4.2.2:
+graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2:
version "4.2.3"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423"
integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==
@@ -7750,13 +7426,6 @@ har-schema@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"
-har-validator@~5.0.3:
- version "5.0.3"
- resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.0.3.tgz#ba402c266194f15956ef15e0fcf242993f6a7dfd"
- dependencies:
- ajv "^5.1.0"
- har-schema "^2.0.0"
-
har-validator@~5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.0.tgz#44657f5688a22cfd4b72486e81b3a3fb11742c29"
@@ -7784,17 +7453,6 @@ has-ansi@^2.0.0:
dependencies:
ansi-regex "^2.0.0"
-has-binary2@~1.0.2:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/has-binary2/-/has-binary2-1.0.3.tgz#7776ac627f3ea77250cfc332dab7ddf5e4f5d11d"
- integrity sha512-G1LWKhDSvhGeAQ8mPVQlqNcOB2sJdwATtZKl2pDKKHfpf/rYj24lkinxf69blJbnsvtqqNU+L3SL50vzZhXOnw==
- dependencies:
- isarray "2.0.1"
-
-has-cors@1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/has-cors/-/has-cors-1.1.0.tgz#5e474793f7ea9843d1bb99c23eef49ff126fff39"
-
has-flag@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
@@ -7878,22 +7536,6 @@ hash.js@^1.0.0, hash.js@^1.0.3:
inherits "^2.0.3"
minimalistic-assert "^1.0.0"
-hasha@^2.2.0:
- version "2.2.0"
- resolved "https://registry.yarnpkg.com/hasha/-/hasha-2.2.0.tgz#78d7cbfc1e6d66303fe79837365984517b2f6ee1"
- dependencies:
- is-stream "^1.0.1"
- pinkie-promise "^2.0.0"
-
-hawk@~6.0.2:
- version "6.0.2"
- resolved "https://registry.yarnpkg.com/hawk/-/hawk-6.0.2.tgz#af4d914eb065f9b5ce4d9d11c1cb2126eecc3038"
- dependencies:
- boom "4.x.x"
- cryptiles "3.x.x"
- hoek "4.x.x"
- sntp "2.x.x"
-
he@1.1.1, he@1.1.x, he@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
@@ -7995,15 +7637,6 @@ http-cache-semantics@^3.8.1:
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2"
integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w==
-http-errors@1.6.2, http-errors@~1.6.2:
- version "1.6.2"
- resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736"
- dependencies:
- depd "1.1.1"
- inherits "2.0.3"
- setprototypeof "1.0.3"
- statuses ">= 1.3.1 < 2"
-
http-errors@^1.2.8, http-errors@^1.6.1, http-errors@~1.6.1:
version "1.6.3"
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d"
@@ -8013,6 +7646,15 @@ http-errors@^1.2.8, http-errors@^1.6.1, http-errors@~1.6.1:
setprototypeof "1.1.0"
statuses ">= 1.4.0 < 2"
+http-errors@~1.6.2:
+ version "1.6.2"
+ resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736"
+ dependencies:
+ depd "1.1.1"
+ inherits "2.0.3"
+ setprototypeof "1.0.3"
+ statuses ">= 1.3.1 < 2"
+
http-proxy-agent@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405"
@@ -8021,13 +7663,6 @@ http-proxy-agent@^2.1.0:
agent-base "4"
debug "3.1.0"
-http-proxy@^1.13.0:
- version "1.16.2"
- resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.16.2.tgz#06dff292952bf64dbe8471fa9df73066d4f37742"
- dependencies:
- eventemitter3 "1.x.x"
- requires-port "1.x.x"
-
http-signature@~1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1"
@@ -8572,10 +8207,6 @@ is-npm@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4"
-is-number@^0.1.1:
- version "0.1.1"
- resolved "https://registry.yarnpkg.com/is-number/-/is-number-0.1.1.tgz#69a7af116963d47206ec9bd9b48a14216f1e3806"
-
is-number@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f"
@@ -8734,7 +8365,7 @@ is-ssh@^1.3.0:
dependencies:
protocols "^1.1.0"
-is-stream@^1.0.0, is-stream@^1.0.1, is-stream@^1.1.0:
+is-stream@^1.0.0, is-stream@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
@@ -8813,19 +8444,10 @@ isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0:
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=
-isarray@2.0.1:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.1.tgz#a37d94ed9cda2d59865c9f76fe596ee1f338741e"
- integrity sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4=
-
isarray@^2.0.1:
version "2.0.4"
resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.4.tgz#38e7bcbb0f3ba1b7933c86ba1894ddfc3781bbb7"
-isbinaryfile@^3.0.0:
- version "3.0.2"
- resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-3.0.2.tgz#4a3e974ec0cba9004d3fc6cde7209ea69368a621"
-
isemail@3.x.x:
version "3.1.2"
resolved "https://registry.yarnpkg.com/isemail/-/isemail-3.1.2.tgz#937cf919002077999a73ea8b1951d590e84e01dd"
@@ -9449,12 +9071,6 @@ json5@^1.0.1:
dependencies:
minimist "^1.2.0"
-jsonfile@^2.1.0:
- version "2.4.0"
- resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8"
- optionalDependencies:
- graceful-fs "^4.1.6"
-
jsonfile@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"
@@ -9475,89 +9091,6 @@ jsprim@^1.2.2:
json-schema "0.2.3"
verror "1.10.0"
-just-extend@^4.0.2:
- version "4.0.2"
- resolved "https://registry.yarnpkg.com/just-extend/-/just-extend-4.0.2.tgz#f3f47f7dfca0f989c55410a7ebc8854b07108afc"
- integrity sha512-FrLwOgm+iXrPV+5zDU6Jqu4gCRXbWEQg2O3SKONsWE4w7AXFRkryS53bpWdaL9cNol+AmR3AEYz6kn+o0fCPnw==
-
-karma-mocha@^1.3.0:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/karma-mocha/-/karma-mocha-1.3.0.tgz#eeaac7ffc0e201eb63c467440d2b69c7cf3778bf"
- dependencies:
- minimist "1.2.0"
-
-karma-phantomjs-launcher@^1.0.4:
- version "1.0.4"
- resolved "https://registry.yarnpkg.com/karma-phantomjs-launcher/-/karma-phantomjs-launcher-1.0.4.tgz#d23ca34801bda9863ad318e3bb4bd4062b13acd2"
- dependencies:
- lodash "^4.0.1"
- phantomjs-prebuilt "^2.1.7"
-
-karma-sinon-chai@^2.0.2:
- version "2.0.2"
- resolved "https://registry.yarnpkg.com/karma-sinon-chai/-/karma-sinon-chai-2.0.2.tgz#e28c109b989973abafc28a7c9f09ef24a05e07c2"
- integrity sha512-SDgh6V0CUd+7ruL1d3yG6lFzmJNGRNQuEuCYXLaorruNP9nwQfA7hpsp4clx4CbOo5Gsajh3qUOT7CrVStUKMw==
-
-karma-sourcemap-loader@^0.3.7:
- version "0.3.7"
- resolved "https://registry.yarnpkg.com/karma-sourcemap-loader/-/karma-sourcemap-loader-0.3.7.tgz#91322c77f8f13d46fed062b042e1009d4c4505d8"
- dependencies:
- graceful-fs "^4.1.2"
-
-karma-spec-reporter@^0.0.31:
- version "0.0.31"
- resolved "https://registry.yarnpkg.com/karma-spec-reporter/-/karma-spec-reporter-0.0.31.tgz#4830dc7148a155c7d7a186e632339a0d80fadec3"
- dependencies:
- colors "^1.1.2"
-
-karma-webpack@^2.0.3:
- version "2.0.9"
- resolved "https://registry.yarnpkg.com/karma-webpack/-/karma-webpack-2.0.9.tgz#61c88091f7dd910635134c032b266a465affb57f"
- dependencies:
- async "~0.9.0"
- loader-utils "^0.2.5"
- lodash "^3.8.0"
- source-map "^0.5.6"
- webpack-dev-middleware "^1.12.0"
-
-karma@^3.1.4:
- version "3.1.4"
- resolved "https://registry.yarnpkg.com/karma/-/karma-3.1.4.tgz#3890ca9722b10d1d14b726e1335931455788499e"
- integrity sha512-31Vo8Qr5glN+dZEVIpnPCxEGleqE0EY6CtC2X9TagRV3rRQ3SNrvfhddICkJgUK3AgqpeKSZau03QumTGhGoSw==
- dependencies:
- bluebird "^3.3.0"
- body-parser "^1.16.1"
- chokidar "^2.0.3"
- colors "^1.1.0"
- combine-lists "^1.0.0"
- connect "^3.6.0"
- core-js "^2.2.0"
- di "^0.0.1"
- dom-serialize "^2.2.0"
- expand-braces "^0.1.1"
- flatted "^2.0.0"
- glob "^7.1.1"
- graceful-fs "^4.1.2"
- http-proxy "^1.13.0"
- isbinaryfile "^3.0.0"
- lodash "^4.17.5"
- log4js "^3.0.0"
- mime "^2.3.1"
- minimatch "^3.0.2"
- optimist "^0.6.1"
- qjobs "^1.1.4"
- range-parser "^1.2.0"
- rimraf "^2.6.0"
- safe-buffer "^5.0.1"
- socket.io "2.1.1"
- source-map "^0.6.1"
- tmp "0.0.33"
- useragent "2.3.0"
-
-kew@^0.7.0:
- version "0.7.0"
- resolved "https://registry.yarnpkg.com/kew/-/kew-0.7.0.tgz#79d93d2d33363d6fdd2970b335d9141ad591d79b"
-
keygrip@~1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/keygrip/-/keygrip-1.0.2.tgz#ad3297c557069dea8bcfe7a4fa491b75c5ddeb91"
@@ -9587,12 +9120,6 @@ kind-of@^6.0.0, kind-of@^6.0.2:
version "6.0.2"
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051"
-klaw@^1.0.0:
- version "1.3.1"
- resolved "https://registry.yarnpkg.com/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439"
- optionalDependencies:
- graceful-fs "^4.1.9"
-
kleur@^3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"
@@ -9885,7 +9412,7 @@ loader-runner@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2"
-loader-utils@^0.2.16, loader-utils@^0.2.5:
+loader-utils@^0.2.16:
version "0.2.17"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348"
dependencies:
@@ -10002,15 +9529,11 @@ lodash.uniq@^4.5.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
-lodash@4.17.15, lodash@^4.0.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.0:
+lodash@4.17.15, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0:
version "4.17.15"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
-lodash@^3.8.0:
- version "3.10.1"
- resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
-
log-symbols@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18"
@@ -10039,17 +9562,6 @@ log-update@^2.3.0:
cli-cursor "^2.0.0"
wrap-ansi "^3.0.1"
-log4js@^3.0.0:
- version "3.0.6"
- resolved "https://registry.yarnpkg.com/log4js/-/log4js-3.0.6.tgz#e6caced94967eeeb9ce399f9f8682a4b2b28c8ff"
- integrity sha512-ezXZk6oPJCWL483zj64pNkMuY/NcRX5MPiB0zE6tjZM137aeusrOnW1ecxgF9cmwMWkBMhjteQxBPoZBh9FDxQ==
- dependencies:
- circular-json "^0.5.5"
- date-format "^1.2.0"
- debug "^3.1.0"
- rfdc "^1.1.2"
- streamroller "0.7.0"
-
loglevelnext@^1.0.1, loglevelnext@^1.0.2:
version "1.0.5"
resolved "https://registry.yarnpkg.com/loglevelnext/-/loglevelnext-1.0.5.tgz#36fc4f5996d6640f539ff203ba819641680d75a2"
@@ -10057,16 +9569,6 @@ loglevelnext@^1.0.1, loglevelnext@^1.0.2:
es6-symbol "^3.1.1"
object.assign "^4.1.0"
-lolex@^2.3.2:
- version "2.7.5"
- resolved "https://registry.yarnpkg.com/lolex/-/lolex-2.7.5.tgz#113001d56bfc7e02d56e36291cc5c413d1aa0733"
- integrity sha512-l9x0+1offnKKIzYVjyXU2SiwhXDLekRzKyhnbyldPHvC7BvLPVpdNUNR2KeMAiCN2D/kLNttZgQD5WjSxuBx3Q==
-
-lolex@^3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/lolex/-/lolex-3.0.0.tgz#f04ee1a8aa13f60f1abd7b0e8f4213ec72ec193e"
- integrity sha512-hcnW80h3j2lbUfFdMArd5UPA/vxZJ+G8vobd+wg3nVEQA0EigStbYcrG030FJxL6xiDDPEkoMatV9xIh5OecQQ==
-
long@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/long/-/long-3.2.0.tgz#d821b7138ca1cb581c172990ef14db200b5c474b"
@@ -10101,7 +9603,7 @@ lowercase-keys@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.0.tgz#4e3366b39e7f5457e35f1324bdf6f88d0bfc7306"
-lru-cache@4.1.x, lru-cache@^4.0.1, lru-cache@^4.1.1:
+lru-cache@^4.0.1, lru-cache@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55"
dependencies:
@@ -10417,11 +9919,6 @@ miller-rabin@^4.0.0:
bn.js "^4.0.0"
brorand "^1.0.1"
-mime-db@1.40.0:
- version "1.40.0"
- resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32"
- integrity sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==
-
mime-db@1.43.0:
version "1.43.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58"
@@ -10436,7 +9933,7 @@ mime-db@~1.36.0:
version "1.36.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.36.0.tgz#5020478db3c7fe93aad7bbcc4dcf869c43363397"
-mime-types@^2.0.7, mime-types@~2.1.17, mime-types@~2.1.18:
+mime-types@^2.0.7, mime-types@~2.1.18:
version "2.1.18"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8"
dependencies:
@@ -10455,26 +9952,10 @@ mime-types@~2.1.19:
dependencies:
mime-db "~1.36.0"
-mime-types@~2.1.24:
- version "2.1.24"
- resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81"
- integrity sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==
- dependencies:
- mime-db "1.40.0"
-
-mime@^1.5.0:
- version "1.6.0"
- resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"
-
mime@^2.0.3, mime@^2.1.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/mime/-/mime-2.3.1.tgz#b1621c54d63b97c47d3cfe7f7215f7d64517c369"
-mime@^2.3.1:
- version "2.4.4"
- resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.4.tgz#bd7b91135fc6b01cde3e9bae33d659b63d8857e5"
- integrity sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA==
-
mimic-fn@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18"
@@ -10623,12 +10104,6 @@ mkdirp@0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.3.0.tgz#1bbf5ab1ba827af23575143490426455f481fe1e"
-mkdirp@0.5.0:
- version "0.5.0"
- resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.0.tgz#1d73076a6df986cd9344e15e71fcc05a4c9abf12"
- dependencies:
- minimist "0.0.8"
-
mkdirp@0.x:
version "0.5.5"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
@@ -10798,11 +10273,6 @@ negotiator@0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"
-negotiator@0.6.2:
- version "0.6.2"
- resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
- integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==
-
neo-async@^2.5.0:
version "2.5.1"
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.5.1.tgz#acb909e327b1e87ec9ef15f41b8a269512ad41ee"
@@ -10816,17 +10286,6 @@ nice-try@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.4.tgz#d93962f6c52f2c1558c0fbda6d512819f1efe1c4"
-nise@^1.4.8:
- version "1.4.8"
- resolved "https://registry.yarnpkg.com/nise/-/nise-1.4.8.tgz#ce91c31e86cf9b2c4cac49d7fcd7f56779bfd6b0"
- integrity sha512-kGASVhuL4tlAV0tvA34yJYZIVihrUt/5bDwpp4tTluigxUr2bBlJeDXmivb6NuEdFkqvdv/Ybb9dm16PSKUhtw==
- dependencies:
- "@sinonjs/formatio" "^3.1.0"
- just-extend "^4.0.2"
- lolex "^2.3.2"
- path-to-regexp "^1.7.0"
- text-encoding "^0.6.4"
-
no-case@^2.2.0:
version "2.3.2"
resolved "https://registry.yarnpkg.com/no-case/-/no-case-2.3.2.tgz#60b813396be39b3f1288a4c1ed5d1e7d28b464ac"
@@ -11116,10 +10575,6 @@ nwsapi@^2.2.0:
resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7"
integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==
-oauth-sign@~0.8.2:
- version "0.8.2"
- resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43"
-
oauth-sign@~0.9.0:
version "0.9.0"
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
@@ -11129,10 +10584,6 @@ object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
-object-component@0.0.3:
- version "0.0.3"
- resolved "https://registry.yarnpkg.com/object-component/-/object-component-0.0.3.tgz#f0c69aa50efc95b866c186f400a33769cb2f1291"
-
object-copy@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c"
@@ -11186,7 +10637,7 @@ octokit-pagination-methods@^1.1.0:
resolved "https://registry.yarnpkg.com/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4"
integrity sha512-fZ4qZdQ2nxJvtcasX7Ghl+WlWS/d9IgnBIwFZXVNNZUmzpno91SX5bc5vuxiuKoCtK78XxGGNuSCrDC7xYB3OQ==
-on-finished@^2.1.0, on-finished@~2.3.0:
+on-finished@^2.1.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
dependencies:
@@ -11531,19 +10982,7 @@ parse5@^3.0.1:
dependencies:
"@types/node" "*"
-parseqs@0.0.5:
- version "0.0.5"
- resolved "https://registry.yarnpkg.com/parseqs/-/parseqs-0.0.5.tgz#d5208a3738e46766e291ba2ea173684921a8b89d"
- dependencies:
- better-assert "~1.0.0"
-
-parseuri@0.0.5:
- version "0.0.5"
- resolved "https://registry.yarnpkg.com/parseuri/-/parseuri-0.0.5.tgz#80204a50d4dbb779bfdc6ebe2778d90e4bce320a"
- dependencies:
- better-assert "~1.0.0"
-
-parseurl@^1.3.0, parseurl@~1.3.2:
+parseurl@^1.3.0:
version "1.3.2"
resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3"
@@ -11601,12 +11040,6 @@ path-parse@^1.0.6:
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
-path-to-regexp@^1.7.0:
- version "1.7.0"
- resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-1.7.0.tgz#59fde0f435badacba103a84e9d3bc64e96b9937d"
- dependencies:
- isarray "0.0.1"
-
path-type@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441"
@@ -11633,10 +11066,6 @@ path-type@^4.0.0:
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
-pathval@^1.0.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.0.tgz#b942e6d4bde653005ef6b71361def8727d0645e0"
-
pbkdf2@^3.0.3:
version "3.0.14"
resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.14.tgz#a35e13c64799b06ce15320f459c230e68e73bade"
@@ -11647,28 +11076,10 @@ pbkdf2@^3.0.3:
safe-buffer "^5.0.1"
sha.js "^2.4.8"
-pend@~1.2.0:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50"
-
performance-now@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
-phantomjs-prebuilt@^2.1.7:
- version "2.1.16"
- resolved "https://registry.yarnpkg.com/phantomjs-prebuilt/-/phantomjs-prebuilt-2.1.16.tgz#efd212a4a3966d3647684ea8ba788549be2aefef"
- dependencies:
- es6-promise "^4.0.3"
- extract-zip "^1.6.5"
- fs-extra "^1.0.0"
- hasha "^2.2.0"
- kew "^0.7.0"
- progress "^1.1.8"
- request "^2.81.0"
- request-progress "^2.0.1"
- which "^1.2.10"
-
picomatch@^2.0.4:
version "2.2.2"
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
@@ -12173,11 +11584,6 @@ process@~0.5.1:
version "0.5.2"
resolved "https://registry.yarnpkg.com/process/-/process-0.5.2.tgz#1638d8a8e34c2f440a91db95ab9aeb677fc185cf"
-progress@^1.1.8:
- version "1.1.8"
- resolved "https://registry.yarnpkg.com/progress/-/progress-1.1.8.tgz#e260c78f6161cdd9b0e56cc3e0a85de17c7a57be"
- integrity sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=
-
progress@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f"
@@ -12299,14 +11705,6 @@ q@^1.1.2, q@^1.5.1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
-qjobs@^1.1.4:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/qjobs/-/qjobs-1.2.0.tgz#c45e9c61800bd087ef88d7e256423bdd49e5d071"
-
-qs@6.5.1, qs@~6.5.1:
- version "6.5.1"
- resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8"
-
qs@~6.5.2:
version "6.5.2"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
@@ -12352,19 +11750,10 @@ randomfill@^1.0.3:
randombytes "^2.0.5"
safe-buffer "^5.1.0"
-range-parser@^1.0.3, range-parser@^1.2.0:
+range-parser@^1.0.3:
version "1.2.0"
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e"
-raw-body@2.3.2:
- version "2.3.2"
- resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.2.tgz#bcd60c77d3eb93cde0050295c3f379389bc88f89"
- dependencies:
- bytes "3.0.0"
- http-errors "1.6.2"
- iconv-lite "0.4.19"
- unpipe "1.0.0"
-
rc@^1.0.1, rc@^1.1.6:
version "1.2.4"
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.4.tgz#a0f606caae2a3b862bbd0ef85482c0125b315fa3"
@@ -12544,19 +11933,6 @@ readable-stream@^2.1.5, readable-stream@^2.2.2:
string_decoder "~1.0.3"
util-deprecate "~1.0.1"
-readable-stream@^2.3.0:
- version "2.3.6"
- resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"
- integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==
- dependencies:
- core-util-is "~1.0.0"
- inherits "~2.0.3"
- isarray "~1.0.0"
- process-nextick-args "~2.0.0"
- safe-buffer "~5.1.1"
- string_decoder "~1.1.1"
- util-deprecate "~1.0.1"
-
readdir-scoped-modules@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309"
@@ -12840,10 +12216,6 @@ repeat-element@^1.1.2:
resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce"
integrity sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==
-repeat-string@^0.2.2:
- version "0.2.2"
- resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-0.2.2.tgz#c7a8d3236068362059a7e4651fc6884e8b1fb4ae"
-
repeat-string@^1.5.2, repeat-string@^1.5.4, repeat-string@^1.6.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637"
@@ -12858,12 +12230,6 @@ replace-ext@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb"
-request-progress@^2.0.1:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/request-progress/-/request-progress-2.0.1.tgz#5d36bb57961c673aa5b788dbc8141fdf23b44e08"
- dependencies:
- throttleit "^1.0.0"
-
request-promise-core@1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.1.tgz#3eee00b2c5aa83239cfb04c5700da36f81cd08b6"
@@ -12894,33 +12260,6 @@ request-promise-native@^1.0.8:
stealthy-require "^1.1.1"
tough-cookie "^2.3.3"
-request@^2.81.0:
- version "2.85.0"
- resolved "https://registry.yarnpkg.com/request/-/request-2.85.0.tgz#5a03615a47c61420b3eb99b7dba204f83603e1fa"
- dependencies:
- aws-sign2 "~0.7.0"
- aws4 "^1.6.0"
- caseless "~0.12.0"
- combined-stream "~1.0.5"
- extend "~3.0.1"
- forever-agent "~0.6.1"
- form-data "~2.3.1"
- har-validator "~5.0.3"
- hawk "~6.0.2"
- http-signature "~1.2.0"
- is-typedarray "~1.0.0"
- isstream "~0.1.2"
- json-stringify-safe "~5.0.1"
- mime-types "~2.1.17"
- oauth-sign "~0.8.2"
- performance-now "^2.1.0"
- qs "~6.5.1"
- safe-buffer "^5.1.1"
- stringstream "~0.0.5"
- tough-cookie "~2.3.3"
- tunnel-agent "^0.6.0"
- uuid "^3.1.0"
-
request@^2.88.0:
version "2.88.0"
resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"
@@ -12998,10 +12337,6 @@ require-uncached@^1.0.3:
caller-path "^0.1.0"
resolve-from "^1.0.0"
-requires-port@1.x.x:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
-
resolve-cwd@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a"
@@ -13113,11 +12448,6 @@ reusify@^1.0.0:
resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"
integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
-rfdc@^1.1.2:
- version "1.1.4"
- resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.1.4.tgz#ba72cc1367a0ccd9cf81a870b3b58bd3ad07f8c2"
- integrity sha512-5C9HXdzK8EAqN7JDif30jqsBzavB7wLpaubisuQIGHWf2gUXSpzy6ArX/+Da8RjFpagWsCn+pIgxTMAmKw9Zug==
-
right-align@^0.1.1:
version "0.1.3"
resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef"
@@ -13129,7 +12459,7 @@ right-pad@^1.0.1:
resolved "https://registry.yarnpkg.com/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0"
integrity sha1-jKCMLLtbVedNr6lr9/0aJ9VoyNA=
-rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.0, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3:
+rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3:
version "2.7.1"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
@@ -13493,24 +12823,6 @@ signal-exit@^3.0.0, signal-exit@^3.0.2:
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=
-sinon-chai@^3.3.0:
- version "3.3.0"
- resolved "https://registry.yarnpkg.com/sinon-chai/-/sinon-chai-3.3.0.tgz#8084ff99451064910fbe2c2cb8ab540c00b740ea"
- integrity sha512-r2JhDY7gbbmh5z3Q62pNbrjxZdOAjpsqW/8yxAZRSqLZqowmfGZPGUZPFf3UX36NLis0cv8VEM5IJh9HgkSOAA==
-
-sinon@^7.2.3:
- version "7.2.3"
- resolved "https://registry.yarnpkg.com/sinon/-/sinon-7.2.3.tgz#f8bfd956df32ddf592f8c102fd46982366412d8e"
- integrity sha512-i6j7sqcLEqTYqUcMV327waI745VASvYuSuQMCjbAwlpAeuCgKZ3LtrjDxAbu+GjNQR0FEDpywtwGCIh8GicNyg==
- dependencies:
- "@sinonjs/commons" "^1.3.0"
- "@sinonjs/formatio" "^3.1.0"
- "@sinonjs/samsam" "^3.0.2"
- diff "^3.5.0"
- lolex "^3.0.0"
- nise "^1.4.8"
- supports-color "^5.5.0"
-
sisteransi@^1.0.4:
version "1.0.5"
resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed"
@@ -13578,58 +12890,6 @@ snapdragon@^0.8.1:
source-map-resolve "^0.5.0"
use "^3.1.0"
-sntp@2.x.x:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/sntp/-/sntp-2.1.0.tgz#2c6cec14fedc2222739caf9b5c3d85d1cc5a2cc8"
- dependencies:
- hoek "4.x.x"
-
-socket.io-adapter@~1.1.0:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-1.1.1.tgz#2a805e8a14d6372124dd9159ad4502f8cb07f06b"
- integrity sha1-KoBeihTWNyEk3ZFZrUUC+MsH8Gs=
-
-socket.io-client@2.1.1:
- version "2.1.1"
- resolved "https://registry.yarnpkg.com/socket.io-client/-/socket.io-client-2.1.1.tgz#dcb38103436ab4578ddb026638ae2f21b623671f"
- integrity sha512-jxnFyhAuFxYfjqIgduQlhzqTcOEQSn+OHKVfAxWaNWa7ecP7xSNk2Dx/3UEsDcY7NcFafxvNvKPmmO7HTwTxGQ==
- dependencies:
- backo2 "1.0.2"
- base64-arraybuffer "0.1.5"
- component-bind "1.0.0"
- component-emitter "1.2.1"
- debug "~3.1.0"
- engine.io-client "~3.2.0"
- has-binary2 "~1.0.2"
- has-cors "1.1.0"
- indexof "0.0.1"
- object-component "0.0.3"
- parseqs "0.0.5"
- parseuri "0.0.5"
- socket.io-parser "~3.2.0"
- to-array "0.1.4"
-
-socket.io-parser@~3.2.0:
- version "3.2.0"
- resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-3.2.0.tgz#e7c6228b6aa1f814e6148aea325b51aa9499e077"
- integrity sha512-FYiBx7rc/KORMJlgsXysflWx/RIvtqZbyGLlHZvjfmPTPeuD/I8MaW7cfFrj5tRltICJdgwflhfZ3NVVbVLFQA==
- dependencies:
- component-emitter "1.2.1"
- debug "~3.1.0"
- isarray "2.0.1"
-
-socket.io@2.1.1:
- version "2.1.1"
- resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-2.1.1.tgz#a069c5feabee3e6b214a75b40ce0652e1cfb9980"
- integrity sha512-rORqq9c+7W0DAK3cleWNSyfv/qKXV99hV4tZe+gGLfBECw3XEhBy7x85F3wypA9688LKjtwO9pX9L33/xQI8yA==
- dependencies:
- debug "~3.1.0"
- engine.io "~3.2.0"
- has-binary2 "~1.0.2"
- socket.io-adapter "~1.1.0"
- socket.io-client "2.1.1"
- socket.io-parser "~3.2.0"
-
socks-proxy-agent@^4.0.0:
version "4.0.2"
resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz#3c8991f3145b2799e70e11bd5fbc8b1963116386"
@@ -13833,10 +13093,6 @@ static-extend@^0.1.1:
version "1.5.0"
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
-statuses@~1.3.1:
- version "1.3.1"
- resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e"
-
std-env@^1.1.0, std-env@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/std-env/-/std-env-1.3.0.tgz#8ce754a401a61f1ac49c8eb55f2a8c0c63d54954"
@@ -13879,16 +13135,6 @@ stream-slice@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/stream-slice/-/stream-slice-0.1.2.tgz#2dc4f4e1b936fb13f3eb39a2def1932798d07a4b"
-streamroller@0.7.0:
- version "0.7.0"
- resolved "https://registry.yarnpkg.com/streamroller/-/streamroller-0.7.0.tgz#a1d1b7cf83d39afb0d63049a5acbf93493bdf64b"
- integrity sha512-WREzfy0r0zUqp3lGO096wRuUp7ho1X6uo/7DJfTlEi0Iv/4gT7YHqXDjKC2ioVGBZtE8QzsQD9nx1nIuoZ57jQ==
- dependencies:
- date-format "^1.2.0"
- debug "^3.1.0"
- mkdirp "^0.5.1"
- readable-stream "^2.3.0"
-
strict-uri-encode@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713"
@@ -13974,11 +13220,6 @@ stringify-object@^3.3.0:
is-obj "^1.0.1"
is-regexp "^1.0.0"
-stringstream@~0.0.5:
- version "0.0.6"
- resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.6.tgz#7880225b0d4ad10e30927d167a1d6f2fd3b33a72"
- integrity sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA==
-
strip-ansi@^3.0.0, strip-ansi@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
@@ -14112,13 +13353,6 @@ supports-color@^5.2.0:
dependencies:
has-flag "^3.0.0"
-supports-color@^5.5.0:
- version "5.5.0"
- resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
- integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
- dependencies:
- has-flag "^3.0.0"
-
supports-color@^6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3"
@@ -14262,11 +13496,6 @@ test-exclude@^6.0.0:
glob "^7.1.4"
minimatch "^3.0.4"
-text-encoding@^0.6.4:
- version "0.6.4"
- resolved "https://registry.yarnpkg.com/text-encoding/-/text-encoding-0.6.4.tgz#e399a982257a276dae428bb92845cb71bdc26d19"
- integrity sha1-45mpgiV6J22uQou5KEXLcb3CbRk=
-
text-extensions@^1.0.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.7.0.tgz#faaaba2625ed746d568a23e4d0aacd9bf08a8b39"
@@ -14297,10 +13526,6 @@ throat@^5.0.0:
resolved "https://registry.yarnpkg.com/throat/-/throat-5.0.0.tgz#c5199235803aad18754a667d659b5e72ce16764b"
integrity sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==
-throttleit@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/throttleit/-/throttleit-1.0.0.tgz#9e785836daf46743145a5984b6268d828528ac6c"
-
through2@^2.0.0, through2@^2.0.2:
version "2.0.3"
resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be"
@@ -14323,10 +13548,6 @@ time-fix-plugin@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/time-fix-plugin/-/time-fix-plugin-2.0.1.tgz#4943dd28c8fa36a543aec34e3af2a173abc43de1"
-time-stamp@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/time-stamp/-/time-stamp-2.0.0.tgz#95c6a44530e15ba8d6f4a3ecb8c3a3fac46da357"
-
timed-out@^4.0.0:
version "4.0.1"
resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f"
@@ -14341,7 +13562,7 @@ tiny-emitter@^2.0.0:
version "2.0.2"
resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.0.2.tgz#82d27468aca5ade8e5fd1e6d22b57dd43ebdfb7c"
-tmp@0.0.33, tmp@0.0.x, tmp@^0.0.33:
+tmp@^0.0.33:
version "0.0.33"
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"
dependencies:
@@ -14352,10 +13573,6 @@ tmpl@1.0.x:
resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1"
integrity sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=
-to-array@0.1.4:
- version "0.1.4"
- resolved "https://registry.yarnpkg.com/to-array/-/to-array-0.1.4.tgz#17e6c11f73dd4f3d74cda7a4ff3238e9ad9bf890"
-
to-arraybuffer@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43"
@@ -14412,7 +13629,7 @@ toposort@^1.0.0:
resolved "https://registry.yarnpkg.com/toposort/-/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029"
integrity sha1-LmhELZ9k7HILjMieZEOsbKqVACk=
-tough-cookie@>=2.3.3, tough-cookie@~2.3.3:
+tough-cookie@>=2.3.3:
version "2.3.3"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.3.tgz#0b618a5565b6dea90bf3425d04d55edc475a7561"
dependencies:
@@ -14531,7 +13748,7 @@ type-check@~0.3.2:
dependencies:
prelude-ls "~1.1.2"
-type-detect@4.0.8, type-detect@^4.0.0:
+type-detect@4.0.8:
version "4.0.8"
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
@@ -14555,7 +13772,7 @@ type-fest@^0.8.1:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
-type-is@^1.5.5, type-is@~1.6.15:
+type-is@^1.5.5:
version "1.6.16"
resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194"
dependencies:
@@ -14643,11 +13860,6 @@ uid-number@0.0.6:
resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81"
integrity sha1-DqEOgDXo61uOREnwbaHHMGY7qoE=
-ultron@~1.1.0:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c"
- integrity sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==
-
umask@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d"
@@ -14798,10 +14010,6 @@ universalify@^0.1.0:
version "0.1.1"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7"
-unpipe@1.0.0, unpipe@~1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
-
unset-value@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559"
@@ -14887,14 +14095,6 @@ use@^3.1.0:
dependencies:
kind-of "^6.0.2"
-useragent@2.3.0:
- version "2.3.0"
- resolved "https://registry.yarnpkg.com/useragent/-/useragent-2.3.0.tgz#217f943ad540cb2128658ab23fc960f6a88c9972"
- integrity sha512-4AoH4pxuSvHCjqLO04sU6U/uE65BYza8l/KKBS0b0hnUPWi+cQ2BpeTEwejCSx9SPV5/U03nniDTrWx5NrmKdw==
- dependencies:
- lru-cache "4.1.x"
- tmp "0.0.x"
-
util-deprecate@^1.0.1, util-deprecate@~1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
@@ -14927,10 +14127,6 @@ utila@~0.4:
version "0.4.0"
resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c"
-utils-merge@1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
-
uuid@^3.0.1, uuid@^3.1.0:
version "3.2.1"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14"
@@ -15022,10 +14218,6 @@ vm-browserify@0.0.4:
dependencies:
indexof "0.0.1"
-void-elements@^2.0.0:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec"
-
vue-class-component@^7.2.3:
version "7.2.3"
resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-7.2.3.tgz#a5b1abd53513a72ad51098752e2dedd499807cca"
@@ -15315,16 +14507,6 @@ webpack-chain@^4.6.0:
deepmerge "^1.5.2"
javascript-stringify "^1.6.0"
-webpack-dev-middleware@^1.12.0:
- version "1.12.2"
- resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-1.12.2.tgz#f8fc1120ce3b4fc5680ceecb43d777966b21105e"
- dependencies:
- memory-fs "~0.4.1"
- mime "^1.5.0"
- path-is-absolute "^1.0.0"
- range-parser "^1.0.3"
- time-stamp "^2.0.0"
-
webpack-dev-middleware@^3.0.0:
version "3.1.3"
resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.1.3.tgz#8b32aa43da9ae79368c1bf1183f2b6cf5e1f39ed"
@@ -15534,12 +14716,6 @@ which-module@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
-which@^1.2.10, which@^1.2.9:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
- dependencies:
- isexe "^2.0.0"
-
which@^1.2.14, which@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
@@ -15547,6 +14723,12 @@ which@^1.2.14, which@^1.3.1:
dependencies:
isexe "^2.0.0"
+which@^1.2.9:
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
+ dependencies:
+ isexe "^2.0.0"
+
which@^2.0.1, which@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"
@@ -15820,15 +15002,6 @@ ws@^7.2.3:
resolved "https://registry.yarnpkg.com/ws/-/ws-7.3.0.tgz#4b2f7f219b3d3737bc1a2fbf145d825b94d38ffd"
integrity sha512-iFtXzngZVXPGgpTlP1rBqsUK82p9tKqsWRPg5L56egiljujJT3vGAYnHANvFxBieXrTFavhzhxW52jnaWV+w2w==
-ws@~3.3.1:
- version "3.3.3"
- resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.3.tgz#f1cf84fe2d5e901ebce94efaece785f187a228f2"
- integrity sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==
- dependencies:
- async-limiter "~1.0.0"
- safe-buffer "~5.1.0"
- ultron "~1.1.0"
-
x-is-function@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/x-is-function/-/x-is-function-1.0.4.tgz#5d294dc3d268cbdd062580e0c5df77a391d1fa1e"
@@ -15850,11 +15023,6 @@ xmlchars@^2.2.0:
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==
-xmlhttprequest-ssl@~1.5.4:
- version "1.5.5"
- resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e"
- integrity sha1-wodrBhaKrcQOV9l+gRkayPQ5iz4=
-
xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"
@@ -15997,13 +15165,3 @@ yargs@~3.10.0:
cliui "^2.1.0"
decamelize "^1.0.0"
window-size "0.1.0"
-
-yauzl@2.4.1:
- version "2.4.1"
- resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.4.1.tgz#9528f442dab1b2284e58b4379bb194e22e0c4005"
- dependencies:
- fd-slicer "~1.0.1"
-
-yeast@0.1.2:
- version "0.1.2"
- resolved "https://registry.yarnpkg.com/yeast/-/yeast-0.1.2.tgz#008e06d8094320c372dbc2f8ed76a0ca6c8ac419"
From eb89bff505dc0dc432719e93bded9fd8c801c16f Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Tue, 7 Jul 2020 17:52:19 +1000
Subject: [PATCH 29/32] test: do not use compiled dist files for tests
---
jest.config.js | 1 +
test/resources/utils.js | 4 ++--
test/specs/config.spec.js | 2 +-
test/specs/create-local-vue.spec.js | 2 +-
test/specs/create-wrapper.spec.js | 2 +-
test/specs/external-libraries.spec.js | 2 +-
test/specs/mount.spec.js | 2 +-
test/specs/render.spec.js | 2 +-
test/specs/renderToString.spec.js | 4 ++--
test/specs/shallow-mount.spec.js | 2 +-
test/specs/wrapper-array.spec.js | 2 +-
test/specs/wrapper.spec.js | 5 ++++-
12 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/jest.config.js b/jest.config.js
index 6d103eabc..59678951b 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -1,6 +1,7 @@
module.exports = {
moduleNameMapper: {
'^~(.*)$': '/test/$1',
+ '^packages/(.*)$': '/packages/$1',
'\\.(css|less|scss|sass)$': 'identity-obj-proxy'
},
transform: {
diff --git a/test/resources/utils.js b/test/resources/utils.js
index 8d50b0aed..1978ec793 100644
--- a/test/resources/utils.js
+++ b/test/resources/utils.js
@@ -1,8 +1,8 @@
/* global describe */
import Vue from 'vue'
-import { shallowMount, mount } from '@vue/test-utils'
-import { renderToString } from '@vue/server-test-utils'
+import { shallowMount, mount } from 'packages/test-utils/src'
+import { renderToString } from 'packages/server-test-utils/src'
export const vueVersion = Number(
`${Vue.version.split('.')[0]}.${Vue.version.split('.')[1]}`
diff --git a/test/specs/config.spec.js b/test/specs/config.spec.js
index e7688a341..4202d4150 100644
--- a/test/specs/config.spec.js
+++ b/test/specs/config.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import ComponentWithProps from '~resources/components/component-with-props.vue'
-import { config, createLocalVue } from '@vue/test-utils'
+import { config, createLocalVue } from 'packages/test-utils/src'
import ComponentWithTransitions from '~resources/components/component-with-transitions.vue'
describeWithShallowAndMount('config', mountingMethod => {
diff --git a/test/specs/create-local-vue.spec.js b/test/specs/create-local-vue.spec.js
index e8c4b89f8..09a928a01 100644
--- a/test/specs/create-local-vue.spec.js
+++ b/test/specs/create-local-vue.spec.js
@@ -1,7 +1,7 @@
import Vue from 'vue'
import Vuex from 'vuex'
import VueRouter from 'vue-router'
-import { createLocalVue } from '@vue/test-utils'
+import { createLocalVue } from 'packages/test-utils/src'
import Component from '~resources/components/component.vue'
import ComponentWithVuex from '~resources/components/component-with-vuex.vue'
import ComponentWithRouter from '~resources/components/component-with-router.vue'
diff --git a/test/specs/create-wrapper.spec.js b/test/specs/create-wrapper.spec.js
index 132dab044..7ad4df56f 100644
--- a/test/specs/create-wrapper.spec.js
+++ b/test/specs/create-wrapper.spec.js
@@ -1,5 +1,5 @@
import Vue from 'vue'
-import { createWrapper, Wrapper, WrapperArray } from '@vue/test-utils'
+import { createWrapper, Wrapper, WrapperArray } from 'packages/test-utils/src'
import Component from '~resources/components/component.vue'
import { describeRunIf } from 'conditional-specs'
diff --git a/test/specs/external-libraries.spec.js b/test/specs/external-libraries.spec.js
index 4b4d2a92b..151d8779f 100644
--- a/test/specs/external-libraries.spec.js
+++ b/test/specs/external-libraries.spec.js
@@ -1,4 +1,4 @@
-import { createLocalVue, mount } from '@vue/test-utils'
+import { createLocalVue, mount } from 'packages/test-utils/src'
import VeeValidate from 'vee-validate'
import { describeWithShallowAndMount } from '~resources/utils'
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index d1ec388c2..bbbc294cf 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -1,6 +1,6 @@
import Vue from 'vue'
import { compileToFunctions } from 'vue-template-compiler'
-import { mount, createLocalVue } from '@vue/test-utils'
+import { mount, createLocalVue } from 'packages/test-utils/src'
import CompositionAPI, { createElement } from '@vue/composition-api'
import Component from '~resources/components/component.vue'
import ComponentWithProps from '~resources/components/component-with-props.vue'
diff --git a/test/specs/render.spec.js b/test/specs/render.spec.js
index a2df898b1..a5954d78f 100644
--- a/test/specs/render.spec.js
+++ b/test/specs/render.spec.js
@@ -1,4 +1,4 @@
-import { render } from '@vue/server-test-utils'
+import { render } from 'packages/server-test-utils/src'
import Cheerio from 'cheerio'
import { describeDoNotRunIf } from 'conditional-specs'
diff --git a/test/specs/renderToString.spec.js b/test/specs/renderToString.spec.js
index a66f48dca..bb49c2ff6 100644
--- a/test/specs/renderToString.spec.js
+++ b/test/specs/renderToString.spec.js
@@ -1,5 +1,5 @@
-import { renderToString } from '@vue/server-test-utils'
-import { createLocalVue } from '@vue/test-utils'
+import { renderToString } from 'packages/server-test-utils/src'
+import { createLocalVue } from 'packages/test-utils/src'
import ComponentWithChild from '~resources/components/component-with-child.vue'
import { describeDoNotRunIf } from 'conditional-specs'
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index f8d111aab..f310e32ca 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -1,6 +1,6 @@
import { compileToFunctions } from 'vue-template-compiler'
import Vue from 'vue'
-import { mount, shallowMount, createLocalVue } from '@vue/test-utils'
+import { mount, shallowMount, createLocalVue } from 'packages/test-utils/src'
import Component from '~resources/components/component.vue'
import ComponentWithChild from '~resources/components/component-with-child.vue'
import ComponentWithFunctionalChild from '~resources/components/component-with-functional-child.vue'
diff --git a/test/specs/wrapper-array.spec.js b/test/specs/wrapper-array.spec.js
index 5f2b9b85e..f4de284a9 100644
--- a/test/specs/wrapper-array.spec.js
+++ b/test/specs/wrapper-array.spec.js
@@ -1,4 +1,4 @@
-import { Wrapper, WrapperArray } from '@vue/test-utils'
+import { Wrapper, WrapperArray } from 'packages/test-utils/src'
import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('WrapperArray', mountingMethod => {
diff --git a/test/specs/wrapper.spec.js b/test/specs/wrapper.spec.js
index fd9223fac..95934dac3 100644
--- a/test/specs/wrapper.spec.js
+++ b/test/specs/wrapper.spec.js
@@ -1,5 +1,8 @@
import { describeWithShallowAndMount } from '~resources/utils'
-import { enableAutoDestroy, resetAutoDestroyState } from '@vue/test-utils'
+import {
+ enableAutoDestroy,
+ resetAutoDestroyState
+} from 'packages/test-utils/src'
describeWithShallowAndMount('Wrapper', mountingMethod => {
;['vnode', 'element', 'vm', 'options'].forEach(property => {
From 573fa6ad72db5679d0f1a297391e7951d11b3e1f Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Tue, 7 Jul 2020 17:54:24 +1000
Subject: [PATCH 30/32] test: make scripts minimal
---
.circleci/config.yml | 20 ++------------------
package.json | 17 +----------------
2 files changed, 3 insertions(+), 34 deletions(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index b85fddcd9..9a40a3b06 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -42,15 +42,6 @@ jobs:
- run:
name: yarn bootstrap
command: yarn bootstrap
- build_test:
- <<: *defaults
- steps:
- - attach_workspace:
- at: ~/repo
- - *restore_node_modules
- - run:
- name: yarn build:test
- command: yarn build:test
test:
<<: *defaults
steps:
@@ -58,15 +49,8 @@ jobs:
at: ~/repo
- *restore_node_modules
- run:
- name: yarn test
- command: yarn test
- test_compat:
- <<: *defaults
- steps:
- - attach_workspace:
- at: ~/repo
- - *restore_node_modules
- - run: yarn test:compat
+ name: yarn test:unit
+ command: yarn test:unit
workflows:
version: 2
install-tests:
diff --git a/package.json b/package.json
index ce9276180..4c8d1b42f 100644
--- a/package.json
+++ b/package.json
@@ -6,22 +6,7 @@
],
"scripts": {
"bootstrap": "lerna bootstrap",
- "build": "lerna run build",
- "build:test": "lerna run build:test",
- "clean": "lerna clean --yes",
- "commit": "git-cz",
- "docs": "vuepress dev docs",
- "docs:build": "vuepress build docs",
- "flow": "flow check",
- "lint": "eslint --ext js,vue .",
- "lint:docs": "eslint --ext js,vue,md docs --ignore-path .gitignore",
- "lint:fix": "yarn lint -- --fix",
- "format": "prettier --write \"**/*.{js,json,vue,md}\"",
- "format:check": "prettier --check \"**/*.{js,json,vue,md}\"",
- "release": "yarn build && yarn test:unit:only && lerna publish --conventional-commits -m \"chore(release): publish %s\"",
- "test": "yarn format:check && yarn lint && yarn lint:docs && yarn flow && yarn test:types && yarn test:unit && yarn test:unit:karma && yarn test:unit:node",
- "test:compat": "scripts/test-compat.sh",
- "test:unit": "yarn build && cross-env TARGET=dev yarn jest",
+ "test:unit": "cross-env TARGET=dev yarn jest",
"test:types": "tsc -p packages/test-utils/types && tsc -p packages/server-test-utils/types"
},
"dependencies": {
From b57389945a4d51b6100a48a75c607fef6d04927f Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Thu, 9 Jul 2020 19:06:45 +1000
Subject: [PATCH 31/32] test: update import paths
---
.../mounting-options/attachToDocument.spec.js | 2 +-
test/specs/mounting-options/localVue.spec.js | 2 +-
test/specs/mounting-options/methods.spec.js | 2 +-
test/specs/mounting-options/mocks.spec.js | 2 +-
test/specs/mounting-options/propsData.spec.js | 2 +-
test/specs/mounting-options/provide.spec.js | 4 ++--
test/specs/mounting-options/scopedSlots.spec.js | 2 +-
test/specs/mounting-options/slots.spec.js | 14 +++++++++-----
test/specs/mounting-options/stubs.spec.js | 16 +++++++++++-----
test/specs/wrapper-array/at.spec.js | 2 +-
test/specs/wrapper-array/attributes.spec.js | 2 +-
test/specs/wrapper-array/classes.spec.js | 2 +-
test/specs/wrapper-array/contains.spec.js | 2 +-
test/specs/wrapper-array/find.spec.js | 2 +-
test/specs/wrapper-array/findAll.spec.js | 2 +-
test/specs/wrapper-array/html.spec.js | 2 +-
test/specs/wrapper-array/isEmpty.spec.js | 2 +-
test/specs/wrapper-array/isVisible.spec.js | 2 +-
test/specs/wrapper-array/name.spec.js | 2 +-
test/specs/wrapper-array/overview.spec.js | 2 +-
test/specs/wrapper-array/props.spec.js | 2 +-
test/specs/wrapper-array/text.spec.js | 2 +-
test/specs/wrapper/emitted.spec.js | 2 +-
test/specs/wrapper/find.spec.js | 2 +-
24 files changed, 43 insertions(+), 33 deletions(-)
diff --git a/test/specs/mounting-options/attachToDocument.spec.js b/test/specs/mounting-options/attachToDocument.spec.js
index f01b0a90f..b0c026614 100644
--- a/test/specs/mounting-options/attachToDocument.spec.js
+++ b/test/specs/mounting-options/attachToDocument.spec.js
@@ -1,5 +1,5 @@
import { describeWithShallowAndMount, isRunningJSDOM } from '~resources/utils'
-import { renderToString } from '@vue/server-test-utils'
+import { renderToString } from 'packages/server-test-utils/src'
describeWithShallowAndMount('options.attachToDocument', mountingMethod => {
it('attaches root node to document', () => {
diff --git a/test/specs/mounting-options/localVue.spec.js b/test/specs/mounting-options/localVue.spec.js
index 1f7811f50..53edc7933 100644
--- a/test/specs/mounting-options/localVue.spec.js
+++ b/test/specs/mounting-options/localVue.spec.js
@@ -4,7 +4,7 @@ import {
isRunningPhantomJS,
vueVersion
} from '~resources/utils'
-import { createLocalVue, shallowMount, mount } from '@vue/test-utils'
+import { createLocalVue, shallowMount, mount } from 'packages/test-utils/src'
import { itSkipIf, itRunIf, itDoNotRunIf } from 'conditional-specs'
import Vuex from 'vuex'
diff --git a/test/specs/mounting-options/methods.spec.js b/test/specs/mounting-options/methods.spec.js
index cf258dfcc..484777650 100644
--- a/test/specs/mounting-options/methods.spec.js
+++ b/test/specs/mounting-options/methods.spec.js
@@ -1,4 +1,4 @@
-import { config } from '@vue/test-utils'
+import { config } from 'packages/test-utils/src'
import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('options.methods', mountingMethod => {
diff --git a/test/specs/mounting-options/mocks.spec.js b/test/specs/mounting-options/mocks.spec.js
index f0abec5e1..6f1d96d4c 100644
--- a/test/specs/mounting-options/mocks.spec.js
+++ b/test/specs/mounting-options/mocks.spec.js
@@ -1,4 +1,4 @@
-import { createLocalVue, config } from '@vue/test-utils'
+import { createLocalVue, config } from 'packages/test-utils/src'
import Vue from 'vue'
import Component from '~resources/components/component.vue'
import ComponentWithVuex from '~resources/components/component-with-vuex.vue'
diff --git a/test/specs/mounting-options/propsData.spec.js b/test/specs/mounting-options/propsData.spec.js
index 6a5ca6799..120e403ca 100644
--- a/test/specs/mounting-options/propsData.spec.js
+++ b/test/specs/mounting-options/propsData.spec.js
@@ -1,4 +1,4 @@
-import { shallowMount } from '@vue/test-utils'
+import { shallowMount } from 'packages/test-utils/src'
import ComponentWithProps from '~resources/components/component-with-props.vue'
import { describeRunIf } from 'conditional-specs'
diff --git a/test/specs/mounting-options/provide.spec.js b/test/specs/mounting-options/provide.spec.js
index c940cfc49..1f3d7775f 100644
--- a/test/specs/mounting-options/provide.spec.js
+++ b/test/specs/mounting-options/provide.spec.js
@@ -1,5 +1,5 @@
-import { config } from '@vue/test-utils'
-import { createLocalVue } from '@vue/test-utils'
+import { config } from 'packages/test-utils/src'
+import { createLocalVue } from 'packages/test-utils/src'
import ComponentWithInject from '~resources/components/component-with-inject.vue'
import CompositionComponentWithInject from '~resources/components/component-with-inject-composition.vue'
import { injectSupported } from '~resources/utils'
diff --git a/test/specs/mounting-options/scopedSlots.spec.js b/test/specs/mounting-options/scopedSlots.spec.js
index 0e5c24c4c..7db63c449 100644
--- a/test/specs/mounting-options/scopedSlots.spec.js
+++ b/test/specs/mounting-options/scopedSlots.spec.js
@@ -1,5 +1,5 @@
import { describeWithShallowAndMount, vueVersion } from '~resources/utils'
-import { createLocalVue } from '@vue/test-utils'
+import { createLocalVue } from 'packages/test-utils/src'
import ComponentWithScopedSlots from '~resources/components/component-with-scoped-slots.vue'
import { itDoNotRunIf } from 'conditional-specs'
import Vue from 'vue'
diff --git a/test/specs/mounting-options/slots.spec.js b/test/specs/mounting-options/slots.spec.js
index 0850b8f71..3c2997def 100644
--- a/test/specs/mounting-options/slots.spec.js
+++ b/test/specs/mounting-options/slots.spec.js
@@ -5,7 +5,7 @@ import ComponentAsAClass from '~resources/components/component-as-a-class.vue'
import ComponentWithParentName from '~resources/components/component-with-parent-name.vue'
import { describeWithShallowAndMount, vueVersion } from '~resources/utils'
import { itDoNotRunIf } from 'conditional-specs'
-import { mount, createLocalVue } from '@vue/test-utils'
+import { mount, createLocalVue } from 'packages/test-utils/src'
describeWithShallowAndMount('options.slots', mountingMethod => {
it('mounts component with default slot if passed component in slot object', () => {
@@ -136,8 +136,10 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
require.cache[
require.resolve('vue-template-compiler')
].exports.compileToFunctions = undefined
- delete require.cache[require.resolve('@vue/test-utils')]
- const mountingMethodFresh = require('@vue/test-utils')[mountingMethod.name]
+ delete require.cache[require.resolve('packages/test-utils/src')]
+ const mountingMethodFresh = require('packages/test-utils/src')[
+ mountingMethod.name
+ ]
const message =
'[vue-test-utils]: vueTemplateCompiler is undefined, you must pass precompiled components if vue-template-compiler is undefined'
const fn = () =>
@@ -381,8 +383,10 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
require.resolve('vue-template-compiler')
].exports.compileToFunctions = undefined
- delete require.cache[require.resolve('@vue/test-utils')]
- const mountingMethodFresh = require('@vue/test-utils')[mountingMethod.name]
+ delete require.cache[require.resolve('packages/test-utils/src')]
+ const mountingMethodFresh = require('packages/test-utils/src')[
+ mountingMethod.name
+ ]
const message =
'[vue-test-utils]: vueTemplateCompiler is undefined, you must pass precompiled components if vue-template-compiler is undefined'
const fn = () => {
diff --git a/test/specs/mounting-options/stubs.spec.js b/test/specs/mounting-options/stubs.spec.js
index d3ea95f60..38b4f95b9 100644
--- a/test/specs/mounting-options/stubs.spec.js
+++ b/test/specs/mounting-options/stubs.spec.js
@@ -3,8 +3,8 @@ import ComponentWithNestedChildren from '~resources/components/component-with-ne
import Component from '~resources/components/component.vue'
import ComponentAsAClass from '~resources/components/component-as-a-class.vue'
import ComponentWithNestedChildrenAndAttributes from '~resources/components/component-with-nested-childern-and-attributes.vue'
-import { createLocalVue, config } from '@vue/test-utils'
-import { config as serverConfig } from '@vue/server-test-utils'
+import { createLocalVue, config } from 'packages/test-utils/src'
+import { config as serverConfig } from 'packages/server-test-utils/src'
import Vue from 'vue'
import { describeWithShallowAndMount, vueVersion } from '~resources/utils'
import { itDoNotRunIf, itSkipIf, itRunIf } from 'conditional-specs'
@@ -13,10 +13,13 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
let configStubsSave
let serverConfigSave
let consoleErrorSave
+ let consoleInfoSave
beforeEach(() => {
consoleErrorSave = console.error
+ consoleInfoSave = console.info
console.error = jest.fn()
+ console.info = jest.fn()
configStubsSave = config.stubs
serverConfigSave = serverConfig.stubs
config.stubs = {}
@@ -27,6 +30,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
config.stubs = configStubsSave
serverConfig.stubs = serverConfigSave
console.error = consoleErrorSave
+ console.info = consoleInfoSave
})
it('accepts valid component stubs', () => {
@@ -266,9 +270,11 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
require.cache[
require.resolve('vue-template-compiler')
].exports.compileToFunctions = undefined
- delete require.cache[require.resolve('@vue/test-utils')]
- delete require.cache[require.resolve('@vue/server-test-utils')]
- const mountingMethodFresh = require('@vue/test-utils')[mountingMethod.name]
+ delete require.cache[require.resolve('packages/test-utils/src')]
+ delete require.cache[require.resolve('packages/server-test-utils/src')]
+ const mountingMethodFresh = require('packages/test-utils/src')[
+ mountingMethod.name
+ ]
const message =
'[vue-test-utils]: vueTemplateCompiler is undefined, you must pass precompiled components if vue-template-compiler is undefined'
const fn = () =>
diff --git a/test/specs/wrapper-array/at.spec.js b/test/specs/wrapper-array/at.spec.js
index 0e8fc2a9e..90dcf1b2d 100644
--- a/test/specs/wrapper-array/at.spec.js
+++ b/test/specs/wrapper-array/at.spec.js
@@ -1,5 +1,5 @@
import { describeWithShallowAndMount } from '~resources/utils'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('at', mountingMethod => {
it('returns Wrapper at index', () => {
diff --git a/test/specs/wrapper-array/attributes.spec.js b/test/specs/wrapper-array/attributes.spec.js
index f31b2c97a..855bdb2a3 100644
--- a/test/specs/wrapper-array/attributes.spec.js
+++ b/test/specs/wrapper-array/attributes.spec.js
@@ -1,5 +1,5 @@
import { describeWithShallowAndMount } from '~resources/utils'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('attributes', mountingMethod => {
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/classes.spec.js b/test/specs/wrapper-array/classes.spec.js
index a8ad82d56..780b69a6c 100644
--- a/test/specs/wrapper-array/classes.spec.js
+++ b/test/specs/wrapper-array/classes.spec.js
@@ -1,5 +1,5 @@
import { describeWithShallowAndMount } from '~resources/utils'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('classes', mountingMethod => {
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/contains.spec.js b/test/specs/wrapper-array/contains.spec.js
index 6abd9428a..dd6ddbecc 100644
--- a/test/specs/wrapper-array/contains.spec.js
+++ b/test/specs/wrapper-array/contains.spec.js
@@ -1,5 +1,5 @@
import { describeWithShallowAndMount } from '~resources/utils'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('contains', mountingMethod => {
it('returns true if every Wrapper contains element', () => {
diff --git a/test/specs/wrapper-array/find.spec.js b/test/specs/wrapper-array/find.spec.js
index 03d7d027e..3c902c9de 100644
--- a/test/specs/wrapper-array/find.spec.js
+++ b/test/specs/wrapper-array/find.spec.js
@@ -1,5 +1,5 @@
import { describeWithShallowAndMount } from '~resources/utils'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('find', mountingMethod => {
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/findAll.spec.js b/test/specs/wrapper-array/findAll.spec.js
index d84078c5f..ae8efcbe5 100644
--- a/test/specs/wrapper-array/findAll.spec.js
+++ b/test/specs/wrapper-array/findAll.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('findAll', mountingMethod => {
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/html.spec.js b/test/specs/wrapper-array/html.spec.js
index a6ba4ae49..68d6d929b 100644
--- a/test/specs/wrapper-array/html.spec.js
+++ b/test/specs/wrapper-array/html.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('html', mountingMethod => {
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/isEmpty.spec.js b/test/specs/wrapper-array/isEmpty.spec.js
index 9867409a6..fa1017ad6 100644
--- a/test/specs/wrapper-array/isEmpty.spec.js
+++ b/test/specs/wrapper-array/isEmpty.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('isEmpty', mountingMethod => {
it('returns true if node is empty', () => {
diff --git a/test/specs/wrapper-array/isVisible.spec.js b/test/specs/wrapper-array/isVisible.spec.js
index 53c5a9856..e6077759c 100644
--- a/test/specs/wrapper-array/isVisible.spec.js
+++ b/test/specs/wrapper-array/isVisible.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('isVisible', mountingMethod => {
it('returns true if node has no inline style', () => {
diff --git a/test/specs/wrapper-array/name.spec.js b/test/specs/wrapper-array/name.spec.js
index cca24893e..7859f2b15 100644
--- a/test/specs/wrapper-array/name.spec.js
+++ b/test/specs/wrapper-array/name.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('name', mountingMethod => {
it('throws an error when called on a WrapperArray', () => {
diff --git a/test/specs/wrapper-array/overview.spec.js b/test/specs/wrapper-array/overview.spec.js
index aed635dfb..af227ba17 100644
--- a/test/specs/wrapper-array/overview.spec.js
+++ b/test/specs/wrapper-array/overview.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('overview', mountingMethod => {
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/props.spec.js b/test/specs/wrapper-array/props.spec.js
index b13d676d9..e3584bb12 100644
--- a/test/specs/wrapper-array/props.spec.js
+++ b/test/specs/wrapper-array/props.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('props', mountingMethod => {
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/text.spec.js b/test/specs/wrapper-array/text.spec.js
index acc7ba4a0..868d74492 100644
--- a/test/specs/wrapper-array/text.spec.js
+++ b/test/specs/wrapper-array/text.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('text', mountingMethod => {
it('throws error when called on a WrapperArray', () => {
diff --git a/test/specs/wrapper/emitted.spec.js b/test/specs/wrapper/emitted.spec.js
index e63464a1a..3f7053e9d 100644
--- a/test/specs/wrapper/emitted.spec.js
+++ b/test/specs/wrapper/emitted.spec.js
@@ -1,4 +1,4 @@
-import { createLocalVue, createWrapper } from '@vue/test-utils'
+import { createLocalVue, createWrapper } from 'packages/test-utils/src'
import { describeWithShallowAndMount, vueVersion } from '~resources/utils'
import { itDoNotRunIf } from 'conditional-specs'
import Vue from 'vue'
diff --git a/test/specs/wrapper/find.spec.js b/test/specs/wrapper/find.spec.js
index 496ec8bda..4daf609e5 100644
--- a/test/specs/wrapper/find.spec.js
+++ b/test/specs/wrapper/find.spec.js
@@ -1,5 +1,5 @@
import { compileToFunctions } from 'vue-template-compiler'
-import { createLocalVue } from '@vue/test-utils'
+import { createLocalVue } from 'packages/test-utils/src'
import Vue from 'vue'
import ComponentWithChild from '~resources/components/component-with-child.vue'
import ComponentWithoutName from '~resources/components/component-without-name.vue'
From 92871b061bbe9b0eeae75720ce60ffe216f7df08 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Thu, 9 Jul 2020 19:07:35 +1000
Subject: [PATCH 32/32] chore: update circleci
---
.circleci/config.yml | 8 --------
1 file changed, 8 deletions(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 9a40a3b06..5c5e428ac 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -59,14 +59,6 @@ workflows:
- bootstrap:
requires:
- install
- - build_test:
- requires:
- - install
- test:
requires:
- install
- - test_compat:
- requires:
- - install
- - build_test
- - test