Skip to content

Instantly share code, notes, and snippets.

@dejanvasic85
Created July 2, 2020 03:30
Show Gist options
  • Save dejanvasic85/4136cd24012dfafa1653c60e354236f1 to your computer and use it in GitHub Desktop.
Save dejanvasic85/4136cd24012dfafa1653c60e354236f1 to your computer and use it in GitHub Desktop.
Example of Mocha Typescript config
{
"diff": true,
"extension": ["ts", "js"],
"package": "./package.json",
"reporter": "spec",
"slow": 75,
"timeout": 2000,
"watch-files": ["src/**/*.js", "src/**/*.ts"],
"watch-extensions": ["ts", "js"],
"require": ["ts-node/register"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment