Skip to content

Commit 7c19710

Browse files
author
Chris Joel
committed
Clean up formatting.
1 parent 9a1034f commit 7c19710

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

test/UmdMainTemplatePlugin.test.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ const UmdMainTemplatePlugin = require("../lib/UmdMainTemplatePlugin");
99
describe("UmdMainTemplatePlugin", () => {
1010

1111
const setupBasicTemplatePlugin = name => {
12-
const plugin = new UmdMainTemplatePlugin({ amd: name }, { auxiliaryComment: {} });
12+
const plugin = new UmdMainTemplatePlugin({
13+
amd: name
14+
}, {
15+
auxiliaryComment: {}
16+
});
1317
const templatePlugin = new TemplatePluginEnvironment();
1418
const environment = templatePlugin.getEnvironmentStub();
1519
environment.mainTemplate.applyPluginsWaterfall = () => [];
@@ -36,9 +40,9 @@ describe("UmdMainTemplatePlugin", () => {
3640

3741
beforeEach(() => {
3842
eventHandler = eventBindings
39-
.filter(eventBinding => eventBinding.name === 'render-with-entry')
40-
.map(eventBinding => eventBinding.handler)
41-
.pop();
43+
.filter(eventBinding => eventBinding.name === 'render-with-entry')
44+
.map(eventBinding => eventBinding.handler)
45+
.pop();
4246
});
4347

4448
it("creates source that safely detects the global object", () => {

0 commit comments

Comments
 (0)