diff --git a/assets/components/LogEventSource.spec.js b/assets/components/LogEventSource.spec.js index 4d2142b1..69919503 100644 --- a/assets/components/LogEventSource.spec.js +++ b/assets/components/LogEventSource.spec.js @@ -33,7 +33,7 @@ describe("", () => { localVue.component("log-viewer", LogViewer); - const state = { searchFilter, settings: { size: "medium", showTimestamp: true } }; + const state = { searchFilter, settings: { size: "medium", showTimestamp: true, hourStyle: "auto" } }; const store = new Vuex.Store({ state, @@ -144,7 +144,7 @@ describe("", () => { await wrapper.vm.$nextTick(); expect(wrapper.find("ul.events")).toMatchInlineSnapshot(` `); }); @@ -159,7 +159,7 @@ describe("", () => { await wrapper.vm.$nextTick(); expect(wrapper.find("ul.events")).toMatchInlineSnapshot(`
    -
  • blackwhite
  • +
  • blackwhite
`); }); @@ -174,7 +174,7 @@ describe("", () => { await wrapper.vm.$nextTick(); expect(wrapper.find("ul.events")).toMatchInlineSnapshot(`
    -
  • <test>foo bar</test>
  • +
  • <test>foo bar</test>
`); }); @@ -192,7 +192,7 @@ describe("", () => { await wrapper.vm.$nextTick(); expect(wrapper.find("ul.events")).toMatchInlineSnapshot(`
    -
  • This is a test <hi></hi>
  • +
  • This is a test <hi></hi>
`); });