single-spa / import-map-deployer

A manifest deployment service for sofe/import maps
Apache License 2.0
191 stars 63 forks source link

Tests fail after adding `config.json` #162

Open colincclark opened 11 months ago

colincclark commented 11 months ago

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?