mirror of https://github.com/AMT-Cheif/drift.git
0de1e43409 | ||
---|---|---|
.. | ||
lib | ||
test | ||
tool | ||
web | ||
.gitignore | ||
README.md | ||
analysis_options.yaml | ||
build.yaml | ||
pubspec.yaml |
README.md
Integration tests for package:drift/native.dart
.
To test persistence, we need to instrument a browsers in a way not covered by the normal
test
package. For instance, we need to reload pages to ensure data is still there.
Running tests with Firefox
geckodriver &
dart run tool/drift_wasm_test.dart firefox http://localhost:4444
Running tests with Chrome
chromedriver --port=4444 --url-base=wd/hub &
dart run tool/drift_wasm_test.dart chrome http://localhost:4444/wd/hub/