Commit graph

1073 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
a256ae2e6c
Working on getting github actions to run (#1231)
* working on getting actions to run

* running all tests

* run on CHROME only

* Update test.yml

* ignoring node_modules

* updating typedocs

* trying to ignore compiler errors

* Update tsconfig.json

* running doc tests in parallel

* speeding up docs example tests

* Update test.yml

* testing README

* 2 spaces instead of 4

* codecov

* remove travis ci

* adding token

* updating codecov
2024-04-25 14:06:55 -04:00
Yotam Mann
444d6179c4 Don't reschedule source when offset is very small
This offset is due to floating point error

Fixes #999
Fixes #944
2021-12-19 11:21:27 -05:00
Yotam Mann
d6a23a134c fixing typo 2021-12-18 17:36:57 -05:00
Yotam Mann
2d1e48f04f increasing the disconnect time 2021-10-13 14:21:23 -04:00
Yotam Mann
cf9edc5992 moving to .cjs scripts 2021-10-13 13:56:57 -04:00
Yotam Mann
6185cecec5 additional cleanup checks 2021-10-13 13:24:41 -04:00
Yotam Mann
dbd77be2ef moving to karma cjs 2021-10-13 13:07:18 -04:00
Yotam Mann
f08d6abde3 updating tremolo wav bc of updated Tone.LFO 2020-10-30 14:57:46 -04:00
Yotam Mann
ca47d0f719 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2020-09-07 09:11:32 -04:00
Yotam Mann
d967fa1e38 linting 2020-08-26 11:37:08 -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
6b5daa7d07 using new way to handle offline tests 2020-07-26 13:55:06 -07:00
Yotam Mann
ebd84be80b testing all of the scripts in the readme 2020-07-26 13:37:38 -07:00
Yotam Mann
9352dcafc6 splitting the examples into two sections to speed things up 2020-07-19 12:41:20 -07:00
Yotam Mann
8a82a5f794 running examples through typescript checker 2020-07-19 10:50:44 -07:00
Yotam Mann
705723f919 serial iteration instead of parallel
hopefully it's not too slow
2020-07-19 10:42:15 -07:00
Yotam Mann
5e3a76bb9d print examples and then throw error if they didn't pass 2020-07-19 10:12:08 -07:00
Yotam Mann
919f116871 throw error if didn't pass all tests 2020-07-19 09:41:04 -07:00
Yotam Mann
55b555d25c moving writeFile into try/catch 2020-07-18 08:36:18 -07:00
Yotam Mann
47f3ef5089 reverting part of it 2020-07-17 19:17:30 -07:00
Yotam Mann
4dd5166927 wasn't actually testing examples
😳
2020-07-17 19:10:47 -07:00
Yotam Mann
3897d0fb87 no longer exclude worklet files from coverage 2020-05-07 09:27:05 -04:00
Yotam Mann
8bc4deec2b feat: updating the way that AudioWorkletProcessors are handled
They each get their own .worklet.ts file which enables some typescript checking
2020-04-29 16:38:58 -04: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
2fea903b2d ignoring worklet files
since they are run in a AudioWorklet context
2020-04-29 14:40:26 -04:00
Yotam Mann
f17249691d feat: updating all examples
now in the form Tone.Something instead of using `import { Something } from "tone"`. It makes the example runner on the docs page work much faster
2020-04-16 22:24:18 -04:00
Yotam Mann
f3d651272c skipping test in firefox 2020-04-14 23:54:22 -04:00
Yotam Mann
165569cefd updating tests for slightly different oscillator sound 2020-04-13 23:13:28 -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
71c9c5f19e throws error if examples don't compile 2019-11-22 15:48:22 -05:00
Yotam Mann
2e91972934 pointing the compiler at the correct dir 2019-11-22 13:40:53 -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
0246dda544 updating example path 2019-11-16 18:01:34 -05:00
Yotam Mann
472afc7d1d reorganising testing directory 2019-11-16 17:45:22 -05:00
Yotam Mann
3068ab1cc8 removing old js test files 2019-11-16 17:28:00 -05:00
Yotam Mann
6096f39b33 Update README.md 2019-11-16 17:21:16 -05:00
Yotam Mann
f37e48d596 removing old tests
tests are now stored in the same directory as the source
2019-11-16 17:21:01 -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
a28f1af610 feat: Chorus extends StereoFeedbackEffect
This makes it possible to do flanger-type effects.

fixes #575
2019-11-13 12:58:37 -05:00
Yotam Mann
63ebc0f3fe adding resume before all the tests 2019-11-12 12:06:37 -05:00
Yotam Mann
811b7f52cb testing within a node context 2019-11-07 15:44:07 -05:00
Yotam Mann
c05aee48a6 converting PitchShift to typescript 2019-11-04 22:28:51 -05:00
Yotam Mann
caf7b4bd19 converting PingPongDelay to typescript 2019-11-04 18:59:32 -05:00
Yotam Mann
1d334f9a80 converting vibrato to typescript 2019-11-03 22:44:49 -05:00
Yotam Mann
1738307e8a using .wav instead of .mp3 2019-11-03 22:43:19 -05:00