Bläddra i källkod

rearrange option tests

Evan You 10 år sedan
förälder
incheckning
9d3479a76c

+ 3 - 3
test/helpers/to-have-been-warned.js

@@ -21,12 +21,12 @@ function hasWarned (msg) {
 }
 
 // define custom matcher for warnings
-beforeEach(function () {
+beforeEach(() => {
   spyOn(console, 'error')
   jasmine.addMatchers({
-    toHaveBeenWarned: function () {
+    toHaveBeenWarned: () => {
       return {
-        compare: function (msg) {
+        compare: msg => {
           var warned = Array.isArray(msg)
             ? msg.some(hasWarned)
             : hasWarned(msg)

+ 0 - 0
test/unit/features/component/component-props.spec.js → test/unit/features/options/delimiters.spec.js


+ 0 - 0
test/unit/features/options/dom.spec.js → test/unit/features/options/el.spec.js


+ 0 - 0
test/unit/features/options/misc.spec.js → test/unit/features/options/extends.spec.js


+ 0 - 0
test/unit/features/options/mixins.spec.js


+ 0 - 0
test/unit/features/options/name.spec.js


+ 0 - 0
test/unit/features/options/parent.spec.js


+ 0 - 0
test/unit/features/options/props.spec.js


+ 0 - 0
test/unit/features/options/render.spec.js


+ 0 - 0
test/unit/features/options/template.spec.js