Skip to content

Commit 93cd960

Browse files
committed
Fix test
1 parent a800c29 commit 93cd960

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/token.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ describe.each([{ permission: "Admin" }])(
213213

214214
await assert.rejects(
215215
searchClient.index(UID).search(),
216-
/^MeiliSearchApiError: Tenant token expired\. Was valid up to `977016240` and we're now `\d+`\.$/,
216+
/^MeiliSearchApiError: Tenant token expired\. Was valid up to `\d+` and we're now `\d+`\.$/,
217217
);
218218
});
219219

@@ -311,7 +311,7 @@ describe.each([{ permission: "Admin" }])(
311311

312312
await assert.rejects(
313313
searchClient.index(UID).search(),
314-
/^MeiliSearchApiError: Tenant token expired\. Was valid up to `977016240` and we're now `\d+`\.$/,
314+
/^MeiliSearchApiError: Tenant token expired\. Was valid up to `\d+` and we're now `\d+`\.$/,
315315
);
316316
});
317317
},

0 commit comments

Comments
 (0)