0.8.5 • Published 2 years ago

@birthdayresearch/sticky-turbo-jest v0.8.5

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

Turbo Jest

@birthdayresearch/sticky-turbo-jest

Turbo aware jest-preset; automatically run dependsOn script before running jest. By taking advantage of content-aware hashing from turborepo. dependsOn only run if the pipeline inputs have changed.

When you run your test with @birthdayresearch/sticky-turbo-jest preset, it uses displayName from your jest config to figure out which pipeline to use. It will automatically pinpoint the corresponding dependsOn and run all the scripts specified within.

E.g. turbo.json and package.json:

{
  "pipeline": {
    "test:e2e": {
      "inputs": ["src/**", "**/*.e2e.ts"],
      "dependsOn": ["build:docker"]
    }
  }
}
{
  "scripts": {
    "build:docker": "docker build ..."
  },
  "jest": {
    "preset": "@birthdayresearch/sticky-turbo-jest",
    "projects": [
      {
        "displayName": "test:e2e",
        "preset": "@birthdayresearch/sticky-turbo-jest",
        "testRegex": ".*\\.e2e\\.ts$"
      }
    ]
  }
}
0.8.5

2 years ago

0.8.1

2 years ago

0.8.0

2 years ago

0.7.1

2 years ago

0.6.2

2 years ago

0.7.0

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.14

2 years ago

0.5.12

2 years ago

0.5.13

2 years ago

0.5.10

2 years ago

0.5.11

2 years ago

0.5.9

2 years ago

0.5.8

2 years ago

0.5.7

2 years ago

0.5.4

2 years ago

0.5.3

2 years ago

0.5.6

2 years ago

0.5.5

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.3.6

2 years ago

0.3.8

2 years ago

0.3.7

2 years ago

0.4.0

2 years ago

0.3.0

3 years ago

0.2.1

3 years ago

0.3.2

3 years ago

0.2.3

3 years ago

0.3.1

3 years ago

0.2.2

3 years ago

0.2.4

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago