mirror of
https://github.com/status-im/github-comment-manager.git
synced 2025-02-22 06:08:19 +00:00
limit logging noise fo tests
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
07145a6e92
commit
3d43fb18ba
@ -1,6 +1,10 @@
|
|||||||
|
import log from 'loglevel'
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import sinonChai from 'sinon-chai'
|
import sinonChai from 'sinon-chai'
|
||||||
import chaiAsPromised from 'chai-as-promised'
|
import chaiAsPromised from 'chai-as-promised'
|
||||||
|
|
||||||
|
/* limit amount of console noise for tests */
|
||||||
|
log.setDefaultLevel(log.levels.WARN)
|
||||||
|
|
||||||
chai.use(sinonChai)
|
chai.use(sinonChai)
|
||||||
chai.use(chaiAsPromised);
|
chai.use(chaiAsPromised);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user