Skip to content

Commit 1d43d2d

Browse files
Fix lint
1 parent 4d0ac4c commit 1d43d2d

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

tests-node/unit/deploy/plugin-test.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,11 @@ describe('`deploy` | plugin test', function () {
9696
`;
9797
const encodedVersion = encodeURIComponent(JSON.stringify({ path: '' }));
9898
const addonDocsRootURL = '/';
99-
const actual = replaceDeployTokens(contents, addonDocsRootURL, encodedVersion);
99+
const actual = replaceDeployTokens(
100+
contents,
101+
addonDocsRootURL,
102+
encodedVersion,
103+
);
100104

101105
// rootURL should stay as / (no change for root deploy)
102106
assert.include(actual, '%22rootURL%22%3A%22%2F%22');
@@ -108,7 +112,11 @@ describe('`deploy` | plugin test', function () {
108112
const contents = '<link href="/assets/vendor.css" rel="stylesheet">';
109113
const encodedVersion = encodeURIComponent(JSON.stringify({ path: '' }));
110114
const addonDocsRootURL = '/my-addon/';
111-
const actual = replaceDeployTokens(contents, addonDocsRootURL, encodedVersion);
115+
const actual = replaceDeployTokens(
116+
contents,
117+
addonDocsRootURL,
118+
encodedVersion,
119+
);
112120

113121
assert.include(actual, 'href="/my-addon/assets/vendor.css"');
114122
});

tests/unit/models/class-test.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,13 @@ module('Unit | Model | class', function () {
4040

4141
test('child members override parent members with same name', function (assert) {
4242
let parent = new Class();
43-
parent.accessors = [
44-
{ name: 'shared', access: 'public', from: 'parent' },
45-
];
43+
parent.accessors = [{ name: 'shared', access: 'public', from: 'parent' }];
4644
parent.methods = [];
4745
parent.fields = [];
4846

4947
let child = new Class();
5048
child.parentClass = parent;
51-
child.accessors = [
52-
{ name: 'shared', access: 'public', from: 'child' },
53-
];
49+
child.accessors = [{ name: 'shared', access: 'public', from: 'child' }];
5450
child.methods = [];
5551
child.fields = [];
5652

0 commit comments

Comments
 (0)