Skip to content

Commit cdc4b54

Browse files
committed
fix: added Pagination and mercure files to nextGenerator tests
1 parent 5277c04 commit cdc4b54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/generators/NextGenerator.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,15 @@ describe("generate", () => {
4444
"/components/abc/Show.tsx",
4545
"/components/abc/Form.tsx",
4646
"/components/common/ReferenceLinks.tsx",
47+
"/components/common/Pagination.tsx",
4748
"/types/Abc.ts",
4849
"/types/Collection.ts",
4950
"/pages/abcs/[id]/index.tsx",
5051
"/pages/abcs/[id]/edit.tsx",
5152
"/pages/abcs/index.tsx",
5253
"/pages/abcs/create.tsx",
5354
"/utils/dataAccess.ts",
55+
"/utils/mercure.ts",
5456
].forEach((file) => expect(fs.existsSync(tmpobj.name + file)).toBe(true));
5557

5658
[

0 commit comments

Comments
 (0)