mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 00:27:58 +00:00
using correct time source
This commit is contained in:
parent
94b4cf795d
commit
ab23f03e3f
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ describe("Context", () => {
|
|||
return Offline(context => {
|
||||
const transport = new Transport({context});
|
||||
transport.context.setTimeout(() => {
|
||||
expect(Tone.now()).to.be.closeTo(0.01, 0.005);
|
||||
expect(transport.now()).to.be.closeTo(0.01, 0.005);
|
||||
}, 0.01);
|
||||
}, 0.05);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue