Fix tests

This commit is contained in:
tsickert 2024-03-30 17:23:19 +00:00
parent f52e861475
commit e0b020e923
3 changed files with 7205 additions and 4445 deletions

View file

@ -1,4 +1,5 @@
import {executeWebhook} from '../src/webhook'
import {expect, test} from '@jest/globals'
test('fails with missing URL', async () => {
await expect(executeWebhook()).rejects.toThrow('Invalid URL')

11648
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -30,6 +30,7 @@
"form-data": "^4.0.0"
},
"devDependencies": {
"@types/jest": "^27.5.2",
"@types/node": "^18.7.8",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",