mirror of
https://github.com/actions/typescript-action.git
synced 2025-04-06 23:39:45 +00:00
test: bump up jest to v27 that introduces new defaults (#315)
The jest-circus is now default runner, no need to depend on it explicitly. The testEnvironment also changed its default to "node". Also types/jest is now needless, we can use jest/globals instead. https://jestjs.io/blog/2021/05/25/jest-27
This commit is contained in:
@ -2,6 +2,7 @@ import {wait} from '../src/wait'
|
||||
import * as process from 'process'
|
||||
import * as cp from 'child_process'
|
||||
import * as path from 'path'
|
||||
import {expect, test} from '@jest/globals'
|
||||
|
||||
test('throws invalid number', async () => {
|
||||
const input = parseInt('foo', 10)
|
||||
|
Reference in New Issue
Block a user