Skip to content

Commit

Permalink
test: updated WebAuthSpec login and logout tests to clear transaction…
Browse files Browse the repository at this point in the history
… store before each run to start clean
  • Loading branch information
desusai7 committed May 8, 2024
1 parent 24dced0 commit 5b8d38a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Auth0Tests/WebAuthSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ class WebAuthSpec: QuickSpec {

beforeEach {
auth = newWebAuth()
TransactionStore.shared.clear()
}

it("should start the supplied provider") {
Expand Down Expand Up @@ -600,6 +601,7 @@ class WebAuthSpec: QuickSpec {

beforeEach {
auth = newWebAuth()
TransactionStore.shared.clear()
}

it("should start the supplied provider") {
Expand Down

0 comments on commit 5b8d38a

Please sign in to comment.