Skip to content

Commit

Permalink
Fix up integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasLYang committed Nov 1, 2024
1 parent eaa4d11 commit 5106592
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions turborepo-tests/integration/tests/turbo-trace.t
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ Setup
}
Trace file with invalid import
$ ${TURBO} query "query { file(path: \"invalid.ts\") { path dependencies { files { items { path } } errors { items { message } } } } }"
WARNING query command is experimental and may change in the future
$ ${TURBO} query "query { file(path: \"invalid.ts\") { path dependencies { files { items { path } } errors { items { message } } } } }" 2>/dev/null
{
"data": {
"file": {
Expand All @@ -110,7 +109,7 @@ Trace file with invalid import
"errors": {
"items": [
{
"message": "failed to resolve import to `./non-existent-file.js`"
"message": "failed to resolve import to `./non-existent-file.js` in `.*`" (re)
}
]
}
Expand Down

0 comments on commit 5106592

Please sign in to comment.