Skip to content

Commit

Permalink
add comment why we expect the error
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatiusmb committed Aug 23, 2021
1 parent 2b3f18f commit 66fdaa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/src/core/config/index.spec.js
Expand Up @@ -90,7 +90,7 @@ test('errors on invalid nested values', () => {
test('does not error on invalid top-level values', () => {
assert.not.throws(() => {
validate_config({
// @ts-expect-error
// @ts-expect-error - valid option for others but not in our definition
onwarn: () => {}
});
});
Expand Down

0 comments on commit 66fdaa8

Please sign in to comment.