mirror of
https://github.com/tsickert/discord-webhook.git
synced 2025-02-03 21:16:41 -05:00
Fix tests
This commit is contained in:
parent
f52e861475
commit
e0b020e923
3 changed files with 7205 additions and 4445 deletions
|
@ -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
11648
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue