Skip to content

Commit

Permalink
test: refactor test/unit/specs/wrappers/wrapper-array.spec.js (#308)
Browse files Browse the repository at this point in the history
* test: refactor test/unit/specs/wrappers/wrapper-array.spec.js

* Update error-wrapper.spec.js

* Update error-wrapper.spec.js
  • Loading branch information
38elements authored and eddyerburgh committed Dec 27, 2017
1 parent bba4994 commit 6172f28
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 175 deletions.
2 changes: 1 addition & 1 deletion test/unit/specs/wrappers/error-wrapper.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { compileToFunctions } from 'vue-template-compiler'

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

0 comments on commit 6172f28

Please sign in to comment.