Upgrade Ava to 4.3.1

Fixes broken tests with earlier version.
This commit is contained in:
Brian Ginsburg 2022-07-18 11:33:19 -07:00
parent dc0ce83990
commit 2f71c44198
No known key found for this signature in database
GPG Key ID: B7A01B90EB115B2D
4 changed files with 873 additions and 2308 deletions

3161
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@
"@tailwindcss/typography": "^0.5.2",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"ava": "^3.15.0",
"ava": "^4.3.1",
"daisyui": "^2.0.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.1.0",
@ -45,9 +45,6 @@
"ts-node/register",
"tsconfig-paths/register"
],
"nonSemVerExperiments": {
"configurableModuleFormat": true
},
"nodeArguments": [
"--loader=./tsnode-loader.js"
]

View File

@ -0,0 +1,5 @@
import test from 'ava'
test('my passing test', t => {
t.pass()
})

View File

@ -1,10 +0,0 @@
import type { TestInterface } from 'ava'
import anyTest from 'ava'
const test = anyTest as TestInterface<{ thing: string }>
test('validates a ucan', t => {
t.is(true, true)
})