mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
feat: adds option to set scope in webui instructions header
If you're using this registry for a specific module scope, specify that scope to set it in the webui instructions header e.g. npm set @coolsp:registry http://localhost:4873. Added as webui.scope option in .yaml. > Note: in .yaml, escape @ with \\@. See also feature request #593. Update unit test for added scope
This commit is contained in:
parent
e9007c3d3e
commit
7c3a617d79
1 changed files with 2 additions and 1 deletions
|
@ -28,6 +28,7 @@ describe('<Header /> component shallow', () => {
|
|||
username: '',
|
||||
password: '',
|
||||
logo: '',
|
||||
scope: '',
|
||||
loginError: null
|
||||
};
|
||||
const HeaderWrapper = wrapper.find(Header).dive();
|
||||
|
@ -137,4 +138,4 @@ describe('<Header /> snapshot test', () => {
|
|||
);
|
||||
expect(wrapper.html()).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue