1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-04-06 06:23:33 +02:00
Ian Storm Taylor 6ab686ae77 Refactor benchmarks (#675)
* first stab

* refactor to nanobench

* refactor to matcha

* use hand-rolled comparison logic, ugh

* update threshold

* remove unused dependencies

* remove benchmarks from travis ci
2017-03-21 17:38:39 -07:00
..
2016-12-09 12:44:12 -08:00
2016-12-07 15:16:49 -08:00
2016-12-09 12:15:36 -08:00
2017-03-21 17:38:39 -07:00

This directory contains all of the tests for Slate. It's separated further into a series of directories:

  • Behavior — testing user interaction behaviors like pressing keys, or blurring the editor.
  • Benchmarks — testing performance of various parts of Slate.
  • Helpers — a series of test helper utilities to make writing tests easier.
  • Rendering — testing the rendering logic of Slate's components.
  • Schema — testing the core schema validation logic.
  • Serializers - testing the serializers that Slate ships with by default.
  • Transforms — testing the transforms that change the content of a Slate editor.

Feel free to poke around in each of them to see how they work!