summaryrefslogtreecommitdiff
path: root/spec/frontend/reports/grouped_test_report/store/mutations_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/reports/grouped_test_report/store/mutations_spec.js')
-rw-r--r--spec/frontend/reports/grouped_test_report/store/mutations_spec.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/spec/frontend/reports/grouped_test_report/store/mutations_spec.js b/spec/frontend/reports/grouped_test_report/store/mutations_spec.js
index 60d5016a11b..d8642a9b440 100644
--- a/spec/frontend/reports/grouped_test_report/store/mutations_spec.js
+++ b/spec/frontend/reports/grouped_test_report/store/mutations_spec.js
@@ -10,11 +10,15 @@ describe('Reports Store Mutations', () => {
stateCopy = state();
});
- describe('SET_ENDPOINT', () => {
+ describe('SET_PATHS', () => {
it('should set endpoint', () => {
- mutations[types.SET_ENDPOINT](stateCopy, 'endpoint.json');
+ mutations[types.SET_PATHS](stateCopy, {
+ endpoint: 'endpoint.json',
+ headBlobPath: '/blob/path',
+ });
expect(stateCopy.endpoint).toEqual('endpoint.json');
+ expect(stateCopy.headBlobPath).toEqual('/blob/path');
});
});