Skip to content

Commit

Permalink
fix: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Botseer authored Oct 31, 2023
1 parent c767786 commit 8c34fa5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ describe.each([{ permission: 'Master' }, { permission: 'Admin' }])(
})

expect(client.httpRequest.headers['X-Meilisearch-Client']).toStrictEqual(
`Meilisearch JavaScript (v${PACKAGE_VERSION})`
`Meilisearch Node (v${PACKAGE_VERSION})`
)
})

Expand All @@ -278,7 +278,7 @@ describe.each([{ permission: 'Master' }, { permission: 'Admin' }])(
})

expect(client.httpRequest.headers['X-Meilisearch-Client']).toStrictEqual(
`Meilisearch JavaScript (v${PACKAGE_VERSION})`
`Meilisearch Node (v${PACKAGE_VERSION})`
)
})

Expand All @@ -291,7 +291,7 @@ describe.each([{ permission: 'Master' }, { permission: 'Admin' }])(
})

expect(client.httpRequest.headers['X-Meilisearch-Client']).toStrictEqual(
`random plugin 1 ; random plugin 2 ; Meilisearch JavaScript (v${PACKAGE_VERSION})`
`random plugin 1 ; random plugin 2 ; Meilisearch Node (v${PACKAGE_VERSION})`
)
})

Expand Down

0 comments on commit 8c34fa5

Please sign in to comment.