Skip to content

Commit 29e66ea

Browse files
committed
test(model): fix typo in for error message
1 parent fbd2bca commit 29e66ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/model.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ describe('Model methods', () => {
671671
const post = new Post({ text: 'Hello' }).for(user)
672672
}
673673

674-
expect(errorModel).toThrow('The object referenced on for() method has a invalid id.')
674+
expect(errorModel).toThrow('The object referenced on for() method has an invalid id.')
675675
})
676676

677677
test('it throws a error when a custom() parameter is not a valid Model or a string', () => {

0 commit comments

Comments
 (0)