Skip to content

Commit 1bbbe1b

Browse files
committed
chore: fix linter warnings
1 parent 43ec882 commit 1bbbe1b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/plugin.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('DevcertPlugin', () => {
2020
const plugin = DevcertPlugin();
2121
const userConfig = { server: { https: { key: 'a', cert: 'b' } } };
2222

23-
// @ts-ignore It's a test, so we can ignore type errors
23+
// @ts-expect-error It's a test, so we can ignore type errors
2424
const result = await plugin.config(userConfig, { command: 'serve' });
2525

2626
expect(warn).toHaveBeenCalledWith('! Skipping devcert, key and cert already provided.');
@@ -32,7 +32,7 @@ describe('DevcertPlugin', () => {
3232
const plugin = DevcertPlugin();
3333
const userConfig = { server: {} };
3434

35-
// @ts-ignore It's a test, so we can ignore type errors
35+
// @ts-expect-error It's a test, so we can ignore type errors
3636
const result = await plugin.config(userConfig, { command: 'serve' });
3737

3838
expect(result?.server?.https?.key).toBe('mock-key');
@@ -43,7 +43,7 @@ describe('DevcertPlugin', () => {
4343
const plugin = DevcertPlugin();
4444
const userConfig = { server: {} };
4545

46-
// @ts-ignore It's a test, so we can ignore type errors
46+
// @ts-expect-error It's a test, so we can ignore type errors
4747
const result = await plugin.config(userConfig, { command: 'build' });
4848

4949
expect(result).toBeUndefined();

0 commit comments

Comments
 (0)