Skip to content

Commit 444defa

Browse files
committed
fix tests
1 parent 2848f84 commit 444defa

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

packages/cli/tests/settings/config.test.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ describe('Config', () => {
3636

3737
const config = getConfig();
3838

39-
expect(config).toEqual({ githubMode: false });
39+
expect(config).toEqual({
40+
githubMode: false,
41+
headless: true,
42+
userSession: false,
43+
pageFilter: 'none',
44+
});
4045
expect(fs.existsSync).toHaveBeenCalledWith(mockConfigFile);
4146
});
4247

@@ -60,7 +65,12 @@ describe('Config', () => {
6065

6166
const config = getConfig();
6267

63-
expect(config).toEqual({ githubMode: false });
68+
expect(config).toEqual({
69+
githubMode: false,
70+
headless: true,
71+
userSession: false,
72+
pageFilter: 'none',
73+
});
6474
});
6575
});
6676

0 commit comments

Comments
 (0)