mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 00:27:58 +00:00
silence version logging in tests
This commit is contained in:
parent
f5e6d973c9
commit
30f118fd55
2 changed files with 5 additions and 4 deletions
|
@ -16,9 +16,6 @@ define(["Tone/core/Tone", "deps/chai", "Tone/core/Context", "Tone/core/Transport
|
|||
timeout : 30000
|
||||
});
|
||||
|
||||
//don't log for tests
|
||||
window.TONE_SILENCE_VERSION_LOGGING = true
|
||||
|
||||
beforeEach(function(){
|
||||
if (Transport.bpm.value !== 120){
|
||||
Transport.bpm.value = 120;
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
<script src="./deps/mocha.js"></script>
|
||||
<script src="./deps/chai.js"></script>
|
||||
<!-- TESTS -->
|
||||
<script type="text/javascript">
|
||||
//don't log for tests
|
||||
window.TONE_SILENCE_VERSION_LOGGING = true
|
||||
</script>
|
||||
<script data-main="Main.js" src="./deps/require.js"></script>
|
||||
<!-- STYLE -->
|
||||
<link rel="stylesheet" href="./deps/mocha.css" />
|
||||
|
@ -13,4 +17,4 @@
|
|||
<body>
|
||||
<div id="mocha"></div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue