Skip to content

Commit

Permalink
[Tests] actually test non-babel’d packages without babel
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 8, 2023
1 parent 0501367 commit 69fce5c
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,9 @@ resolvers/node/LICENSE
resolvers/webpack/LICENSE
utils/LICENSE
memo-parser/.npmrc
memo-parser/.nycrc
resolvers/node/.npmrc
resolvers/node/.nycrc
resolvers/webpack/.npmrc
resolvers/webpack/.nycrc
utils/.npmrc
utils/.nycrc

# Dependency directory
# Commenting this out is preferred by some people, see
Expand Down
19 changes: 19 additions & 0 deletions memo-parser/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"all": true,
"check-coverage": false,
"reporter": ["text-summary", "lcov", "text", "html", "json"],
"require": [
"babel-register"
],
"sourceMap": true,
"instrument": false,
"exclude": [
"coverage",
"test",
"tests",
"resolvers/*/test",
"scripts",
"memo-parser",
"lib"
]
}
15 changes: 15 additions & 0 deletions resolvers/node/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"all": true,
"check-coverage": false,
"reporter": ["text-summary", "lcov", "text", "html", "json"],
"instrument": false,
"exclude": [
"coverage",
"test",
"tests",
"resolvers/*/test",
"scripts",
"memo-parser",
"lib"
]
}
15 changes: 15 additions & 0 deletions resolvers/webpack/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"all": true,
"check-coverage": false,
"reporter": ["text-summary", "lcov", "text", "html", "json"],
"instrument": false,
"exclude": [
"coverage",
"test",
"tests",
"resolvers/*/test",
"scripts",
"memo-parser",
"lib"
]
}
1 change: 0 additions & 1 deletion scripts/copyMetafiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import resolverDirectories from './resolverDirectories';
const files = [
'LICENSE',
'.npmrc',
'.nycrc',
];

const directories = [].concat(
Expand Down
15 changes: 15 additions & 0 deletions utils/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"all": true,
"check-coverage": false,
"reporter": ["text-summary", "lcov", "text", "html", "json"],
"instrument": false,
"exclude": [
"coverage",
"test",
"tests",
"resolvers/*/test",
"scripts",
"memo-parser",
"lib"
]
}

0 comments on commit 69fce5c

Please sign in to comment.