aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/__tests__/ducks/optionsSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/__tests__/ducks/optionsSpec.js')
-rw-r--r--web/src/js/__tests__/ducks/optionsSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/__tests__/ducks/optionsSpec.js b/web/src/js/__tests__/ducks/optionsSpec.js
index 9178c14e..d3f9b8e5 100644
--- a/web/src/js/__tests__/ducks/optionsSpec.js
+++ b/web/src/js/__tests__/ducks/optionsSpec.js
@@ -56,7 +56,7 @@ describe('save', () => {
global.fetch = jest.fn()
store.dispatch(OptionsActions.save())
expect(fetch).toBeCalledWith(
- '/options/save?_xsrf=undefined',
+ './options/save?_xsrf=undefined',
{
credentials: "same-origin",
method: "POST"