Skip to content

Commit 78dee90

Browse files
authored
test: suppress warning (#1364)
1 parent ba56f30 commit 78dee90

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/migration.spec.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ const promiseMigration = '1414549381268_names_promise.js';
1515
const reverseMigration = '1739900132875_names_reversed.js';
1616
const migrationsTable = 'pgmigrations';
1717

18-
const actionsCallback = await import(`./${callbackMigration}`);
19-
const actionsPromise = await import(`./${promiseMigration}`);
20-
const reversePromise = await import(`./${reverseMigration}`);
18+
const actionsCallback = await import(
19+
/* @vite-ignore */ `./${callbackMigration}`
20+
);
21+
const actionsPromise = await import(/* @vite-ignore */ `./${promiseMigration}`);
22+
const reversePromise = await import(/* @vite-ignore */ `./${reverseMigration}`);
2123

2224
describe('migration', () => {
2325
const dbMock = {} as DBConnection;

0 commit comments

Comments
 (0)