diff options
| author | Jamal Carvalho <jamal@golang.org> | 2021-03-03 17:00:01 -0500 |
|---|---|---|
| committer | Jamal Carvalho <jamal@golang.org> | 2021-03-04 16:20:12 +0000 |
| commit | b7c9e4f0613edcecc77bdf5b3d022befc7cf9df1 (patch) | |
| tree | a9d89a75d3f4bc1a514f69ffdcb7946038970663 /devtools | |
| parent | 47a1c56065eceedf9d62531950a042f8e3d976bd (diff) | |
| download | go-x-pkgsite-b7c9e4f0613edcecc77bdf5b3d022befc7cf9df1.tar.xz | |
devtools,package.json: switch to jest runner to jest-circus
This change gives us a slight improvement in the
speed of our tests and results in better error
messages when things break. Jest-circus is the default
test runner in the next major release of jest but
we can take advantage of it today.
Change-Id: I454449b18e1644a8d02faf276c2905b2a5879377
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/298429
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'devtools')
| -rw-r--r-- | devtools/config/jest.config.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devtools/config/jest.config.js b/devtools/config/jest.config.js index e8d5c135..a741772d 100644 --- a/devtools/config/jest.config.js +++ b/devtools/config/jest.config.js @@ -7,6 +7,7 @@ let config = { }, }, moduleFileExtensions: ['ts', 'js'], + testRunner: 'jest-circus/runner', }; // eslint-disable-next-line no-undef |
