diff --git a/packages/node/test/index.test.ts b/packages/node/test/index.test.ts index f10254659..f2dca456a 100644 --- a/packages/node/test/index.test.ts +++ b/packages/node/test/index.test.ts @@ -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', + }, + ]), + ); + }), ], );