Skip to content

Commit 33e00c6

Browse files
committed
Fix linting errors
1 parent 0e39c0d commit 33e00c6

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

tests/validation/drivers/validators/isObject.spec.ts

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import { expect } from "chai"
22
import { combineValidators } from "../../../../src/validation/drivers/helpers/combineValidators"
3+
import { either } from "../../../../src/validation/drivers/helpers/either"
34
import {
4-
ValidationError,
5-
isISOAlpha2CountryCode,
6-
isObject,
7-
isString, isUndefined
8-
} from "../../../../src";
9-
import { either } from "../../../../src/validation/drivers/helpers/either";
5+
ValidationError,
6+
isISOAlpha2CountryCode,
7+
isObject,
8+
isString,
9+
isUndefined,
10+
} from "../../../../src"
1011

1112
describe("isNull", () => {
1213
const objectFilter = isObject({
@@ -58,14 +59,14 @@ describe("isNull", () => {
5859
})
5960

6061
it("should return a required validation error if a key is absent", async () => {
61-
try {
62-
await objectFilter({
63-
test: "Test Value"
64-
})
65-
expect(false).to.equal(true)
66-
} catch (e) {
67-
expect(e).to.be.instanceOf(ValidationError)
68-
expect(e.constraintName).to.equal("IS_STRING")
69-
}
62+
try {
63+
await objectFilter({
64+
test: "Test Value",
65+
})
66+
expect(false).to.equal(true)
67+
} catch (e) {
68+
expect(e).to.be.instanceOf(ValidationError)
69+
expect(e.constraintName).to.equal("IS_STRING")
70+
}
7071
})
7172
})

0 commit comments

Comments
 (0)