Skip to content

Commit eca24fd

Browse files
refactor: make linter happy
error 'paths' is never reassigned. Use 'const' instead prefer-const
1 parent 22fbf6b commit eca24fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/test/HelpersTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class HelperTest {
202202

203203
@test "should generate unique names over and over again"() {
204204
let urlPath = "bla";
205-
let paths = [urlPath];
205+
const paths = [urlPath];
206206
for (let i = 0; i < 5; i++) {
207207
urlPath = Helpers.generateUniqueName(urlPath);
208208
expect(paths.includes(urlPath)).to.equal(false);

0 commit comments

Comments
 (0)