c3695ae533
Migrate to jest ( #1520 )
...
Mocha doesn't have a lot of features provided by jest.
There is a great assertion library out of the box.
And the most cool feature is inline snapshots.
Mocha also hides errors which makes debugging a nightmare sometimes.
2021-08-12 18:06:10 +03:00
d1d6e5efe8
Remove prefix/local support in elements and attributes ( #1413 )
...
These parts of element and attribute name are easy to extract.
Now we can easily replace attrs with xast attributes object.
2021-03-10 13:26:15 +03:00
a99cc08e4f
Format tests with prettier ( #1380 )
...
Will format the code with prettier in a few commits.
2021-02-27 23:17:47 +03:00
c9c7871e0d
Simplify svgo api ( #1325 )
...
Dropped SVGO class and provided "optimize" function with svg and config
as inputs and "createContentItem".
2021-02-15 18:32:50 +03:00
8899f682b8
Remove coverage imports from tests
2021-02-15 02:41:28 +03:00
bc44ab3f29
Refactor assertions with chai expect
2021-02-14 15:12:41 +03:00
3e2fd44a17
feat: offer ES module interop default export ( #934 )
2018-09-15 14:44:17 +03:00
739a296621
v0.5.3
2015-06-21 22:23:00 +03:00
842f0d1b74
expose jsAPI as factory method
2014-08-28 20:51:11 +06:00