diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 204ae84e..bd1b1a6d 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -2,17 +2,19 @@ on: push name: Test jobs: npm-test: - name: npm test + name: JavaScript Tests runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: Install Node uses: actions/setup-node@v1 - - name: Run NPM Tests - run: npm it + - name: Install depdencies + run: yarn + - name: Run Tests + run: yarn test go-test: - name: go test + name: Go Tests runs-on: ubuntu-latest steps: - name: Install Go @@ -21,7 +23,7 @@ jobs: go-version: 1.14.x - name: Checkout code uses: actions/checkout@v2 - - name: Run Go Tests + - name: Run Go Tests with Coverage run: go test -cover ./... docker-build: name: Integration Tests diff --git a/assets/components/LogEventSource.spec.js b/assets/components/LogEventSource.spec.js index dc1a7062..06eb83ba 100644 --- a/assets/components/LogEventSource.spec.js +++ b/assets/components/LogEventSource.spec.js @@ -37,7 +37,7 @@ describe("", () => { localVue.component("log-viewer", LogViewer); - const state = { searchFilter, settings: { size: "medium" } }; + const state = { searchFilter, settings: { size: "medium", showTimestamp: true } }; const store = new Vuex.Store({ state, diff --git a/assets/components/LogViewer.vue b/assets/components/LogViewer.vue index e2795ff6..7cf73908 100644 --- a/assets/components/LogViewer.vue +++ b/assets/components/LogViewer.vue @@ -1,7 +1,7 @@