scratch-vm/test/unit
2022-12-14 11:03:12 -05:00
..
blocks_control.js test(wait): make the wait block test reliable under CPU load 2022-06-07 11:44:06 -07:00
blocks_data.js Lint 2018-03-31 13:41:39 -03:00
blocks_data_infinity.js Add unit tests for treatment of infinity primatives 2018-11-13 13:51:12 -05:00
blocks_event.js Add references to runtime to existing calls to Blocks constructor in tests. 2019-01-28 19:30:42 -05:00
blocks_looks.js Consistently format text bubbles 2020-06-09 13:28:58 -04:00
blocks_motion.js Handle coordinate precision the same as Scratch 2 (#1722) 2018-11-15 15:50:56 -05:00
blocks_operators.js Add unit tests for treatment of infinity primatives 2018-11-13 13:51:12 -05:00
blocks_operators_infinity.js Revert changes to toNumber, fix comparison of infinity in cast.compare 2018-11-27 17:53:20 -05:00
blocks_procedures.js add getProcedureParamNamesIdsAndDefaults 2018-10-16 16:31:45 -04:00
blocks_sensing.js Added test 2020-03-25 18:26:02 +09:00
blocks_sounds.js Revert "Revert #1260, #1258, #1239" 2018-06-22 09:33:08 -04:00
dispatch.js Use async require with coreExample extension. Log a warning when attempting to load a non-built in extension synchronously. Simplify unit test. 2019-03-26 12:03:00 -04:00
engine_adapter.js Make sure to set comment property of block when creating a new block via XML using the adapter. Update unit tests. 2018-06-15 13:58:03 -04:00
engine_blocks.js Update sensing_of fields if variable gets renamed 2020-05-22 19:00:43 +09:00
engine_mutation-adapter.js add tests for new e16n support features 2019-06-12 13:01:28 -07:00
engine_runtime.js test: don't use process.exit to end tests 2022-06-07 11:44:06 -07:00
engine_sequencer.js Revert "Raise params to the next frame when pushing" 2019-07-22 12:59:48 -04:00
engine_target.js Add references to runtime to constructor calls for Sprite, Target, and RenderedTarget so blocks get created properly. 2019-01-29 15:30:45 -05:00
engine_thread.js Revert "Raise params to the next frame when pushing" 2019-07-22 12:59:48 -04:00
engine_variable.js Escape variable name in XML 2019-01-25 10:31:33 +09:00
extension_conversion.js fix test 2019-11-14 21:23:42 +01:00
extension_microbit.js MicroBit extension, Scratch Link first draft. (#1230) 2018-06-18 14:56:51 -04:00
extension_music.js Fix runtime scope and unit test 2018-04-05 15:01:52 -04:00
extension_text_to_speech.js Add test for localized spoken language name 2019-10-31 14:58:45 -04:00
extension_video_sensing.js Use new updateCPURenderAttributes in video sensing 2020-08-01 00:09:53 +09:00
extension_video_sensing_center.png Test VideoMotion and VideoSensing blocks 2018-04-06 18:09:50 -04:00
extension_video_sensing_down-10.png Test VideoMotion and VideoSensing blocks 2018-04-06 18:09:50 -04:00
extension_video_sensing_left-5.png Test VideoMotion and VideoSensing blocks 2018-04-06 18:09:50 -04:00
extension_video_sensing_left-10.png Test VideoMotion and VideoSensing blocks 2018-04-06 18:09:50 -04:00
io_clock.js Move test 2020-06-23 17:13:11 -04:00
io_cloud.js Add references to runtime to constructor calls for Sprite, Target, and RenderedTarget so blocks get created properly. 2019-01-29 15:30:45 -05:00
io_keyboard.js Update unit tests 2018-04-25 12:26:52 -04:00
io_mouse.js Round the values of mouse io getScratchX/Y 2018-12-13 11:06:31 -05:00
io_mousewheel.js Mouse wheel IO system 2018-01-26 17:13:01 -04:00
io_scratchBLE.js Refactor for hardware extensions (#1555) 2018-09-07 17:01:23 -04:00
io_scratchBT.js Refactor for hardware extensions (#1555) 2018-09-07 17:01:23 -04:00
io_userData.js Add UserData ioDevice for setting and getting username from blocks 2018-07-23 09:38:58 -04:00
maybe_format_message.js Add tests for maybeFormatMessage 2018-04-06 12:26:12 -07:00
mock-timer.js TaskQueue: support canceling a single task 2019-02-12 18:11:13 -08:00
project_changed_state.js test: don't use process.exit to end tests 2022-06-07 11:44:06 -07:00
project_changed_state_blocks.js test: don't use process.exit to end tests 2022-06-07 11:44:06 -07:00
project_load_changed_state.js test: don't use process.exit to end tests 2022-06-07 11:44:06 -07:00
serialization_sb2.js Ignore video sensing monitor and import music tempo monitor unless it is hidden. Load extensions for visible monitors. Add tests for new functionality. 2018-11-09 00:09:54 -05:00
serialization_sb3.js test(clone-cleanup): go back to using an SB2 2022-06-10 10:14:17 -07:00
spec.js Tests and cleanup of addSprite3 so that .sprite3 format does not need to be nested inside an extra {targets: ...} 2018-05-04 11:00:45 -04:00
sprites_rendered-target.js Remove RenderedTarget.setSay + its test 2020-05-18 01:35:32 -04:00
util_base64.js MicroBit extension, Scratch Link first draft. (#1230) 2018-06-18 14:56:51 -04:00
util_cast.js Add malformed hex RGB color *list* test 2020-05-01 15:06:52 -04:00
util_color.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
util_jsonrpc-web-socket.js MicroBit extension, Scratch Link first draft. (#1230) 2018-06-18 14:56:51 -04:00
util_jsonrpc.js MicroBit extension, Scratch Link first draft. (#1230) 2018-06-18 14:56:51 -04:00
util_math.js End randIntWithout test case with t.end() 2020-05-07 16:38:45 +01:00
util_new-block-ids.js test: upgrade tap, configure coverage thresholds 2022-06-07 11:44:06 -07:00
util_rateLimiter.js Rate-limiting with a token bucket for the WeDo extension (#1540) 2018-08-29 17:37:59 -04:00
util_string.js Fix issue where non-strings were getting passed in to escape functions for handling special characters that can appear in xml. Add tests. 2019-02-07 11:58:10 -05:00
util_task-queue.js Fix TaskQueue constructor when no options passed 2019-02-15 15:20:38 -08:00
util_timer.js stub timer to fix flaky test 2019-03-26 11:56:50 -04:00
util_variable.js Add tests! =] 2019-02-04 19:05:44 -05:00
util_xml.js Fix issue where non-strings were getting passed in to escape functions for handling special characters that can appear in xml. Add tests. 2019-02-07 11:58:10 -05:00
virtual-machine.js feat: ability to clear flyout blocks when language changes 2022-12-14 11:03:12 -05:00
vm_collectAssets.js Consolidate collectAssets into getter 2018-11-15 10:26:05 +00:00