diff --git a/pubspec.lock b/pubspec.lock index e243c74..7f54f84 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -596,12 +596,10 @@ packages: test_coverage: dependency: "direct dev" description: - path: "." - ref: "6831abb314cc05e32b5d9140324e84069484b2eb" - resolved-ref: "6831abb314cc05e32b5d9140324e84069484b2eb" - url: "https://github.com/pulyaevskiy/test-coverage.git" - source: git - version: "0.4.2" + name: test_coverage + url: "https://pub.dartlang.org" + source: hosted + version: "0.4.1" timing: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 91cd574..1fb7673 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -29,12 +29,8 @@ dependencies: dev_dependencies: test: ^1.0.0 - test_coverage: - git: - url: https://github.com/pulyaevskiy/test-coverage.git - ref: 6831abb314cc05e32b5d9140324e84069484b2eb -# test_coverage: ^0.4.1 + test_coverage: ^0.4.1 moor_generator: ^3.0.0 build_runner: ^1.5.2 pedantic: ^1.9.0 - moor_ffi: ^0.5.0 + moor_ffi: ^0.5.0 \ No newline at end of file diff --git a/test.sh b/test.sh index 6cc1c7b..5efc157 100644 --- a/test.sh +++ b/test.sh @@ -1,6 +1,6 @@ #!/bin/sh -e pub run test -p vm -pub run test_coverage --print-test-output +pub run test_coverage pub global activate remove_from_coverage pub global run remove_from_coverage:remove_from_coverage -f coverage/lcov.info -r '.g.dart$' genhtml -o coverage coverage/lcov.info || true