Skip to content

Commit

Permalink
Fix typo in export-globals test (#2693)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens authored and lukastaegert committed Feb 15, 2019
1 parent 4247a86 commit c702f3a
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
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

0 comments on commit c702f3a

Please sign in to comment.