Skip to content

Commit a1a4e82

Browse files
authored
reformatting
1 parent c87bddf commit a1a4e82

1 file changed

Lines changed: 15 additions & 10 deletions

File tree

‎test/RawModule.test.js‎

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ describe("RawModule", () => {
3131

3232
describe("readableIdentifier", () => {
3333
it("returns result of calling provided requestShortener\"s shorten method " +
34-
"on readableIdentifierStr attribute", () => {
35-
const requestShortener = new RequestShortener(path.resolve());
36-
should.exist(myRawModule.readableIdentifier(requestShortener));
37-
});
34+
"on readableIdentifierStr attribute",
35+
() => {
36+
const requestShortener = new RequestShortener(path.resolve());
37+
should.exist(myRawModule.readableIdentifier(requestShortener));
38+
}
39+
);
3840
});
3941

4042
describe("needRebuild", () => {
@@ -48,13 +50,16 @@ describe("RawModule", () => {
4850
const originalSource = new OriginalSource(myRawModule.sourceStr, myRawModule.identifier());
4951
myRawModule.useSourceMap = true;
5052
myRawModule.source().should.match(originalSource);
51-
});
53+
}
54+
);
5255

5356
it("returns a new RawSource instance with sourceStr attribute provided " +
54-
"as constructor argument if useSourceMap is falsey", () => {
55-
const rawSource = new RawSource(myRawModule.sourceStr);
56-
myRawModule.useSourceMap = false;
57-
myRawModule.source().should.match(rawSource);
58-
});
57+
"as constructor argument if useSourceMap is falsey",
58+
() => {
59+
const rawSource = new RawSource(myRawModule.sourceStr);
60+
myRawModule.useSourceMap = false;
61+
myRawModule.source().should.match(rawSource);
62+
}
63+
);
5964
});
6065
});

0 commit comments

Comments
 (0)