add fake env vars for unit tests
Some checks failed
Compile the repository / compile (pull_request) Successful in 39s
Run unit tests / test (pull_request) Failing after 45s

This commit is contained in:
2023-10-24 22:39:57 +02:00
parent c73cd20ccf
commit 9cdc6e1934
4 changed files with 35 additions and 18 deletions

View File

@ -53,7 +53,7 @@ describe('vote controller - none_of_that functions', () => {
allowedMentions: {
parse: ["roles"]
},
content: `[Abstimmung beendet] für https://discord.com/events/${testGuildId}/${testEventId}\n<@&ANNOUNCE_ROLE> Wir gucken MovieNew am 01.01. um 01:00`
content: `[Abstimmung beendet] für https://discord.com/events/${testGuildId}/${testEventId}\n<@&WATCHPARTY_ANNOUNCEMENT_ROLE> Wir gucken MovieNew am 01.01. um 01:00`
})
})
// test('checkForPollsToClose', async () => {