summaryrefslogtreecommitdiff
path: root/spec/frontend/lib/utils/vuex_module_mappers_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/lib/utils/vuex_module_mappers_spec.js')
-rw-r--r--spec/frontend/lib/utils/vuex_module_mappers_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/lib/utils/vuex_module_mappers_spec.js b/spec/frontend/lib/utils/vuex_module_mappers_spec.js
index 1821a15f677..d25a692dfea 100644
--- a/spec/frontend/lib/utils/vuex_module_mappers_spec.js
+++ b/spec/frontend/lib/utils/vuex_module_mappers_spec.js
@@ -128,7 +128,7 @@ describe('~/lib/utils/vuex_module_mappers', () => {
describe('with non-string object value', () => {
it('throws helpful error', () => {
- expect(() => mapVuexModuleActions((vm) => vm.bogus, { foo: () => {} })).toThrowError(
+ expect(() => mapVuexModuleActions((vm) => vm.bogus, { foo: () => {} })).toThrow(
REQUIRE_STRING_ERROR_MESSAGE,
);
});