Skip to content

Commit

Permalink
(bugfix): finish run in after hook
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Jan 22, 2024
1 parent 0240e32 commit d7f81b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class SnapshotService implements Services.ServiceInstance {
this.#snapshotClient.startCurrentRun(test.file, test.fullTitle, this.#options)
}

async afterTest() {
async after() {
const result = await this.#snapshotClient.finishCurrentRun()
if (!result) {
return
Expand Down

0 comments on commit d7f81b1

Please sign in to comment.