Skip to content

Commit 6272bd5

Browse files
committed
fix tests after rebase
1 parent e1f7b35 commit 6272bd5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/commands/asset-registry/asset-registry-examples.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe("Asset registry examples", () => {
3131
expect(mockWriteFileSync).toHaveBeenCalledWith(
3232
path.resolve(process.cwd(), expectedFileName),
3333
expect.any(String),
34-
{ encoding: "utf-8" }
34+
{ encoding: "utf-8", mode: 0o600 }
3535
);
3636

3737
const written = JSON.parse(mockWriteFileSync.mock.calls[0][1]);

tests/commands/asset-registry/asset-registry-methodology.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe("Asset registry methodology", () => {
3434
expect(mockWriteFileSync).toHaveBeenCalledWith(
3535
path.resolve(process.cwd(), expectedFileName),
3636
expect.any(String),
37-
{ encoding: "utf-8" }
37+
{ encoding: "utf-8", mode: 0o600 }
3838
);
3939

4040
const written = JSON.parse(mockWriteFileSync.mock.calls[0][1]);

tests/commands/asset-registry/asset-registry-schema.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe("Asset registry schema", () => {
3737
expect(mockWriteFileSync).toHaveBeenCalledWith(
3838
path.resolve(process.cwd(), expectedFileName),
3939
expect.any(String),
40-
{ encoding: "utf-8" }
40+
{ encoding: "utf-8", mode: 0o600 }
4141
);
4242

4343
const written = JSON.parse(mockWriteFileSync.mock.calls[0][1]);

0 commit comments

Comments
 (0)