We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 676e8a4 commit e72f9faCopy full SHA for e72f9fa
packages/core/src/test/shared/filetypes.test.ts
@@ -161,11 +161,15 @@ describe('isCodeFile', () => {
161
'build.gradle',
162
'gradle/wrapper/gradle-wrapper.properties',
163
]
164
- codeFiles.forEach((codeFilePath) => assert.strictEqual(isCodeFile(codeFilePath), true))
+ for (const codeFilePath of codeFiles) {
165
+ assert.strictEqual(isCodeFile(codeFilePath), true)
166
+ }
167
})
168
169
it('returns false for other files', function () {
170
const codeFiles = ['compiled.exe', 'random_file']
- codeFiles.forEach((filePath) => assert.strictEqual(isCodeFile(filePath), false))
171
+ for (const filePath of codeFiles) {
172
+ assert.strictEqual(isCodeFile(filePath), false)
173
174
175
0 commit comments