mirror of https://github.com/AMT-Cheif/drift.git
Update js dependency for integration test
This commit is contained in:
parent
fc7e2ab1e6
commit
54eecf7b45
|
@ -13,7 +13,7 @@ dependencies:
|
||||||
shelf: ^1.4.1
|
shelf: ^1.4.1
|
||||||
shelf_proxy: ^1.0.4
|
shelf_proxy: ^1.0.4
|
||||||
path: ^1.8.3
|
path: ^1.8.3
|
||||||
js: ^0.6.7
|
js: ^0.7.0
|
||||||
package_config: ^2.1.0
|
package_config: ^2.1.0
|
||||||
async: ^2.11.0
|
async: ^2.11.0
|
||||||
http: ^1.0.0
|
http: ^1.0.0
|
||||||
|
|
|
@ -90,7 +90,7 @@ Future<Uint8List?> _initializeDatabase() async {
|
||||||
|
|
||||||
// Let's first open a custom WasmDatabase, the way it would have been
|
// Let's first open a custom WasmDatabase, the way it would have been
|
||||||
// done before WasmDatabase.open.
|
// done before WasmDatabase.open.
|
||||||
final sqlite3 = await WasmSqlite3.loadFromUrl(Uri.parse('sqlite3.wasm'));
|
final sqlite3 = await WasmSqlite3.loadFromUrl(sqlite3WasmUri);
|
||||||
final fs = await IndexedDbFileSystem.open(dbName: dbName);
|
final fs = await IndexedDbFileSystem.open(dbName: dbName);
|
||||||
sqlite3.registerVirtualFileSystem(fs, makeDefault: true);
|
sqlite3.registerVirtualFileSystem(fs, makeDefault: true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue