Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add missing closing character #3817

Merged
merged 1 commit into from Sep 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/docs/getting-started/options/compiler.md
Expand Up @@ -16,7 +16,7 @@ If you use a custom compiler, such as `ttypescript`, make sure its API is the sa
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
compiler: 'ttypescript',
Expand All @@ -32,7 +32,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
compiler: 'ttypescript',
Expand Down
16 changes: 8 additions & 8 deletions website/docs/getting-started/options/diagnostics.md
Expand Up @@ -36,7 +36,7 @@ The `diagnostics` option's value can also accept an object for more advanced con
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: false,
Expand All @@ -52,7 +52,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: false,
Expand Down Expand Up @@ -91,7 +91,7 @@ Assuming all your test files ends with `.spec.ts` or `.test.ts`, using the follo
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: {
Expand All @@ -109,7 +109,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: {
Expand Down Expand Up @@ -151,7 +151,7 @@ While some diagnostics are stop-blockers for the compilation, most of them are n
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: {
Expand All @@ -169,7 +169,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: {
Expand Down Expand Up @@ -215,7 +215,7 @@ All TypeScript error codes can be found [there](https://github.com/Microsoft/Typ
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: {
Expand All @@ -233,7 +233,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: {
Expand Down
4 changes: 2 additions & 2 deletions website/docs/getting-started/options/isolatedModules.md
Expand Up @@ -17,7 +17,7 @@ Here is how to disable type-checking and compile each file as an isolated module
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
isolatedModules: true,
Expand All @@ -33,7 +33,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
isolatedModules: true,
Expand Down
12 changes: 6 additions & 6 deletions website/docs/getting-started/options/tsconfig.md
Expand Up @@ -19,7 +19,7 @@ The path should be relative to the current working directory where you start Jes
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
tsconfig: 'tsconfig.test.json',
Expand All @@ -35,7 +35,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
tsconfig: 'tsconfig.test.json',
Expand Down Expand Up @@ -73,7 +73,7 @@ It's basically the same object you'd put in your `tsconfig.json`'s `compilerOpti
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
tsconfig: {
Expand All @@ -91,7 +91,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
tsconfig: {
Expand Down Expand Up @@ -132,7 +132,7 @@ By default `ts-jest` will try to find a `tsconfig.json` in your project. But you
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
tsconfig: false,
Expand All @@ -148,7 +148,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
tsconfig: false,
Expand Down
4 changes: 2 additions & 2 deletions website/docs/getting-started/options/useESM.md
Expand Up @@ -13,7 +13,7 @@ The default value is **false**, `ts-jest` will transform codes to `CommonJS` syn
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
useESM: true,
Expand All @@ -29,7 +29,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
useESM: true,
Expand Down
8 changes: 4 additions & 4 deletions website/docs/guides/esm-support.md
Expand Up @@ -27,7 +27,7 @@ module.exports = {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
useESM: true,
Expand All @@ -47,7 +47,7 @@ const jestConfig: JestConfigWithTsJest = {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
useESM: true,
Expand Down Expand Up @@ -96,7 +96,7 @@ module.exports = {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
useESM: true,
Expand All @@ -116,7 +116,7 @@ const jestConfig: JestConfigWithTsJest = {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
useESM: true,
Expand Down
Expand Up @@ -16,7 +16,7 @@ If you use a custom compiler, such as `ttypescript`, make sure its API is the sa
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
compiler: 'ttypescript',
Expand All @@ -32,7 +32,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
compiler: 'ttypescript',
Expand Down
Expand Up @@ -36,7 +36,7 @@ The `diagnostics` option's value can also accept an object for more advanced con
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: false,
Expand All @@ -52,7 +52,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: false,
Expand Down Expand Up @@ -91,7 +91,7 @@ Assuming all your test files ends with `.spec.ts` or `.test.ts`, using the follo
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: {
Expand All @@ -109,7 +109,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: {
Expand Down Expand Up @@ -151,7 +151,7 @@ While some diagnostics are stop-blockers for the compilation, most of them are n
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: {
Expand All @@ -169,7 +169,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: {
Expand Down Expand Up @@ -215,7 +215,7 @@ All TypeScript error codes can be found [there](https://github.com/Microsoft/Typ
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: {
Expand All @@ -233,7 +233,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
diagnostics: {
Expand Down
Expand Up @@ -17,7 +17,7 @@ Here is how to disable type-checking and compile each file as an isolated module
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
isolatedModules: true,
Expand All @@ -33,7 +33,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
isolatedModules: true,
Expand Down
Expand Up @@ -19,7 +19,7 @@ The path should be relative to the current working directory where you start Jes
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
tsconfig: 'tsconfig.test.json',
Expand All @@ -35,7 +35,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
tsconfig: 'tsconfig.test.json',
Expand Down Expand Up @@ -73,7 +73,7 @@ It's basically the same object you'd put in your `tsconfig.json`'s `compilerOpti
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
tsconfig: {
Expand All @@ -91,7 +91,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
tsconfig: {
Expand Down Expand Up @@ -132,7 +132,7 @@ By default `ts-jest` will try to find a `tsconfig.json` in your project. But you
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
tsconfig: false,
Expand All @@ -148,7 +148,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
tsconfig: false,
Expand Down
Expand Up @@ -13,7 +13,7 @@ The default value is **false**, `ts-jest` will transform codes to `CommonJS` syn
module.exports = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
useESM: true,
Expand All @@ -29,7 +29,7 @@ import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
'<regex_match_files': [
'<regex_match_files>': [
'ts-jest',
{
useESM: true,
Expand Down