mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
refactor: better name for 404
This commit is contained in:
parent
47cc15e72d
commit
d39a494131
1 changed files with 2 additions and 2 deletions
|
@ -40,9 +40,9 @@ describe('basic system test', () => {
|
|||
});
|
||||
});
|
||||
|
||||
test('server should respond on /whatever', done => {
|
||||
test('server should respond on /___not_found_package', done => {
|
||||
request({
|
||||
url: `http://localhost:${port}/whatever`,
|
||||
url: `http://localhost:${port}/___not_found_package`,
|
||||
}, function(err, res, body) {
|
||||
expect(err).toBeNull();
|
||||
expect(body).toMatch(API_ERROR.NO_PACKAGE);
|
||||
|
|
Loading…
Reference in a new issue