Skip to content

Commit 86fc11a

Browse files
committed
fix test
1 parent ef2620e commit 86fc11a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/adapters/__tests__/commonTests.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ export default () => [
3737
// expect(() => makeAdapter({})).toThrowError(/missing migrations/)
3838

3939
expect(() => makeAdapter({ migrationsExperimental: [] })).toThrow(
40-
/migrationsExperimental has been renamed/,
40+
/LokiJSAdapter `migrationsExperimental` option has been renamed to `migrations`/,
41+
)
42+
43+
expect(() => makeAdapter({ experimentalUseIncrementalIndexedDB: false })).toThrow(
44+
/LokiJSAdapter `experimentalUseIncrementalIndexedDB` option has been renamed/,
4145
)
4246

4347
expect(() => adapterWithMigrations({ migrations: [] })).toThrow(/use schemaMigrations()/)

0 commit comments

Comments
 (0)