diff --git a/CHANGELOG.md b/CHANGELOG.md index db55f9ba..666e18af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Fixes - Changes Content Security Policy added by GTM recipe to: - Include the same config regardless of environment - Include `unsafe_eval` in `script_src`, as it is required for Vue's compiler build + - Changes the front-end test to avoid using the deprecated method `isVueInstance` [#376](https://github.com/platanus/potassium/pull/376) ## 6.3.0 diff --git a/lib/potassium/assets/app/javascript/app.spec.js b/lib/potassium/assets/app/javascript/app.spec.js index ca30f040..fefca344 100644 --- a/lib/potassium/assets/app/javascript/app.spec.js +++ b/lib/potassium/assets/app/javascript/app.spec.js @@ -4,7 +4,7 @@ import App from 'app'; describe('App', () => { test('is a Vue instance', () => { const wrapper = shallowMount(App); - expect(wrapper.isVueInstance()).toBeTruthy(); + expect(wrapper.vm).toBeTruthy(); }); it('displays message on load', () => {