mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 08:59:09 +08:00
test
This commit is contained in:
parent
fe3e7ce9a7
commit
30dbb496d3
@ -168,6 +168,15 @@ describe('@actions/core', () => {
|
||||
])
|
||||
})
|
||||
|
||||
it('setSecret produces the correct command 2', () => {
|
||||
core.setSecret('%xxx')
|
||||
core.setSecret('%25')
|
||||
assertWriteCalls([
|
||||
`::add-mask::%25xxx`,
|
||||
`::add-mask::%2525`
|
||||
])
|
||||
})
|
||||
|
||||
it('prependPath produces the correct commands and sets the env', () => {
|
||||
const command = 'PATH'
|
||||
createFileCommandFile(command)
|
||||
|
Loading…
x
Reference in New Issue
Block a user