Skip to content

Commit

Permalink
Server: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthi-chaud committed Jul 13, 2024
1 parent 6e0c250 commit 9cd7d1e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions server/src/providers/wikipedia/wikipedia.provider.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ describe("Wikipedia Provider", () => {

expect(value).toBe("Siobhán Donaghy");
expect(description).not.toBeNull();
expect(
description!.startsWith(
"Siobhán Emma Donaghy (born 14 June 1984)",
),
).toBeTruthy();
expect(description!.includes("Siobhán Emma Donaghy")).toBeTruthy();
expect(
description!.endsWith(
"rights to the Sugababes name again in 2019.",
Expand Down

0 comments on commit 9cd7d1e

Please sign in to comment.