Skip to content

Commit 6ee43b0

Browse files
committed
new version with external fixture source
1 parent 792086f commit 6ee43b0

File tree

4 files changed

+9
-56
lines changed

4 files changed

+9
-56
lines changed

Diff for: nextjs-fixture/index.ts

-55
This file was deleted.

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"dependencies": {
1212
"axios": "^0.24.0",
1313
"next": "^12.0.1",
14+
"nextjs-ava-fixture": "^1.0.0",
1415
"react": "17.0.2",
1516
"react-dom": "17.0.2"
1617
},

Diff for: tests/hello.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from "ava"
2-
import fixture from "../nextjs-fixture"
2+
import fixture from "nextjs-ava-fixture"
33

44
test("api endpoint", async (t) => {
55
const { axios } = await fixture(t)

Diff for: yarn.lock

+7
Original file line numberDiff line numberDiff line change
@@ -4459,6 +4459,13 @@ next@^12.0.1:
44594459
"@next/swc-win32-ia32-msvc" "12.0.1"
44604460
"@next/swc-win32-x64-msvc" "12.0.1"
44614461

4462+
nextjs-ava-fixture@^1.0.0:
4463+
version "1.0.0"
4464+
resolved "https://registry.yarnpkg.com/nextjs-ava-fixture/-/nextjs-ava-fixture-1.0.0.tgz#3c64f95382d2f19baa0d69af2777e83c5cf8f082"
4465+
integrity sha512-gz8qhlV9P8MSetM9Ut09ok3eRWNYmgmHfXUkmxvtB0l/vltDnjJ7u/CYS6b2uHRShS69iU4FEH8or8bZmFJwfw==
4466+
dependencies:
4467+
axios "^0.24.0"
4468+
44624469
44634470
version "2.6.1"
44644471
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"

0 commit comments

Comments
 (0)