diff --git a/test/function/import-default-class/_config.js b/test/function/import-default-class/_config.js index 4542b16..81ea9a8 100644 --- a/test/function/import-default-class/_config.js +++ b/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 diff --git a/test/function/import-named-class/_config.js b/test/function/import-named-class/_config.js index c87363f..294e457 100644 --- a/test/function/import-named-class/_config.js +++ b/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 diff --git a/test/function/import-nameless-class-expression/_config.js b/test/function/import-nameless-class-expression/_config.js index b8457ba..19e6157 100644 --- a/test/function/import-nameless-class-expression/_config.js +++ b/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