0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-17 23:45:29 -05:00

chore: remove test folder from coverage report

This commit is contained in:
Juan Picado @jotadeveloper 2018-06-27 21:19:48 +02:00
parent ccb73404a8
commit c6740feec3
No known key found for this signature in database
GPG key ID: 18AC54485952D158
2 changed files with 3 additions and 3 deletions

View file

@ -31,11 +31,12 @@ module.exports = {
],
testPathIgnorePatterns: [
'__snapshots__',
'build'
'<rootDir>/build',
],
coveragePathIgnorePatterns: [
'node_modules',
'fixtures'
'fixtures',
'<rootDir>/test',
],
// moduleFileExtensions: ["js"],
moduleNameMapper: {

View file

@ -71,7 +71,6 @@ describe('StorageTest', () => {
storage._syncUplinksMetadata('@verdaccio/404', null, {}, (err, metadata, errors) => {
expect(err).not.toBeNull();
expect(errors).toBeInstanceOf(Array);
console.log(errors);
expect(errors[0][0].statusCode).toBe(HTTP_STATUS.NOT_FOUND);
expect(errors[0][0].message).toMatch(API_ERROR.NOT_PACKAGE_UPLINK);
done();