Skip to content

Commit 6d90ab2

Browse files
committed
Update assertion
1 parent c52c89e commit 6d90ab2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript_client/src/__tests__/cliTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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(/\033\[[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", () => {

0 commit comments

Comments
 (0)