Skip to content

Commit

Permalink
Fix Unit Test
Browse files Browse the repository at this point in the history
The strict mode directive is now no longer generated by uglify.JS. Update expected test results to match the new behavior.
  • Loading branch information
elliot-huffman committed Jun 16, 2024
1 parent 5535761 commit 51596a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ testProcessProject(
},
{
'test.ts': null,
'test.guard.ts': `"use strict";function isFoo(o){return!0}Object.defineProperty(exports,"__esModule",{value:!0}),exports.isFoo=void 0,exports.isFoo=isFoo;`,
'test.guard.ts': `function isFoo(o){return!0}Object.defineProperty(exports,"__esModule",{value:!0}),exports.isFoo=void 0,exports.isFoo=isFoo;`,
},
{
minifyOptions: {
Expand Down

0 comments on commit 51596a4

Please sign in to comment.