Skip to content

Commit 29898df

Browse files
authored
Attempt to run Cors functional tests with watchman disabled. (#7076)
According to jestjs/jest#2219, jest will not run tests if watchman is installed. It is not entirely clear if this is the case in our OSX CI environment, but the symptoms seem close to what's reported in the issue. Possible fix for https://github.com/aspnet/AspNetCore-Internal/issues/1619
1 parent 3ea1f6a commit 29898df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Middleware/CORS/test/FunctionalTests/CorsMiddlewareFunctionalTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ public async Task RunClientTests()
3737
processStartInfo = new ProcessStartInfo
3838
{
3939
FileName = "cmd",
40-
Arguments = "/c npm test --no-color",
40+
Arguments = "/c npm test --no-color --no-watchman",
4141
};
4242
}
4343
else
4444
{
4545
processStartInfo = new ProcessStartInfo
4646
{
4747
FileName = "npm",
48-
Arguments = "test",
48+
Arguments = "test --no-watchman",
4949
};
5050
}
5151

0 commit comments

Comments
 (0)