diff --git a/CHANGELOG.md b/CHANGELOG.md index 36e6cf22..15612cee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +## [1.14.5] - 2021-05-28 + +### Fixed +- Crashed test suite. + ## [1.14.4] - 2021-05-14 ### Fixed @@ -210,7 +215,8 @@ will not work anymore, until you pass a callback to `getTimeText`. ### Fixed - Some tests with DOM usage. -[Unreleased]: https://github.com/chird/meteoJS/compare/v1.14.4...HEAD +[Unreleased]: https://github.com/chird/meteoJS/compare/v1.14.5...HEAD +[1.14.5]: https://github.com/chird/meteoJS/compare/v1.14.4...v1.14.5 [1.14.4]: https://github.com/chird/meteoJS/compare/v1.14.3...v1.14.4 [1.14.3]: https://github.com/chird/meteoJS/compare/v1.14.2...v1.14.3 [1.14.2]: https://github.com/chird/meteoJS/compare/v1.14.1...v1.14.2 diff --git a/test/babel.helper.js b/test/babel.helper.js index c5a284da..313da863 100644 --- a/test/babel.helper.js +++ b/test/babel.helper.js @@ -1,6 +1,13 @@ require('core-js/stable'); require('regenerator-runtime/runtime'); +const ignoreStyles = require('ignore-styles'); +ignoreStyles.default(undefined, (module, filename) => { + if (/\.svg$/.test(filename)) + module.exports = 'SVG test node'; +}); const register = require('@babel/register'); register({ - ignore: [] + ignore: [ + /\/utils\.js$/ + ] }); \ No newline at end of file diff --git a/test/meteoJS/timeline/animation/togglebutton.test.js b/test/meteoJS/timeline/animation/togglebutton.test.js index 65591b19..c60cd0ee 100644 --- a/test/meteoJS/timeline/animation/togglebutton.test.js +++ b/test/meteoJS/timeline/animation/togglebutton.test.js @@ -15,13 +15,13 @@ describe('Animation class, import via default', () => { node: btn1 }); assert.equal(btn1.prop('class'), '', 'No class #1'); - assert.equal(btn1.text(), '▶', 'Default stopped content #1'); // ▶ + assert.equal(btn1.text(), 'SVG test node', 'Default stopped content #1'); // ▶ btn1.click() assert.equal(btn1.prop('class'), '', 'No class #2'); - assert.equal(btn1.text(), '⏸', 'Default started content #1'); // ⏸ + assert.equal(btn1.text(), 'SVG test node', 'Default started content #1'); // ⏸ btn1.click() assert.equal(btn1.prop('class'), '', 'No class #3'); - assert.equal(btn1.text(), '▶', 'Default stopped content #2'); // ▶ + assert.equal(btn1.text(), 'SVG test node', 'Default stopped content #2'); // ▶ let btn2 = $('