unity-builder/src/model/cloud-runner/tests/cloud-runner-suite.test.ts

26 lines
461 B
TypeScript
Raw Normal View History

2022-09-17 04:09:36 +00:00
import { Cli } from '../../cli/cli';
import GitHub from '../../github';
2022-09-17 04:44:07 +00:00
2022-09-17 04:09:36 +00:00
describe('Cloud Runner', () => {
it('Responds', () => {});
2022-09-17 04:44:07 +00:00
});
const setups = () => {
2022-09-17 04:09:36 +00:00
beforeAll(() => {
GitHub.githubInputEnabled = false;
});
2022-09-17 04:44:07 +00:00
beforeEach(() => {
Cli.options = {};
});
2022-09-17 04:09:36 +00:00
afterEach(() => {
2022-09-17 04:44:07 +00:00
if (Cli.options !== undefined) {
2022-09-17 04:09:36 +00:00
delete Cli.options;
}
});
afterAll(() => {
GitHub.githubInputEnabled = true;
});
2022-09-17 04:44:07 +00:00
};
export default setups;