diff --git a/.github/workflows/stackql-exec-test.yml b/.github/workflows/stackql-exec-test.yml index 472d472..9f23d7c 100644 --- a/.github/workflows/stackql-exec-test.yml +++ b/.github/workflows/stackql-exec-test.yml @@ -1,4 +1,4 @@ -name: 'stackql query tests' +name: 'stackql-exec tests' on: push: diff --git a/lib/tests/failed-result.json b/lib/tests/failed-result.json deleted file mode 100644 index 82e6d31..0000000 --- a/lib/tests/failed-result.json +++ /dev/null @@ -1 +0,0 @@ -[{"name":"stackql-demo-001","status":"RUNNING"}] \ No newline at end of file diff --git a/lib/tests/success-result.json b/lib/tests/success-result.json deleted file mode 100644 index 030276f..0000000 --- a/lib/tests/success-result.json +++ /dev/null @@ -1 +0,0 @@ -[{"name":"stackql-demo-001","status":"TERMINATED"}] \ No newline at end of file diff --git a/lib/tests/test-auth.json b/lib/tests/test-auth.json deleted file mode 100644 index d8de066..0000000 --- a/lib/tests/test-auth.json +++ /dev/null @@ -1 +0,0 @@ -{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }} \ No newline at end of file diff --git a/lib/tests/utils.test.js b/lib/tests/utils.test.js index 5a74e71..759495c 100644 --- a/lib/tests/utils.test.js +++ b/lib/tests/utils.test.js @@ -4,7 +4,9 @@ describe("Utils Functions Tests", () => { let core; beforeEach(() => { + core = { + debug: jest.fn().mockImplementation((message) => console.log(`DEBUG: ${message}`)), setFailed: jest.fn().mockImplementation((message) => console.error(message)), info: jest.fn().mockImplementation((message) => console.log(message)), exportVariable: jest.fn(),