Skip to content

Commit

Permalink
Merge pull request #12 from mehmetb/mehmetb/fix-tests
Browse files Browse the repository at this point in the history
Mehmetb/fix tests
  • Loading branch information
RSeidelsohn authored May 30, 2021
2 parents e04b9b9 + be9f80b commit 14eaad5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"Mark Tse <mark.tse@d2l.com>",
"Mark Tse <neverendingqs@users.noreply.github.com>",
"Mattias Amnefelt <mattiasa@cantemo.com>",
"Mehmet Baker <mehmet@mehmetbaker.dev>",
"Michael Kühnel <mail@michael-kuehnel.de>",
"Michael Williamson <mike@zwobble.org>",
"Paul Mandel <paul.mand3l@gmail.com>",
Expand Down Expand Up @@ -73,6 +74,7 @@
"treeify": "^1.1.0"
},
"devDependencies": {
"@types/mssql": "6.0.8",
"@types/node": "^15.0.1",
"detectionizr": "*",
"eslint": "^7.25.0",
Expand All @@ -99,7 +101,7 @@
},
"scripts": {
"changes": "github-changes -o RSeidelsohn -r license-checker-rseidelsohn",
"contrib": "./scripts/contrib.js",
"contrib": "node ./scripts/contrib.js",
"pretest": "eslint --fix .",
"test": "jenkins-mocha ./tests/*.js",
"posttest": "nyc check-coverage && nyc report -r lcov -r text -r text-summary"
Expand Down
1 change: 0 additions & 1 deletion scripts/contrib.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ json.contributors = [
'Peter Uithoven <peter@peteruithoven.nl>',
'Philipp Tusch <philipp.tusch@huf-group.com>',
'Rogier Schouten <github@workingcode.nl>',
'Roman Seidelsohn <rseidelsohn@gmail.com>',
'Stan Senotrusov <stan@senotrusov.com>',
'Stoyan Revov <st.revov@gmail.com>',
'Tero Keski-Valkama <tero.keski-valkama@cybercom.com>',
Expand Down
1 change: 1 addition & 0 deletions tests/packages-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ describe('bin/license-checker-rseidelsohn', function () {
},
);

console.log(output.stderr.toString());
assert.deepEqual(Object.keys(JSON.parse(output.stdout.toString())), restrictedPackages);
});

Expand Down

0 comments on commit 14eaad5

Please sign in to comment.