We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 733f057 commit 0368569Copy full SHA for 0368569
1 file changed
tests/api.test.ts
@@ -67,7 +67,6 @@ describe('api.ts session management', () => {
67
await expect(loadSession()).rejects.toThrow(SyntaxError);
68
});
69
70
-
71
test('loadSession throws when reading credential file fails', async () => {
72
existsSyncSpy = spyOn(fs, 'existsSync').mockReturnValue(true);
73
readFileSyncSpy = spyOn(fs, 'readFileSync').mockImplementation(() => {
@@ -76,7 +75,7 @@ describe('api.ts session management', () => {
76
75
77
await expect(loadSession()).rejects.toThrow('Read error');
78
expect(console.error).toHaveBeenCalledWith(
79
- expect.stringContaining('Failed to parse file')
+ expect.stringContaining('Failed to parse file'),
80
);
81
82
test('replaceSession sets session', () => {
0 commit comments