mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +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
|
timeout : 30000
|
||||||
});
|
});
|
||||||
|
|
||||||
//don't log for tests
|
|
||||||
window.TONE_SILENCE_VERSION_LOGGING = true
|
|
||||||
|
|
||||||
beforeEach(function(){
|
beforeEach(function(){
|
||||||
if (Transport.bpm.value !== 120){
|
if (Transport.bpm.value !== 120){
|
||||||
Transport.bpm.value = 120;
|
Transport.bpm.value = 120;
|
||||||
|
|
|
@ -6,6 +6,10 @@
|
||||||
<script src="./deps/mocha.js"></script>
|
<script src="./deps/mocha.js"></script>
|
||||||
<script src="./deps/chai.js"></script>
|
<script src="./deps/chai.js"></script>
|
||||||
<!-- TESTS -->
|
<!-- 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>
|
<script data-main="Main.js" src="./deps/require.js"></script>
|
||||||
<!-- STYLE -->
|
<!-- STYLE -->
|
||||||
<link rel="stylesheet" href="./deps/mocha.css" />
|
<link rel="stylesheet" href="./deps/mocha.css" />
|
||||||
|
|
Loading…
Reference in a new issue