// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Verdaccio update banner should print major update banner 1`] = ` [MockFunction] { "calls": Array [ Array [ " A new MAJOR version of Verdaccio is available. 3.0.0 → 4.5.6  Run npm install -g verdaccio to update. Registry: https://registry.npmjs.org Changelog: https://github.com/verdaccio/verdaccio/releases/tag/v4.5.6 ", ], ], "results": Array [ Object { "isThrow": false, "value": undefined, }, ], } `; exports[`Verdaccio update banner should print minor update banner 1`] = ` [MockFunction] { "calls": Array [ Array [ " A new MINOR version of Verdaccio is available. 4.0.0 → 4.5.6  Run npm install -g verdaccio to update. Registry: https://registry.npmjs.org Changelog: https://github.com/verdaccio/verdaccio/releases/tag/v4.5.6 ", ], ], "results": Array [ Object { "isThrow": false, "value": undefined, }, ], } `; exports[`Verdaccio update banner should print patch update banner 1`] = ` [MockFunction] { "calls": Array [ Array [ " A new PATCH version of Verdaccio is available. 4.5.0 → 4.5.6  Run npm install -g verdaccio to update. Registry: https://registry.npmjs.org Changelog: https://github.com/verdaccio/verdaccio/releases/tag/v4.5.6 ", ], ], "results": Array [ Object { "isThrow": false, "value": undefined, }, ], } `; exports[`Verdaccio update banner when default registry returns with error 1`] = ` [MockFunction] { "calls": Array [ Array [ " Unable to check verdaccio version on https://registry.npmjs.org Error: {\\"message\\":\\"internal server error\\",\\"statusCode\\":500} ", ], ], "results": Array [ Object { "isThrow": false, "value": undefined, }, ], } `; exports[`create banner should create a major update banner 1`] = ` " A new MAJOR version of Verdaccio is available. 1.0.0 → 2.0.0  Run npm install -g verdaccio to update. Registry: https://registry.npmjs.org Changelog: https://github.com/verdaccio/verdaccio/releases/tag/v2.0.0 " `; exports[`create banner should create a minor update banner 1`] = ` " A new MINOR version of Verdaccio is available. 1.0.0 → 1.1.0  Run npm install -g verdaccio to update. Registry: https://registry.npmjs.org Changelog: https://github.com/verdaccio/verdaccio/releases/tag/v1.1.0 " `; exports[`create banner should create a patch update banner 1`] = ` " A new PATCH version of Verdaccio is available. 1.0.0 → 1.0.1  Run npm install -g verdaccio to update. Registry: https://registry.npmjs.org Changelog: https://github.com/verdaccio/verdaccio/releases/tag/v1.0.1 " `; exports[`createErrorBanner should create an error banner 1`] = ` " Unable to check verdaccio version on https://registry.npmjs.org Error: message " `;