Skip to content

Commit

Permalink
chore: Fix test description
Browse files Browse the repository at this point in the history
  • Loading branch information
Quramy committed Dec 4, 2023
1 parent 4b5770c commit 6d7ba23
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe("Generated functions", () => {
await expect(factory.build()).resolves.toMatchObject({ status: "Accepted" });
});

test("override defalut data with build argument", async () => {
test("init with sequence", async () => {
const factory = defineUserFactory({
defaultData: ({ seq }) => ({
id: `model_${seq}`,
Expand All @@ -33,7 +33,7 @@ describe("Generated functions", () => {
await expect(factory.build()).resolves.toMatchObject({ id: "model_0" });
});

test("init with sequence", async () => {
test("override defalut data with build argument", async () => {
const factory = defineUserFactory({
defaultData: ({ seq }) => ({
id: `model_${seq}`,
Expand Down

0 comments on commit 6d7ba23

Please sign in to comment.