diff --git a/.babelrc b/.babelrc index 9014c23a..9a79ca61 100644 --- a/.babelrc +++ b/.babelrc @@ -1,9 +1,8 @@ { - "presets": [["@babel/preset-env", { "modules": false }]], - "plugins": [["@babel/plugin-transform-runtime", { "regenerator": true }]], + "presets": [["env", { "modules": false }]], "env": { "test": { - "presets": [["@babel/preset-env", { "targets": { "node": "current" } }]] + "presets": [["env", { "targets": { "node": "current" } }]] } } } diff --git a/.htmlnanorc.js b/.htmlnanorc.js deleted file mode 100644 index 86d7fe93..00000000 --- a/.htmlnanorc.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - minifySvg: false, -}; diff --git a/Dockerfile b/Dockerfile index d8853a89..75235681 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,16 +10,14 @@ COPY package*.json yarn.lock ./ RUN yarn install --network-timeout 1000000 # Copy config files -COPY .* ./ +COPY .* webpack*.js ./ # Copy assets to build COPY assets ./assets - # Do the build RUN yarn build - FROM golang:1.14-alpine AS builder RUN apk add --no-cache git ca-certificates diff --git a/assets/App.spec.js b/assets/App.spec.js index 3a487e58..57472e94 100644 --- a/assets/App.spec.js +++ b/assets/App.spec.js @@ -32,11 +32,6 @@ describe("", () => { }); }); - test("is a Vue instance", async () => { - const wrapper = shallowMount(App, { stubs, store, localVue }); - expect(wrapper.isVueInstance()).toBeTruthy(); - }); - test("has right title", async () => { const wrapper = shallowMount(App, { stubs, store, localVue }); await wrapper.vm.$nextTick(); diff --git a/assets/components/ContainerTitle.vue b/assets/components/ContainerTitle.vue index e03b1174..2406438c 100644 --- a/assets/components/ContainerTitle.vue +++ b/assets/components/ContainerTitle.vue @@ -1,4 +1,4 @@ -