Skip to content

Instantly share code, notes, and snippets.

@johnsardine
Last active November 16, 2017 22:59
Show Gist options
  • Save johnsardine/581ec9e9d47ad3d068a77208cf9532b2 to your computer and use it in GitHub Desktop.
Save johnsardine/581ec9e9d47ad3d068a77208cf9532b2 to your computer and use it in GitHub Desktop.
6 - Jest config sample
module.exports = {
rootDir: './webapp',
moduleFileExtensions: ['vue', 'js', 'json', 'jsx', 'node'],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>src/$1',
},
mapCoverage: true,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment