Skip to content

Commit e72f9fa

Browse files
author
Hamed Soleimani
committed
fix the linter rules
1 parent 676e8a4 commit e72f9fa

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/core/src/test/shared/filetypes.test.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,15 @@ describe('isCodeFile', () => {
161161
'build.gradle',
162162
'gradle/wrapper/gradle-wrapper.properties',
163163
]
164-
codeFiles.forEach((codeFilePath) => assert.strictEqual(isCodeFile(codeFilePath), true))
164+
for (const codeFilePath of codeFiles) {
165+
assert.strictEqual(isCodeFile(codeFilePath), true)
166+
}
165167
})
166168

167169
it('returns false for other files', function () {
168170
const codeFiles = ['compiled.exe', 'random_file']
169-
codeFiles.forEach((filePath) => assert.strictEqual(isCodeFile(filePath), false))
171+
for (const filePath of codeFiles) {
172+
assert.strictEqual(isCodeFile(filePath), false)
173+
}
170174
})
171175
})

0 commit comments

Comments
 (0)