From ae26bbe383729659ede1d670b8148548e2eb7733 Mon Sep 17 00:00:00 2001 From: Frostebite Date: Sat, 8 Oct 2022 02:52:44 +0100 Subject: [PATCH] Custom step file support --- .../tests/cloud-runner-run-once-custom-hooks.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/model/cloud-runner/tests/cloud-runner-run-once-custom-hooks.test.ts b/src/model/cloud-runner/tests/cloud-runner-run-once-custom-hooks.test.ts index e7b08d7d..fd7a0c27 100644 --- a/src/model/cloud-runner/tests/cloud-runner-run-once-custom-hooks.test.ts +++ b/src/model/cloud-runner/tests/cloud-runner-run-once-custom-hooks.test.ts @@ -16,10 +16,10 @@ async function CreateParameters(overrides) { return await BuildParameters.create(); } -describe('Cloud Runner Custom Hooks', () => { +describe('Cloud Runner Custom Hooks And Steps', () => { it('Responds', () => {}); setups(); - it('Check for pre and post custom hooks run contents', async () => { + it('Check parsing and reading of steps', async () => { const yamlString = `hook: before commands: echo "test"`; const stringObject = CloudRunnerCustomSteps.ParseSteps(yamlString); @@ -31,7 +31,7 @@ commands: echo "test"`; expect(stringObject[0].hook).toBe(`before`); }); if (CloudRunnerOptions.cloudRunnerTests && CloudRunnerOptions.cloudRunnerCluster !== `k8s`) { - it('Check for pre and post custom hooks run contents', async () => { + it('Run build once - check for pre and post custom hooks run contents', async () => { const overrides = { versioning: 'None', projectPath: 'test-project',