Unverified Commit ab6e7b9f authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[test] Consider `test/integration/` in flake detection tests (#85590)

parent 2704e8bd
...@@ -112,7 +112,10 @@ export default async function getChangedTests() { ...@@ -112,7 +112,10 @@ export default async function getChangedTests() {
.catch(() => false) .catch(() => false)
if (fileExists && file.match(/^test\/.*?\.test\.(js|ts|tsx)$/)) { if (fileExists && file.match(/^test\/.*?\.test\.(js|ts|tsx)$/)) {
if (file.startsWith('test/e2e/')) { if (
file.startsWith('test/e2e/') ||
file.startsWith('test/integration/')
) {
devTests.push(file) devTests.push(file)
prodTests.push(file) prodTests.push(file)
} else if (file.startsWith('test/prod')) { } else if (file.startsWith('test/prod')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment