From 414eb83f6dc9df3fca74c86513dd7f5827583482 Mon Sep 17 00:00:00 2001 From: rebuilt Date: Fri, 15 Oct 2021 20:19:14 +0200 Subject: [PATCH] Modify github actions file to run jest --- .github/workflows/build-and-test.yml | 2 +- spec/javascript/hello_jest.spec.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 158096d7..6a346845 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -39,7 +39,7 @@ jobs: run: bundle install - name: Create DB run: bundle exec rake db:test:prepare - - name: Run rails tests + - name: Run tests run: bundle exec rake - name: Install javascript dependencies run: yarn install diff --git a/spec/javascript/hello_jest.spec.js b/spec/javascript/hello_jest.spec.js index a813c031..ff3d5aab 100644 --- a/spec/javascript/hello_jest.spec.js +++ b/spec/javascript/hello_jest.spec.js @@ -9,7 +9,4 @@ describe('this test should pass', () => { const jester = new Jester() expect(jester.hello()).toBe("Hello") }) - test('fail', () => { - expect(false).toBe(true) - }) })