@@ -211,6 +211,7 @@ describe('vue-loader', () => {
211
211
// scoped keyframes
212
212
expect ( style ) . to . contain ( `.anim[${ id } ] {\n animation: color-${ id } 5s infinite, other 5s;` )
213
213
expect ( style ) . to . contain ( `.anim-2[${ id } ] {\n animation-name: color-${ id } ` )
214
+ expect ( style ) . to . contain ( `.anim-3[${ id } ] {\n animation: 5s color-${ id } infinite, 5s other;` )
214
215
expect ( style ) . to . contain ( `@keyframes color-${ id } {` )
215
216
expect ( style ) . to . contain ( `@-webkit-keyframes color-${ id } {` )
216
217
@@ -735,7 +736,7 @@ describe('vue-loader', () => {
735
736
}
736
737
}
737
738
} , ( code , warnings ) => {
738
- expect ( code ) . to . contain ( ' describe(\ 'example\ ', function () {\n it(\ 'basic\ ', function (done) {\n done();\n });\n})' )
739
+ expect ( code ) . to . contain ( " describe('example', function () {\n it('basic', function (done) {\n done();\n });\n})" )
739
740
done ( )
740
741
} )
741
742
} )
@@ -749,7 +750,7 @@ describe('vue-loader', () => {
749
750
}
750
751
}
751
752
} , ( code , warnings ) => {
752
- expect ( code ) . to . contain ( ' describe(\ 'example\ ', function () {\n it(\ 'basic\ ', function (done) {\n done();\n });\n})' )
753
+ expect ( code ) . to . contain ( " describe('example', function () {\n it('basic', function (done) {\n done();\n });\n})" )
753
754
done ( )
754
755
} )
755
756
} )
@@ -773,7 +774,7 @@ describe('vue-loader', () => {
773
774
bundle ( {
774
775
entry : './test/fixtures/custom-language.vue'
775
776
} , ( code , warnings ) => {
776
- expect ( code ) . not . to . contain ( ' describe(\ 'example\ ', function () {\n it(\ 'basic\ ', function (done) {\n done();\n });\n})' )
777
+ expect ( code ) . not . to . contain ( " describe('example', function () {\n it('basic', function (done) {\n done();\n });\n})" )
777
778
done ( )
778
779
} )
779
780
} )
@@ -802,7 +803,7 @@ describe('vue-loader', () => {
802
803
} )
803
804
]
804
805
} , ( code , warnings ) => {
805
- expect ( code ) . to . contain ( ' describe(\ 'example\ ', function () {\n it(\ 'basic\ ', function (done) {\n done();\n });\n})' )
806
+ expect ( code ) . to . contain ( " describe('example', function () {\n it('basic', function (done) {\n done();\n });\n})" )
806
807
done ( )
807
808
} )
808
809
} )
0 commit comments