From bdb54a39b0ae858d70349bab3bfc3b3ef8deb827 Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Tue, 3 Jan 2023 08:53:49 +0100 Subject: [PATCH 1/2] Re-enable web testing --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 86fe9322..ffa99a35 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,7 @@ jobs: - linux - windows - macos + - web include: - platform: linux os: ubuntu-latest @@ -23,6 +24,9 @@ jobs: - platform: macos os: macos-latest sdk: stable + - platform: web + os: ubuntu-latest + dartTestArgs: -p chrome runs-on: ${{ matrix.os }} From a9e3e9af870a414ad66e5f81e4e5d4b5915e2fe1 Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Thu, 5 Jan 2023 11:21:52 +0100 Subject: [PATCH 2/2] Bump oneMs to 10ms --- test/_support/setup.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/_support/setup.dart b/test/_support/setup.dart index cd3c75f8..5ea0e5ca 100644 --- a/test/_support/setup.dart +++ b/test/_support/setup.dart @@ -124,9 +124,9 @@ void tearDownFn() async { // utils -/// Waits 1 millisecond (tests have a throttle of Duration.zero) +/// Waits 10 millisecond (tests have a throttle of Duration.zero) Future oneMs() async { - await Future.delayed(const Duration(milliseconds: 1)); + await Future.delayed(const Duration(milliseconds: 10)); } // home baked watcher