1.3.4 • Published 7 years ago

@alot/jest-preset v1.3.4

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
7 years ago

@alot/jest-preset

Test your code using Jest with tests written in TypeScript.

Usage

  1. Add as a dependency:

    yarn add --dev @alot/jest-preset

  2. Create a tsconfig.json configuration in your app root if you haven't already, for example:

    {
      "compilerOptions": {
        "target": "es2015",
        "jsx": "react",
        "noEmit": true,
        "moduleResolution": "node"
      },
      "exclude": [
        "node_modules"
      ]
    }
  3. Modify your package.json or other Jest configuration to use this preset:

    package.json example:

      {
  • "jest": {
  • "preset": "@alot/jest-preset",
  • ... }
  1. That's it!
1.3.4

7 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.2-2

7 years ago

1.1.2-0

7 years ago