diff --git a/docs/en/workflow/testing-with-mocks.md b/docs/en/workflow/testing-with-mocks.md index 645d81aa5..7cff72e85 100644 --- a/docs/en/workflow/testing-with-mocks.md +++ b/docs/en/workflow/testing-with-mocks.md @@ -65,6 +65,6 @@ it('should render', () => { 'test': ExampleWithMocks } }).$mount() - expect(vm.$el.querySelector('.msg').textContent).toBe('Hello from a mocked service!') + expect(vm.$el.querySelector('.msg').textContent).to.equal('Hello from a mocked service!') }) ```