Skip to content

Commit

Permalink
chore: remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ahungrynoob committed Oct 27, 2021
1 parent ed59eb3 commit ebad026
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,4 @@ dist
Cargo.lock

*.node
.npmrc
2 changes: 0 additions & 2 deletions __test__/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ test('isValid async function from native code', async (t) => {
test('validate async function from native code', async (t) => {
await t.notThrowsAsync(validate(correctData, schema))
const error = await t.throwsAsync(validate(exceptionData, schema))
// TODO: check the message content;
console.error(error.message)
t.is(
error.message,
`Validation error: 1 is not of type "string"; Instance path: /bar; \nValidation error: "abc" is not of type "integer"; Instance path: /foo; \n`,
Expand Down

0 comments on commit ebad026

Please sign in to comment.