mirror of
https://github.com/actions/toolkit
synced 2025-05-10 09:03:02 +00:00
some test updates
This commit is contained in:
parent
e9d6649a14
commit
22b7aeb707
10 changed files with 237 additions and 237 deletions
|
@ -3,15 +3,11 @@ import {
|
|||
validateFilePath
|
||||
} from '../src/internal/upload/path-and-artifact-name-validation'
|
||||
|
||||
import * as core from '@actions/core'
|
||||
import {noopLogs} from './common.test'
|
||||
|
||||
describe('Path and artifact name validation', () => {
|
||||
beforeAll(() => {
|
||||
// mock all output so that there is less noise when running tests
|
||||
jest.spyOn(console, 'log').mockImplementation(() => {})
|
||||
jest.spyOn(core, 'debug').mockImplementation(() => {})
|
||||
jest.spyOn(core, 'info').mockImplementation(() => {})
|
||||
jest.spyOn(core, 'warning').mockImplementation(() => {})
|
||||
noopLogs()
|
||||
})
|
||||
|
||||
it('Check Artifact Name for any invalid characters', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue