Skip to content

Commit 812751f

Browse files
committedFeb 20, 2021
Lint fix
1 parent 33d050f commit 812751f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed
 

‎test/base.js

+10-2
Original file line numberDiff line numberDiff line change
@@ -1792,12 +1792,20 @@ describe('Base', () => {
17921792
});
17931793

17941794
it("should return namespace as uniqueBy when unique is 'namespace'", function () {
1795-
const gen = new Base([], {unique: 'namespace', namespace: 'foo', env: this.env});
1795+
const gen = new Base([], {
1796+
unique: 'namespace',
1797+
namespace: 'foo',
1798+
env: this.env
1799+
});
17961800
assert.equal(gen.getFeatures().uniqueBy, 'foo');
17971801
});
17981802

17991803
it("should return namespace with first argument as uniqueBy when unique is 'namespace'", function () {
1800-
const gen = new Base(['bar'], {unique: 'argument', namespace: 'foo', env: this.env});
1804+
const gen = new Base(['bar'], {
1805+
unique: 'argument',
1806+
namespace: 'foo',
1807+
env: this.env
1808+
});
18011809
assert.equal(gen.getFeatures().uniqueBy, 'foo#bar');
18021810
});
18031811
});

0 commit comments

Comments
 (0)
Please sign in to comment.