Skip to content

Commit 1ced35a

Browse files
committed
run all spec.mjs test files, not just jsfmt, remove __tests__ dir as not used
1 parent d3a6239 commit 1ced35a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default {
1414
transform: {},
1515
setupFiles: ["<rootDir>/tests_config/run_spec.mjs"],
1616
// Matches `.js` file to prevent files use `.js` extension by mistake, https://github.com/prettier/plugin-php/pull/2247#discussion_r1331847801
17-
testRegex: "jsfmt\\.spec\\.m?js$|__tests__/.*\\.m?js$",
17+
testRegex: ".*\\.spec\\.m?js$",
1818
snapshotSerializers: ["jest-snapshot-serializer-raw"],
1919
globals: {
2020
STANDALONE: RUN_STANDALONE_TESTS,

0 commit comments

Comments
 (0)