Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save night-fury-rider/28abd6e959fc2cf56f63745373321e45 to your computer and use it in GitHub Desktop.
Save night-fury-rider/28abd6e959fc2cf56f63745373321e45 to your computer and use it in GitHub Desktop.
Jest - Partially Mocking Own Methods 2
jest.mock(“$dashboard/Contact service", ()=> ({
_esModule: true,
default: ()=> ({
getDashboardData: jest.fn()
})
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment