We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 501f379 commit 8d2f6b1Copy full SHA for 8d2f6b1
packages/jest-config/src/__tests__/normalize.test.ts
@@ -1888,11 +1888,11 @@ describe('updateSnapshot', () => {
1888
});
1889
it('should be new if updateSnapshot is falsy', async () => {
1890
{
1891
- const {options} = await normalize({rootDir: '/root/'}, {} as Config.Argv);
+ const {options} = await normalize({ci: false, rootDir: '/root/'}, {} as Config.Argv);
1892
expect(options.updateSnapshot).toBe('new');
1893
}
1894
1895
- const {options} = await normalize({rootDir: '/root/'}, {
+ const {options} = await normalize({ci: false, rootDir: '/root/'}, {
1896
updateSnapshot: false,
1897
} as Config.Argv);
1898
0 commit comments