Update js dependency for integration test

This commit is contained in:
Simon Binder 2024-04-02 13:40:31 +02:00
parent fc7e2ab1e6
commit 54eecf7b45
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ dependencies:
shelf: ^1.4.1
shelf_proxy: ^1.0.4
path: ^1.8.3
js: ^0.6.7
js: ^0.7.0
package_config: ^2.1.0
async: ^2.11.0
http: ^1.0.0

View File

@ -90,7 +90,7 @@ Future<Uint8List?> _initializeDatabase() async {
// Let's first open a custom WasmDatabase, the way it would have been
// 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);
sqlite3.registerVirtualFileSystem(fs, makeDefault: true);