Skip to content

Commit 6172f28

Browse files
38elementseddyerburgh
authored andcommitted
test: refactor test/unit/specs/wrappers/wrapper-array.spec.js (#308)
* test: refactor test/unit/specs/wrappers/wrapper-array.spec.js * Update error-wrapper.spec.js * Update error-wrapper.spec.js
1 parent bba4994 commit 6172f28

File tree

2 files changed

+80
-175
lines changed

2 files changed

+80
-175
lines changed

test/unit/specs/wrappers/error-wrapper.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { compileToFunctions } from 'vue-template-compiler'
33

44
describe('ErrorWrapper', () => {
55
const methods = ['at', 'attributes', 'classes', 'contains', 'emitted', 'emittedByOrder', 'hasAttribute',
6-
'hasClass', 'hasProp', 'hasStyle', 'find', 'findAll', 'html', 'text', 'is', 'isEmpty', 'isVueInstance', 'isEmpty',
6+
'hasClass', 'hasProp', 'hasStyle', 'find', 'findAll', 'html', 'text', 'is', 'isEmpty', 'isVueInstance',
77
'name', 'props', 'setComputed', 'setMethods', 'setData', 'setProps', 'trigger', 'update', 'destroy']
88
methods.forEach((method) => {
99
it(`${method} throws error when called`, () => {

0 commit comments

Comments
 (0)