Skip to content

Commit 0368569

Browse files
Fix linting errors
Co-authored-by: sunnylqm <615282+sunnylqm@users.noreply.github.com>
1 parent 733f057 commit 0368569

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/api.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ describe('api.ts session management', () => {
6767
await expect(loadSession()).rejects.toThrow(SyntaxError);
6868
});
6969

70-
7170
test('loadSession throws when reading credential file fails', async () => {
7271
existsSyncSpy = spyOn(fs, 'existsSync').mockReturnValue(true);
7372
readFileSyncSpy = spyOn(fs, 'readFileSync').mockImplementation(() => {
@@ -76,7 +75,7 @@ describe('api.ts session management', () => {
7675

7776
await expect(loadSession()).rejects.toThrow('Read error');
7877
expect(console.error).toHaveBeenCalledWith(
79-
expect.stringContaining('Failed to parse file')
78+
expect.stringContaining('Failed to parse file'),
8079
);
8180
});
8281
test('replaceSession sets session', () => {

0 commit comments

Comments
 (0)