/
githubmirror
/
jest
Обзор
Документация
Войти
/
githubmirror
/
jest
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
e2e/__tests__/testMatchDefault.test.ts
16 строк
528 B
Yusuke Iinuma
Add mts and cts to test match and test regex (#14584)
02 окт 2023, 12:11
Не верифицирован
02 окт 2023, 12:11
a889046
Код
Авторство
О чём код?
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import {extractSummary} from '../Utils'; import runJest from '../runJest'; it('testMatch should able to match file with `?([mc])[jt]s?(x)` by default', () => { const result = runJest('test-match-default'); expect(result.exitCode).toBe(0); const {summary} = extractSummary(result.stderr); expect(summary).toMatchSnapshot(); });