Find unmocked external calls in Node.js tests
ProprietaryDetect direct HTTP, database, and network calls in JavaScript/TypeScript test files that are not mocked. Integration and e2e test files are excluded, as are calls whose dependency the file mocks with Jest, Vitest, sinon, nock, msw, fetch-mock, or axios-mock-adapter, and HTTP calls in files that start the server under test with listen().
io. moderne. prethink. testing. quality. FindNodeUnmockedExternalCallsmod run . --recipe= io. moderne. prethink. testing. quality. FindNodeUnmockedExternalCallsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.