mirror of
https://github.com/actions/setup-node.git
synced 2025-06-28 21:53:48 +00:00
npm run format
This commit is contained in:
parent
5d5d8e9b58
commit
87063ef0ad
4 changed files with 16 additions and 15 deletions
|
@ -13,7 +13,7 @@ import each from 'jest-each';
|
|||
import * as main from '../src/main';
|
||||
import * as util from '../src/util';
|
||||
import OfficialBuilds from '../src/distributions/official_builds/official_builds';
|
||||
import { validateMirrorURL } from '../src/util';
|
||||
import {validateMirrorURL} from '../src/util';
|
||||
|
||||
describe('main tests', () => {
|
||||
let inputs = {} as any;
|
||||
|
@ -284,12 +284,10 @@ describe('main tests', () => {
|
|||
describe('mirror-url parameter', () => {
|
||||
beforeEach(() => {
|
||||
inputs['mirror-url'] = 'https://custom-mirror-url.com';
|
||||
|
||||
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
delete inputs['mirror-url'];
|
||||
delete inputs['mirror-url'];
|
||||
});
|
||||
|
||||
it('Read mirror-url if mirror-url is provided', async () => {
|
||||
|
@ -316,5 +314,4 @@ describe('main tests', () => {
|
|||
);
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue