Skip to content

Commit bef748f

Browse files
committed
Test: Move ES 2015 assertions
1 parent 706d469 commit bef748f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/fixtures/es2015.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { hello } from './utils';
55

66
export default {
7-
data () {
7+
data() {
88
return {
99
hi: hello('friend')
1010
};

test/loader.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ describe('loader', function() {
6666

6767
// es2015 statements remain
6868
expect(code).to.contain('import { hello } from \'./utils\';');
69+
expect(code).to.contain('data() {');
6970
})
7071
);
7172

0 commit comments

Comments
 (0)