Node TAP
GitHub
node-tap.org
Preparing search index...
@tapjs/run
repl
Repl
Class Repl
Index
Constructors
constructor
Properties
config
dir
input
output
proc?
process
Info
repl?
save
File
watch
Methods
cls
completer
exit
help
info
parse
Command
report
run
Changed
run
Failed
run
Tests
show
Cursor
show
Failed
show
Watch
spawn
Parser
spawn
Tap
start
toggle
Watch
update
Snapshots
Constructors
constructor
new
Repl
(
config
:
LoadedConfig
,
input
?:
ReadStream
,
output
?:
WriteStream
,
processInfo
?:
ProcessInfo
,
)
:
Repl
Parameters
config
:
LoadedConfig
input
:
ReadStream
= process.stdin
output
:
WriteStream
= process.stdout
processInfo
:
ProcessInfo
= ...
Returns
Repl
Properties
config
config
:
LoadedConfig
dir
dir
:
string
input
input
:
ReadStream
output
output
:
WriteStream
Optional
proc
proc
?:
ChildProcess
process
Info
processInfo
:
ProcessInfo
Optional
repl
repl
?:
REPLServer
save
File
saveFile
:
string
watch
watch
:
Watch
Methods
cls
cls
()
:
Promise
<
string
>
Returns
Promise
<
string
>
completer
completer
(
input
:
string
)
:
(
string
|
string
[]
)
[]
Parameters
input
:
string
Returns (
string
|
string
[]
)
[]
exit
exit
()
:
void
Returns
void
help
help
()
:
Promise
<
string
>
Returns
Promise
<
string
>
info
info
(
args
:
string
[]
,
)
:
Promise
<
|
{
[
k
:
string
]:
string
|
PrintedProcessInfoNode
}
|
{
"Provide a test id to get information"
:
string
[]
}
,
>
Parameters
args
:
string
[]
Returns
Promise
<
|
{
[
k
:
string
]:
string
|
PrintedProcessInfoNode
}
|
{
"Provide a test id to get information"
:
string
[]
}
,
>
parse
Command
parseCommand
(
input
:
string
)
:
Promise
<
any
>
Parameters
input
:
string
Returns
Promise
<
any
>
report
report
(
args
:
string
[]
)
:
Promise
<
any
>
Parameters
args
:
string
[]
Returns
Promise
<
any
>
run
Changed
runChanged
(
args
:
string
[]
)
:
Promise
<
any
>
Parameters
args
:
string
[]
Returns
Promise
<
any
>
run
Failed
runFailed
(
args
:
string
[]
)
:
Promise
<
any
>
Parameters
args
:
string
[]
Returns
Promise
<
any
>
run
Tests
runTests
(
args
:
string
[]
)
:
Promise
<
any
>
Parameters
args
:
string
[]
Returns
Promise
<
any
>
show
Cursor
showCursor
()
:
void
Returns
void
show
Failed
showFailed
()
:
Promise
<
string
[]
|
"no failed tests from previous runs"
>
Returns
Promise
<
string
[]
|
"no failed tests from previous runs"
>
show
Watch
showWatch
()
:
Promise
<
Record
<
string
,
any
>
|
"not watching files for changes"
>
Returns
Promise
<
Record
<
string
,
any
>
|
"not watching files for changes"
>
spawn
Parser
spawnParser
(
args
:
string
[]
)
:
Promise
<
void
>
Parameters
args
:
string
[]
Returns
Promise
<
void
>
spawn
Tap
spawnTap
(
args
:
string
[]
,
options
?:
SpawnOptions
)
:
Promise
<
any
>
Parameters
args
:
string
[]
Optional
options
:
SpawnOptions
Returns
Promise
<
any
>
start
start
()
:
void
Returns
void
toggle
Watch
toggleWatch
(
args
:
string
[]
,
)
:
Promise
<
Record
<
string
,
any
>
|
"not watching files for changes"
>
Parameters
args
:
string
[]
Returns
Promise
<
Record
<
string
,
any
>
|
"not watching files for changes"
>
update
Snapshots
updateSnapshots
(
args
:
string
[]
)
:
void
Parameters
args
:
string
[]
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
config
dir
input
output
proc
process
Info
repl
save
File
watch
Methods
cls
completer
exit
help
info
parse
Command
report
run
Changed
run
Failed
run
Tests
show
Cursor
show
Failed
show
Watch
spawn
Parser
spawn
Tap
start
toggle
Watch
update
Snapshots
GitHub
node-tap.org
Node TAP
Loading...