Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in export-globals test #2693

Merged
merged 2 commits into from Feb 15, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/form/samples/export-globals/Number.js
@@ -1,9 +1,9 @@
const localIsNan = isNan;
const localIsNaN = isNaN;
const localIsFinite = isFinite;
const localParseFloat = parseFloat;
const localNumber = Number;
export {
localIsNan as isNaN,
localIsNaN as isNaN,
localIsFinite as isFinite,
localParseFloat as parseFloat,
localNumber as Number
Expand Down
6 changes: 3 additions & 3 deletions test/form/samples/export-globals/_expected/amd.js
@@ -1,10 +1,10 @@
define(['exports'], function (exports) { 'use strict';

const localIsNan = isNan;
const localIsNaN = isNaN;

const isNaN = localIsNan;
const isNaN$1 = localIsNaN;

exports.isNaN = isNaN;
exports.isNaN = isNaN$1;

Object.defineProperty(exports, '__esModule', { value: true });

Expand Down
6 changes: 3 additions & 3 deletions test/form/samples/export-globals/_expected/cjs.js
Expand Up @@ -2,8 +2,8 @@

Object.defineProperty(exports, '__esModule', { value: true });

const localIsNan = isNan;
const localIsNaN = isNaN;

const isNaN = localIsNan;
const isNaN$1 = localIsNaN;

exports.isNaN = isNaN;
exports.isNaN = isNaN$1;
6 changes: 3 additions & 3 deletions test/form/samples/export-globals/_expected/es.js
@@ -1,5 +1,5 @@
const localIsNan = isNan;
const localIsNaN = isNaN;

const isNaN = localIsNan;
const isNaN$1 = localIsNaN;

export { isNaN };
export { isNaN$1 as isNaN };
6 changes: 3 additions & 3 deletions test/form/samples/export-globals/_expected/iife.js
@@ -1,11 +1,11 @@
var myBundle = (function (exports) {
'use strict';

const localIsNan = isNan;
const localIsNaN = isNaN;

const isNaN = localIsNan;
const isNaN$1 = localIsNaN;

exports.isNaN = isNaN;
exports.isNaN = isNaN$1;

return exports;

Expand Down
4 changes: 2 additions & 2 deletions test/form/samples/export-globals/_expected/system.js
Expand Up @@ -3,9 +3,9 @@ System.register('myBundle', [], function (exports, module) {
return {
execute: function () {

const localIsNan = isNan;
const localIsNaN = isNaN;

const isNaN = exports('isNaN', localIsNan);
const isNaN$1 = exports('isNaN', localIsNaN);

}
};
Expand Down
6 changes: 3 additions & 3 deletions test/form/samples/export-globals/_expected/umd.js
Expand Up @@ -4,11 +4,11 @@
(global = global || self, factory(global.myBundle = {}));
}(this, function (exports) { 'use strict';

const localIsNan = isNan;
const localIsNaN = isNaN;

const isNaN = localIsNan;
const isNaN$1 = localIsNaN;

exports.isNaN = isNaN;
exports.isNaN = isNaN$1;

Object.defineProperty(exports, '__esModule', { value: true });

Expand Down