GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — get rid of webpackJsonp global leak · webpack/webpack@06e9a57

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test
    • ConfigTestCases.test.js
    • configCases/hash-length/output-filename
      • test.config.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/ConfigTestCases.test.js‎

Copy file name to clipboardExpand all lines: test/ConfigTestCases.test.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ describe("ConfigTestCases", () => {
226226
);
227227
if (exportedTests < filesCount)
228228
return done(new Error("No tests exported by test case"));
229+
if (testConfig.afterExecute) testConfig.afterExecute();
229230
process.nextTick(done);
230231
});
231232
});
Collapse file

‎test/configCases/hash-length/output-filename/test.config.js‎

Copy file name to clipboardExpand all lines: test/configCases/hash-length/output-filename/test.config.js
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,8 @@ module.exports = {
4444
}
4545

4646
return "./" + filename;
47+
},
48+
afterExecute: () => {
49+
delete global.webpackJsonp;
4750
}
4851
};

0 commit comments

Comments
0 (0)
You are visitor 01402622 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.