We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e380a06 commit f0d684dCopy full SHA for f0d684d
packages/sqlite_async/test/utils/web_test_utils.dart
@@ -19,7 +19,7 @@ class TestUtils extends AbstractTestUtils {
19
20
Future<void> _init() async {
21
final channel = spawnHybridUri('/test/server/worker_server.dart');
22
- final port = (await channel.stream.first as num).toInt();
+ final port = await channel.stream.first as int;
23
final sqliteWasmUri = 'http://localhost:$port/sqlite3.wasm';
24
// Cross origin workers are not supported, but we can supply a Blob
25
var sqliteUri = 'http://localhost:$port/db_worker.js';
0 commit comments