restructure test directory
This commit is contained in:
8
test/fixtures/syntax/modules/exports-variable/actual.js
vendored
Normal file
8
test/fixtures/syntax/modules/exports-variable/actual.js
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
export var foo = 1;
|
||||
export var foo2 = function () {};
|
||||
export var foo3;
|
||||
export let foo4 = 2;
|
||||
export let foo5;
|
||||
export const foo6 = 3;
|
||||
export function foo7 () {}
|
||||
export class foo8 {}
|
||||
33
test/fixtures/syntax/modules/exports-variable/expected.js
vendored
Normal file
33
test/fixtures/syntax/modules/exports-variable/expected.js
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
var foo;
|
||||
var foo2;
|
||||
var foo3;
|
||||
var foo8;
|
||||
(function () {
|
||||
exports.foo7 = foo7;
|
||||
|
||||
foo = 1;
|
||||
exports.foo = foo;
|
||||
|
||||
foo2 = function () {};
|
||||
exports.foo2 = foo2;
|
||||
|
||||
exports.foo3 = foo3;
|
||||
|
||||
var foo4 = 2;
|
||||
exports.foo4 = foo4;
|
||||
|
||||
var foo5;
|
||||
exports.foo5 = foo5;
|
||||
|
||||
var foo6 = 3;
|
||||
exports.foo6 = foo6;
|
||||
|
||||
function foo7 () {}
|
||||
|
||||
foo8 = function () {
|
||||
function foo8() {
|
||||
}
|
||||
return foo8;
|
||||
}();
|
||||
exports.foo8 = foo8;
|
||||
}());
|
||||
Reference in New Issue
Block a user