-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,10 +25,11 @@ describe('validate-npm-package', () => { | |
await verifyNpmPackage(); | ||
}, 300_000); | ||
|
||
// this test should reject but isn't now | ||
// this did work historically | ||
// eslint-disable-next-line jest/no-disabled-tests | ||
it.skip('bad npm package results in error', async () => { | ||
// Test uses a bad version of approval package | ||
// and requires skipLibCheck: false in tsconfig.json | ||
// we set it manually in validate npm package as | ||
// checkdigit/typescript-config is various versions of this setting | ||
it('bad npm package results in error', async () => { | ||
actionsCoreSpy.mockImplementationOnce((name) => { | ||
if (name === 'betaPackage') { | ||
return '@checkdigit/[email protected]'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters