Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mjcuva committed Jan 9, 2024
1 parent fc408ac commit 67c75d0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/node/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,17 @@ describe('#metrics', function () {
}),
);
}),
rest.get(`${config.readmeApiUrl}/v1/version`, (req, res, ctx) => {
return res(
ctx.status(200),
ctx.json([
{
version: '1.0',
subdomain: 'subdomain',
},
]),
);
}),
],
);

Expand Down

0 comments on commit 67c75d0

Please sign in to comment.