File tree Expand file tree Collapse file tree
javascript_client/src/__tests__ Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ describe("CLI", () => {
1414 it ( "runs with some options" , ( ) => {
1515 var buffer = childProcess . execSync ( "node ./cli.js sync --client=something --header=Abcd:efgh --header=\"Abc: 123 45\" --changeset-version=2023-01-01 --mode=file --path=\"**/doc1.graphql\" --verbose" , { stdio : "pipe" } )
1616 var response = buffer . toString ( ) . replace ( / \0 3 3 \[ [ 0 - 9 ; ] * m / g, "" )
17- expect ( response ) . toEqual ( "No URL; Generating artifacts without syncing them\nGenerating client module in src/OperationStoreClient.js...\n✓ Done!\n" )
17+ expect ( response ) . toEqual ( "No URL; Generating artifacts without syncing them\n[Sync] glob: **/doc1.graphql\n[Sync] 1 files:\n[Sync] - src/__tests__/documents/doc1.graphql\ nGenerating client module in src/OperationStoreClient.js...\n✓ Done!\n" )
1818 } )
1919
2020 it ( "runs with just one header" , ( ) => {
You can’t perform that action at this time.
0 commit comments