Skip to content

Commit 3d373e4

Browse files
committed
build: skip over files in fixtures directories
1 parent f3dc3fe commit 3d373e4

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/_tools/eslint/rules/first-unit-test/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/_tools/eslint/rules/first-unit-test/lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function main( context ) {
7676
hasMainExportTest = false;
7777
tOkExists = false;
7878
filename = context.getFilename();
79-
if ( contains( filename, 'test.' ) ) {
79+
if ( contains( filename, 'test.' ) && !contains( filename, 'fixtures' ) ) {
8080
if ( endsWith( filename, 'cli.js' ) ) {
8181
forCLI = true;
8282
}

0 commit comments

Comments
 (0)