mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-17 17:10:05 +00:00
style: lint
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { isValidJson } from "../../utils"
|
import { isValidJson } from '../../utils'
|
||||||
|
|
||||||
describe.only('jsonValidator', () => {
|
describe.only('jsonValidator', () => {
|
||||||
it('should not throw an error with an valid json', () => {
|
it('should not throw an error with an valid json', () => {
|
||||||
@@ -23,7 +23,7 @@ describe.only('jsonValidator', () => {
|
|||||||
expect(() => {
|
expect(() => {
|
||||||
try {
|
try {
|
||||||
isValidJson(json)
|
isValidJson(json)
|
||||||
} catch(err) {
|
} catch (err) {
|
||||||
throw new Error()
|
throw new Error()
|
||||||
}
|
}
|
||||||
}).toThrowError
|
}).toThrowError
|
||||||
|
|||||||
Reference in New Issue
Block a user