Skip to content

Commit

Permalink
feat: update faker API
Browse files Browse the repository at this point in the history
  • Loading branch information
samhwang committed Jun 3, 2023
1 parent 7ed0d22 commit c61fd63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/trpc-netlify-functions/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const handler = netlifyTRPCHandler({

describe('Netlify Adapter tests', () => {
it('should say hello if query string is provided', async () => {
const name = faker.name.firstName();
const name = faker.person.firstName();
const result = await handler(
mockHandlerEvent({
body: JSON.stringify({}),
Expand All @@ -59,7 +59,7 @@ describe('Netlify Adapter tests', () => {
});

it("should say hello to context user if query string isn't provided", async () => {
const name = faker.name.firstName();
const name = faker.person.firstName();
const result = await handler(
mockHandlerEvent({
body: JSON.stringify({}),
Expand Down

0 comments on commit c61fd63

Please sign in to comment.