LCOV - code coverage report
Current view: top level - lib/src/utils/web_worker - web_worker_stub.dart (source / functions) Hit Total Coverage
Test: merged.info Lines: 0 1 0.0 %
Date: 2024-07-12 20:20:16 Functions: 0 0 -

          Line data    Source code
       1             : import 'dart:async';
       2             : 
       3             : ///
       4             : ///
       5             : /// CAUTION: THIS FILE NEEDS TO BE MANUALLY COMPILED
       6             : ///
       7             : /// 1. in your project, create a file `web/web_worker.dart`
       8             : /// 2. add the following contents:
       9             : /// ```dart
      10             : /// import 'package:hive/hive.dart';
      11             : ///
      12             : /// Future<void> main() => startWebWorker();
      13             : /// ```
      14             : /// 3. compile the file using:
      15             : /// ```shell
      16             : /// dart compile js -o web/web_worker.dart.js -m web/web_worker.dart
      17             : /// ```
      18             : ///
      19             : /// You should not check in that file into your VCS. Instead, you should compile
      20             : /// the web worker in your CI pipeline.
      21             : ///
      22             : 
      23           0 : Future<void> startWebWorker() => Future.value();

Generated by: LCOV version 1.14