Skip to content

Commit ba8df11

Browse files
committed
Fix test
1 parent 9a96c0a commit ba8df11

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
@@ -64,7 +64,7 @@ Also with `affectedFiles` in `turbo query`
6464
"affectedFiles": {
6565
"items": [
6666
{
67-
"path": "apps/my-app/new.js",
67+
"path": "apps(\/|\\\\)my-app(\/|\\\\)new.js", (re)
6868
"affectedPackages": {
6969
"items": [
7070
{
@@ -133,7 +133,7 @@ Also with `affectedFiles` in `turbo query`
133133
"affectedFiles": {
134134
"items": [
135135
{
136-
"path": "apps/my-app/package.json",
136+
"path": "apps(\/|\\\\)my-app(\/|\\\\)package.json", (re)
137137
"affectedPackages": {
138138
"items": [
139139
{
@@ -332,7 +332,7 @@ Also with `affectedFiles` in `turbo query`
332332
"affectedFiles": {
333333
"items": [
334334
{
335-
"path": "apps/my-app/package.json",
335+
"path": "apps(\/|\\\\)my-app(\/|\\\\)package.json", (re)
336336
"affectedPackages": {
337337
"items": [
338338
{

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Query a file
175175
{
176176
"data": {
177177
"file": {
178-
"path": "apps/my-app/package.json",
178+
"path": "apps(\/|\\\\)my-app(\/|\\\\)package.json", (re)
179179
"contents": "{\n \"name\": \"my-app\",\n \"scripts\": {\n \"build\": \"echo building\",\n \"maybefails\": \"exit 4\"\n },\n \"dependencies\": {\n \"util\": \"*\"\n }\n}\n"
180180
}
181181
}
@@ -187,7 +187,7 @@ Get the file's package
187187
{
188188
"data": {
189189
"file": {
190-
"path": "apps/my-app/package.json",
190+
"path": "apps(\/|\\\\)my-app(\/|\\\\)package.json", (re)
191191
"package": {
192192
"name": "my-app"
193193
}

0 commit comments

Comments
 (0)