Skip to content

Commit

Permalink
Reduce rollup noise (mochajs#4363)
Browse files Browse the repository at this point in the history
* Treat sinon as external in bundled tests

* Silence circular dependency warnings in rollup

* Let rollup deal with file globbing in karma-rollup-plugin

* Update rollup and all plugins to avoid installation peer dependencies warning

* Reuse more rollup config in karma-rollup-plugin
  • Loading branch information
Munter authored Jul 7, 2020
1 parent 1392bc9 commit 7000336
Show file tree
Hide file tree
Showing 5 changed files with 1,416 additions and 1,371 deletions.
1 change: 1 addition & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ module.exports = config => {
}

cfg.files.unshift(
require.resolve('sinon/pkg/sinon.js'),
require.resolve('unexpected/unexpected'),
{pattern: require.resolve('unexpected/unexpected.js.map'), included: false},
require.resolve('unexpected-sinon'),
Expand Down
Loading

0 comments on commit 7000336

Please sign in to comment.