1
0
mirror of https://github.com/actions/setup-dotnet.git synced 2026-02-18 15:31:20 +01:00
Files
setup-dotnet/__tests__/installer.test.ts
Danny McCormick 32b4c69676 Initial commit
2019-06-19 16:22:22 -04:00

22 lines
573 B
TypeScript

import io = require('@actions/io');
import fs = require('fs');
import os = require('os');
import path = require('path');
const toolDir = path.join(__dirname, 'runner', 'tools');
const tempDir = path.join(__dirname, 'runner', 'temp');
process.env['RUNNER_TOOLSDIRECTORY'] = toolDir;
process.env['RUNNER_TEMPDIRECTORY'] = tempDir;
import * as installer from '../src/installer';
describe('installer tests', () => {
beforeAll(() => {});
beforeAll(async () => {
await io.rmRF(toolDir);
await io.rmRF(tempDir);
});
it('TODO - Add tests', async () => {});
});