fix: dedupe found ref links in dc message #643
Annotations
2 errors
src/services/discord.service.spec.ts > Bot test > handleGithubReferences > should 'should return all the links':
src/services/discord.service.spec.ts#L276
AssertionError: expected [ …(7) ] to deeply equal [ …(8) ]
- Expected
+ Received
[
+ "https://github.com/immich-app/immich/issue/1",
+ "https://github.com/immich-app/immich/pull/2",
+ "https://github.com/immich-app/immich/discussion/3",
"https://github.com/immich-app/immich/pull/1234",
"https://github.com/immich-app/immich/issue/123",
"https://github.com/immich-app/static-pages/issue/123",
- "https://github.com/immich-app/static-pages/issue/123",
"https://github.com/octokit/rest.js/issue/123",
- "https://github.com/immich-app/immich/issue/1",
- "https://github.com/immich-app/immich/pull/2",
- "https://github.com/immich-app/immich/discussion/3",
]
❯ src/services/discord.service.spec.ts:276:7
|
Run test suites
Process completed with exit code 1.
|