expand test file exclusion

This commit is contained in:
Nacho Codoñer
2026-02-18 17:10:25 +01:00
parent 00d1e6f485
commit 0bd094dea4
13 changed files with 25 additions and 25 deletions

View File

@@ -1,16 +1,16 @@
# Folder combination patterns
react-router*-ignored
folder-to-ignored/
file-to-ignored.app-test.js
react-router*
tests/ignored/react-router*-ignored
tests/ignored/folder-to-ignored/
tests/ignored/file-to-ignored.app-test.js
**/glob-ignored/*.app-test.js
prefix-*-ignored
*-ignored-suffix
tests/ignored/prefix-*-ignored
tests/ignored/*-ignored-suffix
# File combination patterns
specific-file-ignored.app-test.js
*.temp-ignored.app-test.js
tests/ignored/specific-file-ignored.app-test.js
tests/ignored/*.temp-ignored.app-test.js
**/unit/*.app-test.js
integration/*-ignored.app-test.js
tests/ignored/integration/*-ignored.app-test.js
tests/ignored/test-*-ignored.app-test.js
!important.app-test.js
test-*-ignored.app-test.js
file-with-multiple-extensions-ignored.app-test.js

View File

@@ -1,5 +0,0 @@
describe("file-with-multiple-extensions-ignored.app-test.js pattern", () => {
it("should not run as ignored", () => {
throw new Error("test should be ignored by eager test loading");
});
});

View File

@@ -1,4 +1,4 @@
describe("file-to-ignored.app-test.js pattern", () => {
describe("tests/ignored/file-to-ignored.app-test.js pattern", () => {
it("should not run as ignored", () => {
throw new Error("test should be ignored by eager test loading");
});

View File

@@ -1,4 +1,4 @@
describe("folder-to-ignored/ pattern", () => {
describe("tests/ignored/folder-to-ignored/ pattern", () => {
it("should not run as ignored", () => {
throw new Error("test should be ignored by eager test loading");
});

View File

@@ -1,4 +1,4 @@
describe("**/unit/*.app-test.js pattern", () => {
describe("tests/ignored/integration/*-ignored.app-test.js pattern", () => {
it("should not run as ignored", () => {
throw new Error("test should be ignored by eager test loading");
});

View File

@@ -1,4 +1,4 @@
describe("**/glob-ignored/*.app-test.js pattern", () => {
describe("tests/ignored/prefix-*-ignored pattern", () => {
it("should not run as ignored", () => {
throw new Error("test should be ignored by eager test loading");
});

View File

@@ -1,4 +1,4 @@
describe("*-ignored-suffix pattern", () => {
describe("tests/ignored/react-router*-ignored pattern", () => {
it("should not run as ignored", () => {
throw new Error("test should be ignored by eager test loading");
});

View File

@@ -1,4 +1,4 @@
describe("prefix-*-ignored pattern", () => {
describe("tests/ignored/*-ignored-suffix pattern", () => {
it("should not run as ignored", () => {
throw new Error("test should be ignored by eager test loading");
});

View File

@@ -0,0 +1,5 @@
describe("tests/ignored/some/nested/glob-ignored/ignore.app-test.js pattern", () => {
it("should not run as ignored", () => {
throw new Error("test should be ignored by eager test loading");
});
});

View File

@@ -1,4 +1,4 @@
describe("integration/*-ignored.app-test.js pattern", () => {
describe("tests/ignored/some/unit/test-ignored.app-test.js pattern", () => {
it("should not run as ignored", () => {
throw new Error("test should be ignored by eager test loading");
});

View File

@@ -1,4 +1,4 @@
describe("specific-file-ignored.app-test.js pattern", () => {
describe("tests/ignored/specific-file-ignored.app-test.js pattern", () => {
it("should not run as ignored", () => {
throw new Error("test should be ignored by eager test loading");
});

View File

@@ -1,4 +1,4 @@
describe("test-*-ignored.app-test.js pattern", () => {
describe("tests/ignored/test-*-ignored.app-test.js pattern", () => {
it("should not run as ignored", () => {
throw new Error("test should be ignored by eager test loading");
});

View File

@@ -1,4 +1,4 @@
describe("*.temp-ignored.app-test.js pattern", () => {
describe("tests/ignored/*.temp-ignored.app-test.js pattern", () => {
it("should not run as ignored", () => {
throw new Error("test should be ignored by eager test loading");
});