0
Fork 0
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:
Juan Picado @jotadeveloper 2019-03-04 23:39:33 +01:00
parent 47cc15e72d
commit d39a494131
No known key found for this signature in database
GPG key ID: 18AC54485952D158

View file

@ -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);