Once a config.json file is added to the root of the project, the tests fail:
expected 200 "OK", got 401 "Unauthorized"
This looks to be an issue with the setConfig method in src/config.js: looking at the code, it seems that the intention was to allow the config to be overriden with the arg passed into this method. However, as the tests fail, it seems that this is not the case?
Once a
config.json
file is added to the root of the project, the tests fail:expected 200 "OK", got 401 "Unauthorized"
This looks to be an issue with the
setConfig
method insrc/config.js
: looking at the code, it seems that the intention was to allow the config to be overriden with the arg passed into this method. However, as the tests fail, it seems that this is not the case?