Skip to content

Commit 30a2d12

Browse files
committed
Fix test
1 parent 4c5695e commit 30a2d12

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

turborepo-tests/integration/tests/affected.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Also with `affectedFiles` in `turbo query`
6868
"affectedFiles": {
6969
"items": [
7070
{
71-
"path": "apps/my-app/new.js",
71+
"path": "apps(\/|\\\\)my-app(\/|\\\\)new.js", (re)
7272
"affectedPackages": {
7373
"items": [
7474
{
@@ -171,7 +171,7 @@ Also with `affectedFiles` in `turbo query`
171171
"affectedFiles": {
172172
"items": [
173173
{
174-
"path": "apps/my-app/package.json",
174+
"path": "apps(\/|\\\\)my-app(\/|\\\\)package.json", (re)
175175
"affectedPackages": {
176176
"items": [
177177
{
@@ -370,7 +370,7 @@ Also with `affectedFiles` in `turbo query`
370370
"affectedFiles": {
371371
"items": [
372372
{
373-
"path": "apps/my-app/package.json",
373+
"path": "apps(\/|\\\\)my-app(\/|\\\\)package.json", (re)
374374
"affectedPackages": {
375375
"items": [
376376
{

turborepo-tests/integration/tests/command-query.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Query a file
220220
{
221221
"data": {
222222
"file": {
223-
"path": "apps/my-app/package.json",
223+
"path": "apps(\/|\\\\)my-app(\/|\\\\)package.json", (re)
224224
"contents": "{\n \"name\": \"my-app\",\n \"scripts\": {\n \"build\": \"echo building\",\n \"maybefails\": \"exit 4\"\n },\n \"dependencies\": {\n \"util\": \"*\"\n }\n}\n"
225225
}
226226
}
@@ -232,7 +232,7 @@ Get the file's package
232232
{
233233
"data": {
234234
"file": {
235-
"path": "apps/my-app/package.json",
235+
"path": "apps(\/|\\\\)my-app(\/|\\\\)package.json", (re)
236236
"package": {
237237
"name": "my-app"
238238
}

0 commit comments

Comments
 (0)