Skip to content

Commit 724749c

Browse files
author
Sergio Rojas
committed
refactor(ES6): ModuleDependencyError.test.js
1 parent 1b8cfab commit 724749c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

test/ModuleDependencyError.test.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ describe("ModuleDependencyError", () => {
2222

2323
it("has a name property", () => env.moduleDependencyError.name.should.be.exactly("ModuleDependencyError"));
2424

25-
it("has a message property", () =>
26-
env.moduleDependencyError.message.should.be.exactly("Location Error Message"));
25+
it("has a message property", () => env.moduleDependencyError.message.should.be.exactly("Location Error Message"));
2726

28-
it("has a details property", () =>
29-
env.moduleDependencyError.details.should.containEql(path.join("test", "ModuleDependencyError.test.js:")));
27+
it("has a details property", () => env.moduleDependencyError.details.should.containEql(path.join("test", "ModuleDependencyError.test.js:")));
3028

3129
it("has an origin property", () => env.moduleDependencyError.origin.should.be.exactly("myModule"));
3230

0 commit comments

Comments
 (0)