Skip to content

Commit

Permalink
fix(index): correct misspelling of received in error string
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Smith committed Mar 8, 2021
1 parent 4d29672 commit cda01e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function parseOptions(acceptedOptions, options) {
invalidArgs.push(
`Invalid value type provided for option '${key}', expected ${
acceptedOptions[key].type
} but recieved ${typeof options[key]}`
} but received ${typeof options[key]}`
);
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ describe("Convert Function", () => {
expect.assertions(1);
await unRtf.convert(file, options).catch((err) => {
expect(err.message).toEqual(
"Invalid value type provided for option 'outputHtml', expected boolean but recieved string"
"Invalid value type provided for option 'outputHtml', expected boolean but received string"
);
});
});
Expand Down

0 comments on commit cda01e6

Please sign in to comment.