Browse Source

try and get tests to pass in node 0.10 and 0.12

contingency-plan
Rich-Harris 10 years ago
parent
commit
21a12658e8
  1. 2
      test/function/import-default-class/_config.js
  2. 2
      test/function/import-named-class/_config.js
  3. 2
      test/function/import-nameless-class-expression/_config.js

2
test/function/import-default-class/_config.js

@ -1,6 +1,6 @@
module.exports = {
description: 'imports a default class',
babel: [ 'es6.classes' ]
babel: [ 'es6.classes', 'es6.blockScoping' ]
};
// test copied from https://github.com/esnext/es6-module-transpiler/tree/master/test/examples/export-default-class

2
test/function/import-named-class/_config.js

@ -1,6 +1,6 @@
module.exports = {
description: 'imports a named class',
babel: [ 'es6.classes' ]
babel: [ 'es6.classes', 'es6.blockScoping' ]
};
// test copied from https://github.com/esnext/es6-module-transpiler/tree/master/test/examples/export-named-class

2
test/function/import-nameless-class-expression/_config.js

@ -1,6 +1,6 @@
module.exports = {
description: 'imports a nameless class expression',
babel: [ 'es6.classes' ]
babel: [ 'es6.classes', 'es6.blockScoping' ]
};
// test copied from https://github.com/esnext/es6-module-transpiler/tree/master/test/examples/export-class-expression

Loading…
Cancel
Save