Skip to content

Commit

Permalink
feat(tests): add additional flags and remoteConfig to mock data
Browse files Browse the repository at this point in the history
  • Loading branch information
cstrnt committed Feb 17, 2025
1 parent adbd8dc commit 6d64cb9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/node/tests/mocks/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,18 @@ const returnData: AbbyDataResponse = {
name: "flag1",
value: true,
},
{
name: "flag2",
value: false,
},
],
remoteConfig: [
{
name: "remoteConfig1",
value: "FooBar",
},
],
remoteConfig: [{ name: "remoteConfig1", value: "asdf" }],
};

export const handlers = [
rest.get(
`${ABBY_BASE_URL}api/dashboard/:projectId/data`,
Expand Down

0 comments on commit 6d64cb9

Please sign in to comment.