Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
eue
Commits
e11c97e9
Commit
e11c97e9
authored
Jul 19, 2021
by
KangMin An
Browse files
Delete: Untracked Files-nodemodules & package.json
parent
9d3019a3
Changes
420
Show whitespace changes
Inline
Side-by-side
node_modules/.bin/tsc
deleted
100644 → 0
View file @
9d3019a3
#!/bin/sh
basedir
=
$(
dirname
"
$(
echo
"
$0
"
|
sed
-e
's,\\,/,g'
)
"
)
case
`
uname
`
in
*
CYGWIN
*
|
*
MINGW
*
|
*
MSYS
*
)
basedir
=
`
cygpath
-w
"
$basedir
"
`
;;
esac
if
[
-x
"
$basedir
/node"
]
;
then
exec
"
$basedir
/node"
"
$basedir
/../typescript/bin/tsc"
"
$@
"
else
exec
node
"
$basedir
/../typescript/bin/tsc"
"
$@
"
fi
node_modules/.bin/tsc.cmd
deleted
100644 → 0
View file @
9d3019a3
@ECHO
off
GOTO
start
:find
_dp0
SET
dp0
=
%~dp0
EXIT
/b
:start
SETLOCAL
CALL
:find
_dp0
IF
EXIST
"
%dp0
%
\node.exe"
(
SET
"_prog=
%dp0
%
\node.exe"
)
ELSE
(
SET
"_prog=node"
SET
PATHEXT
=
%PATHEXT
:
;
.JS
;=;
%
)
endLocal
&
goto
#_undefined_#
2
>
NUL
||
title
%COMSPEC%
&
"
%_prog%
"
"
%dp0
%
\..\typescript\bin\tsc"
%
*
node_modules/.bin/tsc.ps1
deleted
100644 → 0
View file @
9d3019a3
#!/usr/bin/env pwsh
$basedir
=
Split-Path
$MyInvocation
.
MyCommand
.
Definition
-Parent
$exe
=
""
if
(
$PSVersionTable
.
PSVersion
-lt
"6.0"
-or
$IsWindows
)
{
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe
=
".exe"
}
$ret
=
0
if
(
Test-Path
"
$basedir
/node
$exe
"
)
{
# Support pipeline input
if
(
$MyInvocation
.
ExpectingInput
)
{
$input
|
&
"
$basedir
/node
$exe
"
"
$basedir
/../typescript/bin/tsc"
$args
}
else
{
&
"
$basedir
/node
$exe
"
"
$basedir
/../typescript/bin/tsc"
$args
}
$ret
=
$LASTEXITCODE
}
else
{
# Support pipeline input
if
(
$MyInvocation
.
ExpectingInput
)
{
$input
|
&
"node
$exe
"
"
$basedir
/../typescript/bin/tsc"
$args
}
else
{
&
"node
$exe
"
"
$basedir
/../typescript/bin/tsc"
$args
}
$ret
=
$LASTEXITCODE
}
exit
$ret
node_modules/.bin/tsserver
deleted
100644 → 0
View file @
9d3019a3
#!/bin/sh
basedir
=
$(
dirname
"
$(
echo
"
$0
"
|
sed
-e
's,\\,/,g'
)
"
)
case
`
uname
`
in
*
CYGWIN
*
|
*
MINGW
*
|
*
MSYS
*
)
basedir
=
`
cygpath
-w
"
$basedir
"
`
;;
esac
if
[
-x
"
$basedir
/node"
]
;
then
exec
"
$basedir
/node"
"
$basedir
/../typescript/bin/tsserver"
"
$@
"
else
exec
node
"
$basedir
/../typescript/bin/tsserver"
"
$@
"
fi
node_modules/.bin/tsserver.cmd
deleted
100644 → 0
View file @
9d3019a3
@ECHO
off
GOTO
start
:find
_dp0
SET
dp0
=
%~dp0
EXIT
/b
:start
SETLOCAL
CALL
:find
_dp0
IF
EXIST
"
%dp0
%
\node.exe"
(
SET
"_prog=
%dp0
%
\node.exe"
)
ELSE
(
SET
"_prog=node"
SET
PATHEXT
=
%PATHEXT
:
;
.JS
;=;
%
)
endLocal
&
goto
#_undefined_#
2
>
NUL
||
title
%COMSPEC%
&
"
%_prog%
"
"
%dp0
%
\..\typescript\bin\tsserver"
%
*
node_modules/.bin/tsserver.ps1
deleted
100644 → 0
View file @
9d3019a3
#!/usr/bin/env pwsh
$basedir
=
Split-Path
$MyInvocation
.
MyCommand
.
Definition
-Parent
$exe
=
""
if
(
$PSVersionTable
.
PSVersion
-lt
"6.0"
-or
$IsWindows
)
{
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe
=
".exe"
}
$ret
=
0
if
(
Test-Path
"
$basedir
/node
$exe
"
)
{
# Support pipeline input
if
(
$MyInvocation
.
ExpectingInput
)
{
$input
|
&
"
$basedir
/node
$exe
"
"
$basedir
/../typescript/bin/tsserver"
$args
}
else
{
&
"
$basedir
/node
$exe
"
"
$basedir
/../typescript/bin/tsserver"
$args
}
$ret
=
$LASTEXITCODE
}
else
{
# Support pipeline input
if
(
$MyInvocation
.
ExpectingInput
)
{
$input
|
&
"node
$exe
"
"
$basedir
/../typescript/bin/tsserver"
$args
}
else
{
&
"node
$exe
"
"
$basedir
/../typescript/bin/tsserver"
$args
}
$ret
=
$LASTEXITCODE
}
exit
$ret
node_modules/.package-lock.json
deleted
100644 → 0
View file @
9d3019a3
{
"name"
:
"EUE"
,
"lockfileVersion"
:
2
,
"requires"
:
true
,
"packages"
:
{
"node_modules/@jest/types"
:
{
"version"
:
"26.6.2"
,
"resolved"
:
"https://registry.npmjs.org/@jest/types/-/types-26.6.2.tgz"
,
"integrity"
:
"sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ=="
,
"dependencies"
:
{
"@types/istanbul-lib-coverage"
:
"^2.0.0"
,
"@types/istanbul-reports"
:
"^3.0.0"
,
"@types/node"
:
"*"
,
"@types/yargs"
:
"^15.0.0"
,
"chalk"
:
"^4.0.0"
},
"engines"
:
{
"node"
:
">= 10.14.2"
}
},
"node_modules/@types/istanbul-lib-coverage"
:
{
"version"
:
"2.0.3"
,
"resolved"
:
"https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz"
,
"integrity"
:
"sha512-sz7iLqvVUg1gIedBOvlkxPlc8/uVzyS5OwGz1cKjXzkl3FpL3al0crU8YGU1WoHkxn0Wxbw5tyi6hvzJKNzFsw=="
},
"node_modules/@types/istanbul-lib-report"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz"
,
"integrity"
:
"sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg=="
,
"dependencies"
:
{
"@types/istanbul-lib-coverage"
:
"*"
}
},
"node_modules/@types/istanbul-reports"
:
{
"version"
:
"3.0.1"
,
"resolved"
:
"https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz"
,
"integrity"
:
"sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw=="
,
"dependencies"
:
{
"@types/istanbul-lib-report"
:
"*"
}
},
"node_modules/@types/jest"
:
{
"version"
:
"26.0.23"
,
"resolved"
:
"https://registry.npmjs.org/@types/jest/-/jest-26.0.23.tgz"
,
"integrity"
:
"sha512-ZHLmWMJ9jJ9PTiT58juykZpL7KjwJywFN3Rr2pTSkyQfydf/rk22yS7W8p5DaVUMQ2BQC7oYiU3FjbTM/mYrOA=="
,
"dependencies"
:
{
"jest-diff"
:
"^26.0.0"
,
"pretty-format"
:
"^26.0.0"
}
},
"node_modules/@types/node"
:
{
"version"
:
"15.12.5"
,
"resolved"
:
"https://registry.npmjs.org/@types/node/-/node-15.12.5.tgz"
,
"integrity"
:
"sha512-se3yX7UHv5Bscf8f1ERKvQOD6sTyycH3hdaoozvaLxgUiY5lIGEeH37AD0G0Qi9kPqihPn0HOfd2yaIEN9VwEg=="
},
"node_modules/@types/prop-types"
:
{
"version"
:
"15.7.3"
,
"resolved"
:
"https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz"
,
"integrity"
:
"sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw=="
},
"node_modules/@types/react"
:
{
"version"
:
"17.0.11"
,
"resolved"
:
"https://registry.npmjs.org/@types/react/-/react-17.0.11.tgz"
,
"integrity"
:
"sha512-yFRQbD+whVonItSk7ZzP/L+gPTJVBkL/7shLEF+i9GC/1cV3JmUxEQz6+9ylhUpWSDuqo1N9qEvqS6vTj4USUA=="
,
"dependencies"
:
{
"@types/prop-types"
:
"*"
,
"@types/scheduler"
:
"*"
,
"csstype"
:
"^3.0.2"
}
},
"node_modules/@types/react-dom"
:
{
"version"
:
"17.0.8"
,
"resolved"
:
"https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.8.tgz"
,
"integrity"
:
"sha512-0ohAiJAx1DAUEcY9UopnfwCE9sSMDGnY/oXjWMax6g3RpzmTt2GMyMVAXcbn0mo8XAff0SbQJl2/SBU+hjSZ1A=="
,
"dependencies"
:
{
"@types/react"
:
"*"
}
},
"node_modules/@types/scheduler"
:
{
"version"
:
"0.16.1"
,
"resolved"
:
"https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.1.tgz"
,
"integrity"
:
"sha512-EaCxbanVeyxDRTQBkdLb3Bvl/HK7PBK6UJjsSixB0iHKoWxE5uu2Q/DgtpOhPIojN0Zl1whvOd7PoHs2P0s5eA=="
},
"node_modules/@types/yargs"
:
{
"version"
:
"15.0.13"
,
"resolved"
:
"https://registry.npmjs.org/@types/yargs/-/yargs-15.0.13.tgz"
,
"integrity"
:
"sha512-kQ5JNTrbDv3Rp5X2n/iUu37IJBDU2gsZ5R/g1/KHOOEc5IKfUFjXT6DENPGduh08I/pamwtEq4oul7gUqKTQDQ=="
,
"dependencies"
:
{
"@types/yargs-parser"
:
"*"
}
},
"node_modules/@types/yargs-parser"
:
{
"version"
:
"20.2.0"
,
"resolved"
:
"https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-20.2.0.tgz"
,
"integrity"
:
"sha512-37RSHht+gzzgYeobbG+KWryeAW8J33Nhr69cjTqSYymXVZEN9NbRYWoYlRtDhHKPVT1FyNKwaTPC1NynKZpzRA=="
},
"node_modules/ansi-regex"
:
{
"version"
:
"5.0.0"
,
"resolved"
:
"https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz"
,
"integrity"
:
"sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg=="
,
"engines"
:
{
"node"
:
">=8"
}
},
"node_modules/ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dependencies"
:
{
"color-convert"
:
"^2.0.1"
},
"engines"
:
{
"node"
:
">=8"
},
"funding"
:
{
"url"
:
"https://github.com/chalk/ansi-styles?sponsor=1"
}
},
"node_modules/chalk"
:
{
"version"
:
"4.1.1"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz"
,
"integrity"
:
"sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg=="
,
"dependencies"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
},
"engines"
:
{
"node"
:
">=10"
},
"funding"
:
{
"url"
:
"https://github.com/chalk/chalk?sponsor=1"
}
},
"node_modules/color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dependencies"
:
{
"color-name"
:
"~1.1.4"
},
"engines"
:
{
"node"
:
">=7.0.0"
}
},
"node_modules/color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
},
"node_modules/csstype"
:
{
"version"
:
"3.0.8"
,
"resolved"
:
"https://registry.npmjs.org/csstype/-/csstype-3.0.8.tgz"
,
"integrity"
:
"sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw=="
},
"node_modules/diff-sequences"
:
{
"version"
:
"26.6.2"
,
"resolved"
:
"https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.6.2.tgz"
,
"integrity"
:
"sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q=="
,
"engines"
:
{
"node"
:
">= 10.14.2"
}
},
"node_modules/has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"engines"
:
{
"node"
:
">=8"
}
},
"node_modules/jest-diff"
:
{
"version"
:
"26.6.2"
,
"resolved"
:
"https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.2.tgz"
,
"integrity"
:
"sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA=="
,
"dependencies"
:
{
"chalk"
:
"^4.0.0"
,
"diff-sequences"
:
"^26.6.2"
,
"jest-get-type"
:
"^26.3.0"
,
"pretty-format"
:
"^26.6.2"
},
"engines"
:
{
"node"
:
">= 10.14.2"
}
},
"node_modules/jest-get-type"
:
{
"version"
:
"26.3.0"
,
"resolved"
:
"https://registry.npmjs.org/jest-get-type/-/jest-get-type-26.3.0.tgz"
,
"integrity"
:
"sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig=="
,
"engines"
:
{
"node"
:
">= 10.14.2"
}
},
"node_modules/pretty-format"
:
{
"version"
:
"26.6.2"
,
"resolved"
:
"https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz"
,
"integrity"
:
"sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg=="
,
"dependencies"
:
{
"@jest/types"
:
"^26.6.2"
,
"ansi-regex"
:
"^5.0.0"
,
"ansi-styles"
:
"^4.0.0"
,
"react-is"
:
"^17.0.1"
},
"engines"
:
{
"node"
:
">= 10"
}
},
"node_modules/react-is"
:
{
"version"
:
"17.0.2"
,
"resolved"
:
"https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz"
,
"integrity"
:
"sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w=="
},
"node_modules/supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dependencies"
:
{
"has-flag"
:
"^4.0.0"
},
"engines"
:
{
"node"
:
">=8"
}
},
"node_modules/typescript"
:
{
"version"
:
"4.3.4"
,
"resolved"
:
"https://registry.npmjs.org/typescript/-/typescript-4.3.4.tgz"
,
"integrity"
:
"sha512-uauPG7XZn9F/mo+7MrsRjyvbxFpzemRjKEZXS4AK83oP2KKOJPvb+9cO/gmnv8arWZvhnjVOXz7B49m1l0e9Ew=="
,
"bin"
:
{
"tsc"
:
"bin/tsc"
,
"tsserver"
:
"bin/tsserver"
},
"engines"
:
{
"node"
:
">=4.2.0"
}
}
}
}
node_modules/@jest/types/LICENSE
deleted
100644 → 0
View file @
9d3019a3
MIT License
Copyright (c) Facebook, Inc. and its affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
node_modules/@jest/types/build/Circus.d.ts
deleted
100644 → 0
View file @
9d3019a3
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/// <reference types="node" />
import
type
*
as
Global
from
'
./Global
'
;
declare
type
Process
=
NodeJS
.
Process
;
export
declare
type
DoneFn
=
Global
.
DoneFn
;
export
declare
type
BlockFn
=
Global
.
BlockFn
;
export
declare
type
BlockName
=
Global
.
BlockName
;
export
declare
type
BlockMode
=
void
|
'
skip
'
|
'
only
'
|
'
todo
'
;
export
declare
type
TestMode
=
BlockMode
;
export
declare
type
TestName
=
Global
.
TestName
;
export
declare
type
TestFn
=
Global
.
TestFn
;
export
declare
type
HookFn
=
Global
.
HookFn
;
export
declare
type
AsyncFn
=
TestFn
|
HookFn
;
export
declare
type
SharedHookType
=
'
afterAll
'
|
'
beforeAll
'
;
export
declare
type
HookType
=
SharedHookType
|
'
afterEach
'
|
'
beforeEach
'
;
export
declare
type
TestContext
=
Record
<
string
,
unknown
>
;
export
declare
type
Exception
=
any
;
export
declare
type
FormattedError
=
string
;
export
declare
type
Hook
=
{
asyncError
:
Error
;
fn
:
HookFn
;
type
:
HookType
;
parent
:
DescribeBlock
;
timeout
:
number
|
undefined
|
null
;
};
export
interface
EventHandler
{
(
event
:
AsyncEvent
,
state
:
State
):
void
|
Promise
<
void
>
;
(
event
:
SyncEvent
,
state
:
State
):
void
;
}
export
declare
type
Event
=
SyncEvent
|
AsyncEvent
;
interface
JestGlobals
extends
Global
.
TestFrameworkGlobals
{
expect
:
unknown
;
}
export
declare
type
SyncEvent
=
{
asyncError
:
Error
;
mode
:
BlockMode
;
name
:
'
start_describe_definition
'
;
blockName
:
BlockName
;
}
|
{
mode
:
BlockMode
;
name
:
'
finish_describe_definition
'
;
blockName
:
BlockName
;
}
|
{
asyncError
:
Error
;
name
:
'
add_hook
'
;
hookType
:
HookType
;
fn
:
HookFn
;
timeout
:
number
|
undefined
;
}
|
{
asyncError
:
Error
;
name
:
'
add_test
'
;
testName
:
TestName
;
fn
:
TestFn
;
mode
?:
TestMode
;
timeout
:
number
|
undefined
;
}
|
{
name
:
'
error
'
;
error
:
Exception
;
};
export
declare
type
AsyncEvent
=
{
name
:
'
setup
'
;
testNamePattern
?:
string
;
runtimeGlobals
:
JestGlobals
;
parentProcess
:
Process
;
}
|
{
name
:
'
include_test_location_in_result
'
;
}
|
{
name
:
'
hook_start
'
;
hook
:
Hook
;
}
|
{
name
:
'
hook_success
'
;
describeBlock
?:
DescribeBlock
;
test
?:
TestEntry
;
hook
:
Hook
;
}
|
{
name
:
'
hook_failure
'
;
error
:
string
|
Exception
;
describeBlock
?:
DescribeBlock
;
test
?:
TestEntry
;
hook
:
Hook
;
}
|
{
name
:
'
test_fn_start
'
;
test
:
TestEntry
;
}
|
{
name
:
'
test_fn_success
'
;
test
:
TestEntry
;
}
|
{
name
:
'
test_fn_failure
'
;
error
:
Exception
;
test
:
TestEntry
;
}
|
{
name
:
'
test_retry
'
;
test
:
TestEntry
;
}
|
{
name
:
'
test_start
'
;
test
:
TestEntry
;
}
|
{
name
:
'
test_skip
'
;
test
:
TestEntry
;
}
|
{
name
:
'
test_todo
'
;
test
:
TestEntry
;
}
|
{
name
:
'
test_done
'
;
test
:
TestEntry
;
}
|
{
name
:
'
run_describe_start
'
;
describeBlock
:
DescribeBlock
;
}
|
{
name
:
'
run_describe_finish
'
;
describeBlock
:
DescribeBlock
;
}
|
{
name
:
'
run_start
'
;
}
|
{
name
:
'
run_finish
'
;
}
|
{
name
:
'
teardown
'
;
};
export
declare
type
MatcherResults
=
{
actual
:
unknown
;
expected
:
unknown
;
name
:
string
;
pass
:
boolean
;
};
export
declare
type
TestStatus
=
'
skip
'
|
'
done
'
|
'
todo
'
;
export
declare
type
TestResult
=
{
duration
?:
number
|
null
;
errors
:
Array
<
FormattedError
>
;
errorsDetailed
:
Array
<
MatcherResults
|
unknown
>
;
invocations
:
number
;
status
:
TestStatus
;
location
?:
{
column
:
number
;
line
:
number
;
}
|
null
;
testPath
:
Array
<
TestName
|
BlockName
>
;
};
export
declare
type
RunResult
=
{
unhandledErrors
:
Array
<
FormattedError
>
;
testResults
:
TestResults
;
};
export
declare
type
TestResults
=
Array
<
TestResult
>
;
export
declare
type
GlobalErrorHandlers
=
{
uncaughtException
:
Array
<
(
exception
:
Exception
)
=>
void
>
;
unhandledRejection
:
Array
<
(
exception
:
Exception
,
promise
:
Promise
<
unknown
>
)
=>
void
>
;
};
export
declare
type
State
=
{
currentDescribeBlock
:
DescribeBlock
;
currentlyRunningTest
?:
TestEntry
|
null
;
expand
?:
boolean
;
hasFocusedTests
:
boolean
;
hasStarted
:
boolean
;
originalGlobalErrorHandlers
?:
GlobalErrorHandlers
;
parentProcess
:
Process
|
null
;
rootDescribeBlock
:
DescribeBlock
;
testNamePattern
?:
RegExp
|
null
;
testTimeout
:
number
;
unhandledErrors
:
Array
<
Exception
>
;
includeTestLocationInResult
:
boolean
;
};
export
declare
type
DescribeBlock
=
{
type
:
'
describeBlock
'
;
children
:
Array
<
DescribeBlock
|
TestEntry
>
;
hooks
:
Array
<
Hook
>
;
mode
:
BlockMode
;
name
:
BlockName
;
parent
?:
DescribeBlock
;
/** @deprecated Please get from `children` array instead */
tests
:
Array
<
TestEntry
>
;
};
export
declare
type
TestError
=
Exception
|
[
Exception
|
undefined
,
Exception
];
export
declare
type
TestEntry
=
{
type
:
'
test
'
;
asyncError
:
Exception
;
errors
:
Array
<
TestError
>
;
fn
:
TestFn
;
invocations
:
number
;
mode
:
TestMode
;
name
:
TestName
;
parent
:
DescribeBlock
;
startedAt
?:
number
|
null
;
duration
?:
number
|
null
;
status
?:
TestStatus
|
null
;
timeout
?:
number
;
};
export
{};
node_modules/@jest/types/build/Circus.js
deleted
100644 → 0
View file @
9d3019a3
'
use strict
'
;
node_modules/@jest/types/build/Config.d.ts
deleted
100644 → 0
View file @
9d3019a3
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/// <reference types="node" />
import
type
{
ForegroundColor
}
from
'
chalk
'
;
import
type
{
ReportOptions
}
from
'
istanbul-reports
'
;
import
type
{
Arguments
}
from
'
yargs
'
;
declare
type
CoverageProvider
=
'
babel
'
|
'
v8
'
;
declare
type
Timers
=
'
real
'
|
'
fake
'
|
'
modern
'
|
'
legacy
'
;
export
declare
type
Path
=
string
;
export
declare
type
Glob
=
string
;
export
declare
type
HasteConfig
=
{
/** Whether to hash files using SHA-1. */
computeSha1
?:
boolean
;
/** The platform to use as the default, e.g. 'ios'. */
defaultPlatform
?:
string
|
null
;
/** Path to a custom implementation of Haste. */
hasteImplModulePath
?:
string
;
/** All platforms to target, e.g ['ios', 'android']. */
platforms
?:
Array
<
string
>
;
/** Whether to throw on error on module collision. */
throwOnModuleCollision
?:
boolean
;
};
export
declare
type
CoverageReporterName
=
keyof
ReportOptions
;
export
declare
type
CoverageReporterWithOptions
<
K
=
CoverageReporterName
>
=
K
extends
CoverageReporterName
?
ReportOptions
[
K
]
extends
never
?
never
:
[
K
,
Partial
<
ReportOptions
[
K
]
>
]
:
never
;
export
declare
type
CoverageReporters
=
Array
<
CoverageReporterName
|
CoverageReporterWithOptions
>
;
export
declare
type
ReporterConfig
=
[
string
,
Record
<
string
,
unknown
>
];
export
declare
type
TransformerConfig
=
[
string
,
Record
<
string
,
unknown
>
];
export
interface
ConfigGlobals
{
[
K
:
string
]:
unknown
;
}
export
declare
type
DefaultOptions
=
{
automock
:
boolean
;
bail
:
number
;
cache
:
boolean
;
cacheDirectory
:
Path
;
changedFilesWithAncestor
:
boolean
;
clearMocks
:
boolean
;
collectCoverage
:
boolean
;
coveragePathIgnorePatterns
:
Array
<
string
>
;
coverageReporters
:
Array
<
CoverageReporterName
>
;
coverageProvider
:
CoverageProvider
;
errorOnDeprecated
:
boolean
;
expand
:
boolean
;
forceCoverageMatch
:
Array
<
Glob
>
;
globals
:
ConfigGlobals
;
haste
:
HasteConfig
;
injectGlobals
:
boolean
;
maxConcurrency
:
number
;
maxWorkers
:
number
|
string
;
moduleDirectories
:
Array
<
string
>
;
moduleFileExtensions
:
Array
<
string
>
;
moduleNameMapper
:
Record
<
string
,
string
|
Array
<
string
>>
;
modulePathIgnorePatterns
:
Array
<
string
>
;
noStackTrace
:
boolean
;
notify
:
boolean
;
notifyMode
:
NotifyMode
;
prettierPath
:
string
;
resetMocks
:
boolean
;
resetModules
:
boolean
;
restoreMocks
:
boolean
;
roots
:
Array
<
Path
>
;
runTestsByPath
:
boolean
;
runner
:
'
jest-runner
'
;
setupFiles
:
Array
<
Path
>
;
setupFilesAfterEnv
:
Array
<
Path
>
;
skipFilter
:
boolean
;
slowTestThreshold
:
number
;
snapshotSerializers
:
Array
<
Path
>
;
testEnvironment
:
string
;
testEnvironmentOptions
:
Record
<
string
,
unknown
>
;
testFailureExitCode
:
string
|
number
;
testLocationInResults
:
boolean
;
testMatch
:
Array
<
Glob
>
;
testPathIgnorePatterns
:
Array
<
string
>
;
testRegex
:
Array
<
string
>
;
testRunner
:
string
;
testSequencer
:
string
;
testURL
:
string
;
timers
:
Timers
;
transformIgnorePatterns
:
Array
<
Glob
>
;
useStderr
:
boolean
;
watch
:
boolean
;
watchPathIgnorePatterns
:
Array
<
string
>
;
watchman
:
boolean
;
};
export
declare
type
DisplayName
=
{
name
:
string
;
color
:
typeof
ForegroundColor
;
};
export
declare
type
InitialOptionsWithRootDir
=
InitialOptions
&
Required
<
Pick
<
InitialOptions
,
'
rootDir
'
>>
;
export
declare
type
InitialOptions
=
Partial
<
{
automock
:
boolean
;
bail
:
boolean
|
number
;
cache
:
boolean
;
cacheDirectory
:
Path
;
clearMocks
:
boolean
;
changedFilesWithAncestor
:
boolean
;
changedSince
:
string
;
collectCoverage
:
boolean
;
collectCoverageFrom
:
Array
<
Glob
>
;
collectCoverageOnlyFrom
:
{
[
key
:
string
]:
boolean
;
};
coverageDirectory
:
string
;
coveragePathIgnorePatterns
:
Array
<
string
>
;
coverageProvider
:
CoverageProvider
;
coverageReporters
:
CoverageReporters
;
coverageThreshold
:
{
global
:
{
[
key
:
string
]:
number
;
};
};
dependencyExtractor
:
string
;
detectLeaks
:
boolean
;
detectOpenHandles
:
boolean
;
displayName
:
string
|
DisplayName
;
expand
:
boolean
;
extraGlobals
:
Array
<
string
>
;
filter
:
Path
;
findRelatedTests
:
boolean
;
forceCoverageMatch
:
Array
<
Glob
>
;
forceExit
:
boolean
;
json
:
boolean
;
globals
:
ConfigGlobals
;
globalSetup
:
string
|
null
|
undefined
;
globalTeardown
:
string
|
null
|
undefined
;
haste
:
HasteConfig
;
injectGlobals
:
boolean
;
reporters
:
Array
<
string
|
ReporterConfig
>
;
logHeapUsage
:
boolean
;
lastCommit
:
boolean
;
listTests
:
boolean
;
mapCoverage
:
boolean
;
maxConcurrency
:
number
;
maxWorkers
:
number
|
string
;
moduleDirectories
:
Array
<
string
>
;
moduleFileExtensions
:
Array
<
string
>
;
moduleLoader
:
Path
;
moduleNameMapper
:
{
[
key
:
string
]:
string
|
Array
<
string
>
;
};
modulePathIgnorePatterns
:
Array
<
string
>
;
modulePaths
:
Array
<
string
>
;
name
:
string
;
noStackTrace
:
boolean
;
notify
:
boolean
;
notifyMode
:
string
;
onlyChanged
:
boolean
;
onlyFailures
:
boolean
;
outputFile
:
Path
;
passWithNoTests
:
boolean
;
preprocessorIgnorePatterns
:
Array
<
Glob
>
;
preset
:
string
|
null
|
undefined
;
prettierPath
:
string
|
null
|
undefined
;
projects
:
Array
<
Glob
>
;
replname
:
string
|
null
|
undefined
;
resetMocks
:
boolean
;
resetModules
:
boolean
;
resolver
:
Path
|
null
|
undefined
;
restoreMocks
:
boolean
;
rootDir
:
Path
;
roots
:
Array
<
Path
>
;
runner
:
string
;
runTestsByPath
:
boolean
;
scriptPreprocessor
:
string
;
setupFiles
:
Array
<
Path
>
;
setupTestFrameworkScriptFile
:
Path
;
setupFilesAfterEnv
:
Array
<
Path
>
;
silent
:
boolean
;
skipFilter
:
boolean
;
skipNodeResolution
:
boolean
;
slowTestThreshold
:
number
;
snapshotResolver
:
Path
;
snapshotSerializers
:
Array
<
Path
>
;
errorOnDeprecated
:
boolean
;
testEnvironment
:
string
;
testEnvironmentOptions
:
Record
<
string
,
unknown
>
;
testFailureExitCode
:
string
|
number
;
testLocationInResults
:
boolean
;
testMatch
:
Array
<
Glob
>
;
testNamePattern
:
string
;
testPathDirs
:
Array
<
Path
>
;
testPathIgnorePatterns
:
Array
<
string
>
;
testRegex
:
string
|
Array
<
string
>
;
testResultsProcessor
:
string
;
testRunner
:
string
;
testSequencer
:
string
;
testURL
:
string
;
testTimeout
:
number
;
timers
:
Timers
;
transform
:
{
[
regex
:
string
]:
Path
|
TransformerConfig
;
};
transformIgnorePatterns
:
Array
<
Glob
>
;
watchPathIgnorePatterns
:
Array
<
string
>
;
unmockedModulePathPatterns
:
Array
<
string
>
;
updateSnapshot
:
boolean
;
useStderr
:
boolean
;
verbose
?:
boolean
;
watch
:
boolean
;
watchAll
:
boolean
;
watchman
:
boolean
;
watchPlugins
:
Array
<
string
|
[
string
,
Record
<
string
,
unknown
>
]
>
;
}
>
;
export
declare
type
SnapshotUpdateState
=
'
all
'
|
'
new
'
|
'
none
'
;
declare
type
NotifyMode
=
'
always
'
|
'
failure
'
|
'
success
'
|
'
change
'
|
'
success-change
'
|
'
failure-change
'
;
export
declare
type
CoverageThresholdValue
=
{
branches
?:
number
;
functions
?:
number
;
lines
?:
number
;
statements
?:
number
;
};
declare
type
CoverageThreshold
=
{
[
path
:
string
]:
CoverageThresholdValue
;
global
:
CoverageThresholdValue
;
};
export
declare
type
GlobalConfig
=
{
bail
:
number
;
changedSince
?:
string
;
changedFilesWithAncestor
:
boolean
;
collectCoverage
:
boolean
;
collectCoverageFrom
:
Array
<
Glob
>
;
collectCoverageOnlyFrom
?:
{
[
key
:
string
]:
boolean
;
};
coverageDirectory
:
string
;
coveragePathIgnorePatterns
?:
Array
<
string
>
;
coverageProvider
:
CoverageProvider
;
coverageReporters
:
CoverageReporters
;
coverageThreshold
?:
CoverageThreshold
;
detectLeaks
:
boolean
;
detectOpenHandles
:
boolean
;
enabledTestsMap
?:
{
[
key
:
string
]:
{
[
key
:
string
]:
boolean
;
};
};
expand
:
boolean
;
filter
?:
Path
;
findRelatedTests
:
boolean
;
forceExit
:
boolean
;
json
:
boolean
;
globalSetup
?:
string
;
globalTeardown
?:
string
;
lastCommit
:
boolean
;
logHeapUsage
:
boolean
;
listTests
:
boolean
;
maxConcurrency
:
number
;
maxWorkers
:
number
;
noStackTrace
:
boolean
;
nonFlagArgs
:
Array
<
string
>
;
noSCM
?:
boolean
;
notify
:
boolean
;
notifyMode
:
NotifyMode
;
outputFile
?:
Path
;
onlyChanged
:
boolean
;
onlyFailures
:
boolean
;
passWithNoTests
:
boolean
;
projects
:
Array
<
Glob
>
;
replname
?:
string
;
reporters
?:
Array
<
string
|
ReporterConfig
>
;
runTestsByPath
:
boolean
;
rootDir
:
Path
;
silent
?:
boolean
;
skipFilter
:
boolean
;
errorOnDeprecated
:
boolean
;
testFailureExitCode
:
number
;
testNamePattern
?:
string
;
testPathPattern
:
string
;
testResultsProcessor
?:
string
;
testSequencer
:
string
;
testTimeout
?:
number
;
updateSnapshot
:
SnapshotUpdateState
;
useStderr
:
boolean
;
verbose
?:
boolean
;
watch
:
boolean
;
watchAll
:
boolean
;
watchman
:
boolean
;
watchPlugins
?:
Array
<
{
path
:
string
;
config
:
Record
<
string
,
unknown
>
;
}
>
|
null
;
};
export
declare
type
ProjectConfig
=
{
automock
:
boolean
;
cache
:
boolean
;
cacheDirectory
:
Path
;
clearMocks
:
boolean
;
coveragePathIgnorePatterns
:
Array
<
string
>
;
cwd
:
Path
;
dependencyExtractor
?:
string
;
detectLeaks
:
boolean
;
detectOpenHandles
:
boolean
;
displayName
?:
DisplayName
;
errorOnDeprecated
:
boolean
;
extraGlobals
:
Array
<
keyof
NodeJS
.
Global
>
;
filter
?:
Path
;
forceCoverageMatch
:
Array
<
Glob
>
;
globalSetup
?:
string
;
globalTeardown
?:
string
;
globals
:
ConfigGlobals
;
haste
:
HasteConfig
;
injectGlobals
:
boolean
;
moduleDirectories
:
Array
<
string
>
;
moduleFileExtensions
:
Array
<
string
>
;
moduleLoader
?:
Path
;
moduleNameMapper
:
Array
<
[
string
,
string
]
>
;
modulePathIgnorePatterns
:
Array
<
string
>
;
modulePaths
?:
Array
<
string
>
;
name
:
string
;
prettierPath
:
string
;
resetMocks
:
boolean
;
resetModules
:
boolean
;
resolver
?:
Path
;
restoreMocks
:
boolean
;
rootDir
:
Path
;
roots
:
Array
<
Path
>
;
runner
:
string
;
setupFiles
:
Array
<
Path
>
;
setupFilesAfterEnv
:
Array
<
Path
>
;
skipFilter
:
boolean
;
skipNodeResolution
?:
boolean
;
slowTestThreshold
:
number
;
snapshotResolver
?:
Path
;
snapshotSerializers
:
Array
<
Path
>
;
testEnvironment
:
string
;
testEnvironmentOptions
:
Record
<
string
,
unknown
>
;
testMatch
:
Array
<
Glob
>
;
testLocationInResults
:
boolean
;
testPathIgnorePatterns
:
Array
<
string
>
;
testRegex
:
Array
<
string
|
RegExp
>
;
testRunner
:
string
;
testURL
:
string
;
timers
:
Timers
;
transform
:
Array
<
[
string
,
Path
,
Record
<
string
,
unknown
>
]
>
;
transformIgnorePatterns
:
Array
<
Glob
>
;
watchPathIgnorePatterns
:
Array
<
string
>
;
unmockedModulePathPatterns
?:
Array
<
string
>
;
};
export
declare
type
Argv
=
Arguments
<
Partial
<
{
all
:
boolean
;
automock
:
boolean
;
bail
:
boolean
|
number
;
cache
:
boolean
;
cacheDirectory
:
string
;
changedFilesWithAncestor
:
boolean
;
changedSince
:
string
;
ci
:
boolean
;
clearCache
:
boolean
;
clearMocks
:
boolean
;
collectCoverage
:
boolean
;
collectCoverageFrom
:
string
;
collectCoverageOnlyFrom
:
Array
<
string
>
;
color
:
boolean
;
colors
:
boolean
;
config
:
string
;
coverage
:
boolean
;
coverageDirectory
:
string
;
coveragePathIgnorePatterns
:
Array
<
string
>
;
coverageReporters
:
Array
<
string
>
;
coverageThreshold
:
string
;
debug
:
boolean
;
env
:
string
;
expand
:
boolean
;
findRelatedTests
:
boolean
;
forceExit
:
boolean
;
globals
:
string
;
globalSetup
:
string
|
null
|
undefined
;
globalTeardown
:
string
|
null
|
undefined
;
haste
:
string
;
init
:
boolean
;
injectGlobals
:
boolean
;
json
:
boolean
;
lastCommit
:
boolean
;
logHeapUsage
:
boolean
;
maxWorkers
:
number
|
string
;
moduleDirectories
:
Array
<
string
>
;
moduleFileExtensions
:
Array
<
string
>
;
moduleNameMapper
:
string
;
modulePathIgnorePatterns
:
Array
<
string
>
;
modulePaths
:
Array
<
string
>
;
noStackTrace
:
boolean
;
notify
:
boolean
;
notifyMode
:
string
;
onlyChanged
:
boolean
;
onlyFailures
:
boolean
;
outputFile
:
string
;
preset
:
string
|
null
|
undefined
;
projects
:
Array
<
string
>
;
prettierPath
:
string
|
null
|
undefined
;
resetMocks
:
boolean
;
resetModules
:
boolean
;
resolver
:
string
|
null
|
undefined
;
restoreMocks
:
boolean
;
rootDir
:
string
;
roots
:
Array
<
string
>
;
runInBand
:
boolean
;
selectProjects
:
Array
<
string
>
;
setupFiles
:
Array
<
string
>
;
setupFilesAfterEnv
:
Array
<
string
>
;
showConfig
:
boolean
;
silent
:
boolean
;
snapshotSerializers
:
Array
<
string
>
;
testEnvironment
:
string
;
testFailureExitCode
:
string
|
null
|
undefined
;
testMatch
:
Array
<
string
>
;
testNamePattern
:
string
;
testPathIgnorePatterns
:
Array
<
string
>
;
testPathPattern
:
Array
<
string
>
;
testRegex
:
string
|
Array
<
string
>
;
testResultsProcessor
:
string
;
testRunner
:
string
;
testSequencer
:
string
;
testURL
:
string
;
testTimeout
:
number
|
null
|
undefined
;
timers
:
string
;
transform
:
string
;
transformIgnorePatterns
:
Array
<
string
>
;
unmockedModulePathPatterns
:
Array
<
string
>
|
null
|
undefined
;
updateSnapshot
:
boolean
;
useStderr
:
boolean
;
verbose
:
boolean
;
version
:
boolean
;
watch
:
boolean
;
watchAll
:
boolean
;
watchman
:
boolean
;
watchPathIgnorePatterns
:
Array
<
string
>
;
}
>>
;
export
{};
node_modules/@jest/types/build/Config.js
deleted
100644 → 0
View file @
9d3019a3
'
use strict
'
;
node_modules/@jest/types/build/Global.d.ts
deleted
100644 → 0
View file @
9d3019a3
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/// <reference types="node" />
import
type
{
CoverageMapData
}
from
'
istanbul-lib-coverage
'
;
export
declare
type
DoneFn
=
(
reason
?:
string
|
Error
)
=>
void
;
export
declare
type
TestName
=
string
;
export
declare
type
TestFn
=
(
done
?:
DoneFn
)
=>
Promise
<
void
|
undefined
|
unknown
>
|
void
|
undefined
;
export
declare
type
ConcurrentTestFn
=
(
done
?:
DoneFn
)
=>
Promise
<
void
|
undefined
|
unknown
>
;
export
declare
type
BlockFn
=
()
=>
void
;
export
declare
type
BlockName
=
string
;
export
declare
type
HookFn
=
TestFn
;
export
declare
type
Col
=
unknown
;
export
declare
type
Row
=
Array
<
Col
>
;
export
declare
type
Table
=
Array
<
Row
>
;
export
declare
type
ArrayTable
=
Table
|
Row
;
export
declare
type
TemplateTable
=
TemplateStringsArray
;
export
declare
type
TemplateData
=
Array
<
unknown
>
;
export
declare
type
EachTable
=
ArrayTable
|
TemplateTable
;
export
declare
type
TestCallback
=
BlockFn
|
TestFn
|
ConcurrentTestFn
;
export
declare
type
EachTestFn
<
EachCallback
extends
TestCallback
>
=
(...
args
:
Array
<
any
>
)
=>
ReturnType
<
EachCallback
>
;
declare
type
Jasmine
=
{
_DEFAULT_TIMEOUT_INTERVAL
?:
number
;
addMatchers
:
(
matchers
:
Record
<
string
,
unknown
>
)
=>
void
;
};
declare
type
Each
<
EachCallback
extends
TestCallback
>
=
((
table
:
EachTable
,
...
taggedTemplateData
:
Array
<
unknown
>
)
=>
(
title
:
string
,
test
:
EachTestFn
<
EachCallback
>
,
timeout
?:
number
)
=>
void
)
|
(()
=>
()
=>
void
);
export
interface
HookBase
{
(
fn
:
HookFn
,
timeout
?:
number
):
void
;
}
export
interface
ItBase
{
(
testName
:
TestName
,
fn
:
TestFn
,
timeout
?:
number
):
void
;
each
:
Each
<
TestFn
>
;
}
export
interface
It
extends
ItBase
{
only
:
ItBase
;
skip
:
ItBase
;
todo
:
(
testName
:
TestName
)
=>
void
;
}
export
interface
ItConcurrentBase
{
(
testName
:
string
,
testFn
:
ConcurrentTestFn
,
timeout
?:
number
):
void
;
each
:
Each
<
ConcurrentTestFn
>
;
}
export
interface
ItConcurrentExtended
extends
ItConcurrentBase
{
only
:
ItConcurrentBase
;
skip
:
ItConcurrentBase
;
}
export
interface
ItConcurrent
extends
It
{
concurrent
:
ItConcurrentExtended
;
}
export
interface
DescribeBase
{
(
blockName
:
BlockName
,
blockFn
:
BlockFn
):
void
;
each
:
Each
<
BlockFn
>
;
}
export
interface
Describe
extends
DescribeBase
{
only
:
DescribeBase
;
skip
:
DescribeBase
;
}
export
interface
TestFrameworkGlobals
{
it
:
ItConcurrent
;
test
:
ItConcurrent
;
fit
:
ItBase
&
{
concurrent
?:
ItConcurrentBase
;
};
xit
:
ItBase
;
xtest
:
ItBase
;
describe
:
Describe
;
xdescribe
:
DescribeBase
;
fdescribe
:
DescribeBase
;
beforeAll
:
HookBase
;
beforeEach
:
HookBase
;
afterEach
:
HookBase
;
afterAll
:
HookBase
;
}
export
interface
GlobalAdditions
extends
TestFrameworkGlobals
{
__coverage__
:
CoverageMapData
;
jasmine
:
Jasmine
;
fail
:
()
=>
void
;
pending
:
()
=>
void
;
spyOn
:
()
=>
void
;
spyOnProperty
:
()
=>
void
;
}
export
interface
Global
extends
GlobalAdditions
,
Omit
<
NodeJS
.
Global
,
keyof
GlobalAdditions
>
{
[
extras
:
string
]:
unknown
;
}
export
{};
node_modules/@jest/types/build/Global.js
deleted
100644 → 0
View file @
9d3019a3
'
use strict
'
;
node_modules/@jest/types/build/TestResult.d.ts
deleted
100644 → 0
View file @
9d3019a3
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export
declare
type
Milliseconds
=
number
;
declare
type
Status
=
'
passed
'
|
'
failed
'
|
'
skipped
'
|
'
pending
'
|
'
todo
'
|
'
disabled
'
;
declare
type
Callsite
=
{
column
:
number
;
line
:
number
;
};
export
declare
type
AssertionResult
=
{
ancestorTitles
:
Array
<
string
>
;
duration
?:
Milliseconds
|
null
;
failureDetails
:
Array
<
unknown
>
;
failureMessages
:
Array
<
string
>
;
fullName
:
string
;
invocations
?:
number
;
location
?:
Callsite
|
null
;
numPassingAsserts
:
number
;
status
:
Status
;
title
:
string
;
};
export
declare
type
SerializableError
=
{
code
?:
unknown
;
message
:
string
;
stack
:
string
|
null
|
undefined
;
type
?:
string
;
};
export
{};
node_modules/@jest/types/build/TestResult.js
deleted
100644 → 0
View file @
9d3019a3
'
use strict
'
;
node_modules/@jest/types/build/Transform.d.ts
deleted
100644 → 0
View file @
9d3019a3
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export
declare
type
TransformResult
=
{
code
:
string
;
originalCode
:
string
;
mapCoverage
?:
boolean
;
sourceMapPath
:
string
|
null
;
};
node_modules/@jest/types/build/Transform.js
deleted
100644 → 0
View file @
9d3019a3
'
use strict
'
;
node_modules/@jest/types/build/index.d.ts
deleted
100644 → 0
View file @
9d3019a3
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import
type
*
as
Circus
from
'
./Circus
'
;
import
type
*
as
Config
from
'
./Config
'
;
import
type
*
as
Global
from
'
./Global
'
;
import
type
*
as
TestResult
from
'
./TestResult
'
;
import
type
*
as
TransformTypes
from
'
./Transform
'
;
export
type
{
Circus
,
Config
,
Global
,
TestResult
,
TransformTypes
};
node_modules/@jest/types/build/index.js
deleted
100644 → 0
View file @
9d3019a3
'
use strict
'
;
Prev
1
2
3
4
5
…
21
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment