diff --git a/turborepo-tests/integration/tests/affected.t b/turborepo-tests/integration/tests/affected.t index 376232a41702d..491a0b980b843 100644 --- a/turborepo-tests/integration/tests/affected.t +++ b/turborepo-tests/integration/tests/affected.t @@ -64,7 +64,7 @@ Also with `affectedFiles` in `turbo query` "affectedFiles": { "items": [ { - "path": "apps/my-app/new.js", + "path": "apps(\/|\\\\)my-app(\/|\\\\)new.js", (re) "affectedPackages": { "items": [ { @@ -133,7 +133,7 @@ Also with `affectedFiles` in `turbo query` "affectedFiles": { "items": [ { - "path": "apps/my-app/package.json", + "path": "apps(\/|\\\\)my-app(\/|\\\\)package.json", (re) "affectedPackages": { "items": [ { @@ -332,7 +332,7 @@ Also with `affectedFiles` in `turbo query` "affectedFiles": { "items": [ { - "path": "apps/my-app/package.json", + "path": "apps(\/|\\\\)my-app(\/|\\\\)package.json", (re) "affectedPackages": { "items": [ { diff --git a/turborepo-tests/integration/tests/command-query.t b/turborepo-tests/integration/tests/command-query.t index d791c69d5c783..181dacf44f852 100644 --- a/turborepo-tests/integration/tests/command-query.t +++ b/turborepo-tests/integration/tests/command-query.t @@ -175,7 +175,7 @@ Query a file { "data": { "file": { - "path": "apps/my-app/package.json", + "path": "apps(\/|\\\\)my-app(\/|\\\\)package.json", (re) "contents": "{\n \"name\": \"my-app\",\n \"scripts\": {\n \"build\": \"echo building\",\n \"maybefails\": \"exit 4\"\n },\n \"dependencies\": {\n \"util\": \"*\"\n }\n}\n" } } @@ -187,7 +187,7 @@ Get the file's package { "data": { "file": { - "path": "apps/my-app/package.json", + "path": "apps(\/|\\\\)my-app(\/|\\\\)package.json", (re) "package": { "name": "my-app" }