Skip to content

Commit

Permalink
Create index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rajRishi22 authored Nov 13, 2024
1 parent 7c39919 commit 8512ce6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apps/generator/test/__mocks__/pacote/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const pacote = jest.genMockFromModule('pacote');

pacote.manifest = jest.fn(async (templateName) => {
return {
name: 'test'
};
});

module.exports = pacote;

0 comments on commit 8512ce6

Please sign in to comment.