Skip to content

Commit

Permalink
chore: clear users after running test
Browse files Browse the repository at this point in the history
  • Loading branch information
onehassan committed Oct 30, 2023
1 parent a178be3 commit 0c7427b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/nhost_dart/test/auth_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,10 @@ void main() async {
nock.cleanAll();
});

tearDownAll(() {
tearDownAll(() async {
// Clear out any data from the previous test
await gqlAdmin.clearUsers();

HttpOverrides.global = null;
});

Expand Down

0 comments on commit 0c7427b

Please sign in to comment.