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:
parent
ccb73404a8
commit
c6740feec3
2 changed files with 3 additions and 3 deletions
|
@ -31,11 +31,12 @@ module.exports = {
|
|||
],
|
||||
testPathIgnorePatterns: [
|
||||
'__snapshots__',
|
||||
'build'
|
||||
'<rootDir>/build',
|
||||
],
|
||||
coveragePathIgnorePatterns: [
|
||||
'node_modules',
|
||||
'fixtures'
|
||||
'fixtures',
|
||||
'<rootDir>/test',
|
||||
],
|
||||
// moduleFileExtensions: ["js"],
|
||||
moduleNameMapper: {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue