Commit graph

196 commits

Author SHA1 Message Date
Yotam Mann
aaf880c925
Using web-test-runner for tests, updating import paths (#1242)
* WIP moving tests to web-test-runner

* updating thresholds

* Adding file extensions

* Testing integrations

* linting

* fixing dep

* moving back to root dir

* prettier all of the files

* updating eslint rules to use with prettier

* remove import package

* moving tsignore around

* removing unneeded ignores

* all tests run on puppeteer, no need for testing guards

* linting

* import type syntax

* cleaning up

* Update package.json
2024-05-03 14:31:14 -04:00
Yotam Mann
6185cecec5 additional cleanup checks 2021-10-13 13:24:41 -04:00
Astray-git
75f591a40a fix: should set _sync in this.sync 2020-08-26 16:58:14 +08:00
Yotam Mann
3577ddac9b adding portamento tests 2020-08-02 14:29:36 -07:00
Yotam Mann
0405964a41 fixing CompareToFile
removing need to use @tonejs/plot for file loading
2020-04-29 15:45:11 -04:00
Yotam Mann
f3d651272c skipping test in firefox 2020-04-14 23:54:22 -04:00
Yotam Mann
88dae77c90 removing 'Connect.ts' and updating dependencies
was a pass through and caused other problems of redefining the variable
2020-01-08 14:12:11 -05:00
Yotam Mann
1a9d3699da should still throw error 2019-11-18 15:08:12 -05:00
Yotam Mann
e03607d0c6 reset the context even if the test fails 2019-11-18 14:47:18 -05:00
Yotam Mann
3068ab1cc8 removing old js test files 2019-11-16 17:28:00 -05:00
Yotam Mann
7920d6a970 disposing the instance after use 2019-11-14 13:36:00 -05:00
Yotam Mann
76b8e84ae4 testing that toString() returns the class name 2019-11-14 12:30:17 -05:00
Yotam Mann
d3951ce16c don't restart unless state === 'started'
fixes #480
2019-11-13 14:09:13 -05:00
Yotam Mann
63ebc0f3fe adding resume before all the tests 2019-11-12 12:06:37 -05:00
Yotam Mann
e437ebd846 updating DuoSynth so it passes tests
thanks @this-fifo!
2019-11-03 17:45:50 -05:00
Yotam Mann
25448e7eba check that the get method can be serialized 2019-11-03 17:42:18 -05:00
Yotam Mann
9538cd63c5 skipping test which can't pass consistently
until i figure out what's going on
2019-10-30 13:23:08 -04:00
Yotam Mann
d56572c94c converting Tremolo to typescript 2019-10-30 13:13:26 -04:00
Yotam Mann
5bb73a5f43 adding onsilence test 2019-10-29 18:09:39 -04:00
Yotam Mann
3a63154b7c using the unit name instead of the unit type as the Param generic 2019-10-28 11:37:53 -04:00
Yotam Mann
9ad519ea10 feat: Get an oscillator wave as an array 2019-10-08 19:22:59 -04:00
Yotam Mann
889dafa45e feat: OfflineContext returns a ToneAudioBuffer
instead of an AudioBuffer
2019-10-03 18:03:21 -04:00
Yotam Mann
81887b91a3 refactor: initialize Context when getting destination or transport 2019-10-03 17:33:39 -04:00
Yotam Mann
e931f3bb28 making sure that CompareToFile works with AudioWorklets 2019-09-29 17:24:41 -04:00
Yotam Mann
3b071edf8b style: linting 2019-09-27 17:51:34 -04:00
Yotam Mann
be634eb093 running all logging and warning through Logger object
makes it possible to implement a Logger interface to visualize logging.
2019-09-20 00:31:43 -04:00
Yotam Mann
ace049a9a2 render just the clock portion without the audio 2019-09-19 16:55:09 -04:00
Yotam Mann
02040af217 styling 2019-09-17 14:04:15 -04:00
Yotam Mann
8871e24e58 linting 2019-09-14 18:25:58 -04:00
Yotam Mann
61c9f191b6 removing calls to tslint
getting rid of tslint from project and using eslint instead
2019-09-14 18:06:46 -04:00
Yotam Mann
bf84a38c19 add function to test if method returns warning 2019-09-09 19:27:14 -04:00
Yotam Mann
42dcbcb7c8 adding test to check if detune can be passed into monophonic instruments 2019-09-03 20:09:11 -04:00
Yotam Mann
34c4494cd5 dry/wet should be a number not string 2019-08-20 22:21:58 -07:00
Yotam Mann
972b88a36c using overloaded offline constructor 2019-08-19 09:59:22 -07:00
Yotam Mann
15291b54ec removing old test 2019-08-14 10:43:49 -04:00
Yotam Mann
3c81958cec Adding monophonic tests
checks for onsilence
2019-08-12 00:14:59 -04:00
Yotam Mann
303986825e removing unused imports 2019-08-12 00:14:38 -04:00
Yotam Mann
d4bacbf4e8 removing commented out test 2019-08-10 18:06:22 -04:00
Yotam Mann
f6843947d8 adding onstop to all the sources 2019-08-10 11:51:35 -04:00
Yotam Mann
f6d70c7802 Offline can also accept an array of atTime functions
this is useful when testing something at multiple times
2019-08-09 19:51:39 -04:00
Yotam Mann
a7d37ce720 input test 2019-08-08 14:13:47 -04:00
Yotam Mann
e852b99a43 adding ConnectTest to automatically test connections 2019-08-04 10:07:19 -04:00
Yotam Mann
3e625e4a09 StereoSignal helper 2019-08-02 21:09:48 -04:00
Yotam Mann
6e5e8b3399 using specific types
importing them so there are not multiple import type errors
2019-07-30 15:35:27 -04:00
Yotam Mann
c6e10ed0b8 skipping some signal tests
for now?
2019-07-25 13:23:30 -04:00
Yotam Mann
aaa0ba2b69 updating tests and thresholds 2019-07-25 13:17:21 -04:00
Yotam Mann
bfc3d7ed15 toMaster() -> toDestination()
more consistent with the Web Audio API
2019-07-25 11:32:56 -04:00
Yotam Mann
68b557f441 additional FeedbackDelay tests 2019-07-25 11:17:11 -04:00
Yotam Mann
28ebbb6706 including destination
initialization was missing when trying to run tests
2019-07-23 13:51:22 -04:00
Yotam Mann
da258c7119 make sure Transport is available 2019-07-23 13:12:41 -04:00