mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-21 07:29:37 +01:00
refactor: better name for 404
This commit is contained in:
parent
47cc15e72d
commit
d39a494131
@ -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 New Issue
Block a user