Metadata
Description
As part of C2LC-234, we disabled the rendering tests in App.test.js, which failed because JSDom lacks mocks for the parts of the WebAudio API used by Tone.js.
As we did previously with BlueTooth and Speech Recognition, we can work around this by detecting whether the WebAudio API is available and choosing whether to instantiate the Samplers, Players, et cetera provided by Tone.js.
Comments
-
Tony Atkins [RtF] commented
2020-12-01T05:58:04.953-0500 https://github.com/codelearncreate/c2lc-coding-environment/pull/108