Skip to content

Commit b8b4742

Browse files
committed
Update tests
1 parent 7188f3b commit b8b4742

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/base.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@ import instantMeiliSearch from '../src/index'
22

33
test('Should test if instantMeiliSearch Client is created correctly', () => {
44
const client = instantMeiliSearch('http://localhost:7700', 'masterKey')
5-
expect(client.attributesToHighlight).toBe('*')
5+
expect(client.hitsPerPage).toBe(10)
6+
expect(client.limitPerRequest).toBe(50)
7+
expect(client.attributesToHighlight[0]).toBe('*')
68
})

0 commit comments

Comments
 (0)