Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Oct 7, 2020
1 parent 272de36 commit 197a4ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
16 changes: 4 additions & 12 deletions test/fs-gzip-blob-storage-errors.ts
Expand Up @@ -38,9 +38,7 @@ Feature("Test FsGzipBlobStorage errors", () => {
})

Then("error is caught", () => {
expect(error)
.is.an("error")
.and.have.property("code", "ENOENT")
expect(error).is.an("error").and.have.property("code", "ENOENT")
})
})

Expand All @@ -67,9 +65,7 @@ Feature("Test FsGzipBlobStorage errors", () => {
})

Then("error is caught", () => {
expect(error)
.is.an("error")
.and.have.property("code", "ENOENT")
expect(error).is.an("error").and.have.property("code", "ENOENT")
})
})

Expand All @@ -96,9 +92,7 @@ Feature("Test FsGzipBlobStorage errors", () => {
})

Then("error is caught", () => {
expect(error)
.is.an("error")
.and.have.property("code", "ENOENT")
expect(error).is.an("error").and.have.property("code", "ENOENT")
})
})

Expand All @@ -125,9 +119,7 @@ Feature("Test FsGzipBlobStorage errors", () => {
})

Then("error is caught", () => {
expect(error)
.is.an("error")
.and.have.property("code", "ENOENT")
expect(error).is.an("error").and.have.property("code", "ENOENT")
})
})
})
8 changes: 2 additions & 6 deletions test/fs-gzip-blob-storage-exclusive-errors.ts
Expand Up @@ -41,9 +41,7 @@ Feature("Test FsGzipBlobStorage errors for exclusive option", () => {
})

Then("error is caught", () => {
expect(error)
.is.an("error")
.and.have.property("code", "EEXIST")
expect(error).is.an("error").and.have.property("code", "EEXIST")
})
})

Expand All @@ -70,9 +68,7 @@ Feature("Test FsGzipBlobStorage errors for exclusive option", () => {
})

Then("error is caught", () => {
expect(error)
.is.an("error")
.and.have.property("code", "EEXIST")
expect(error).is.an("error").and.have.property("code", "EEXIST")
})
})
})

0 comments on commit 197a4ae

Please sign in to comment.