Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasLYang committed Sep 25, 2024
1 parent 9a96c0a commit ba8df11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions turborepo-tests/integration/tests/affected.t
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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": [
{
Expand Down
4 changes: 2 additions & 2 deletions turborepo-tests/integration/tests/command-query.t
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand All @@ -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"
}
Expand Down

0 comments on commit ba8df11

Please sign in to comment.