Pixijs Floss Versions Save

Unit-testing for those hard to reach places

v5.0.1

2 years ago

🐛 Fixed

  • Restrict electron version to >=12 and <14 to avoid breaking changes in v14+ (5ea03cb)

v5.0.0

3 years ago

🐛 Fixed

  • Fix Electron v12 breaking change (#40)
  • Upgrade Mocha to ^8.0.0

v4.0.0

3 years ago

🎁 Added

  • Add support for glob expressions for --path, (e.g. "test/**/*.js")
  • Add new command switch --require for supporting TypeScript more easily (e.g., -r ts-node/register)
  • Publish types for API usage

:fire: Breaking Changes

  • Require Electron 10+
  • Converted API to be Promise-based, no more callback support
// Old callback syntax, no longer supported!
const floss = require('floss');
floss({}, () => {
  // done!
});
// Promise-based syntax in 4.0+
const { floss } = require('floss');
floss({}).then(() => {
  // done!
});

v3.0.1

3 years ago

:bug: Fixed

  • Supports Electron 10+, adds missing enableRemoteModule: true (default now false) to webPreferences

v2.2.1

4 years ago

:bug: Fixed

  • Fix to support Electron v5's breaking changes (8103648)

v3.0.0

5 years ago

✏️ Changed

  • Convert source to Typescript
  • Update remaining dependencies
  • Fix error messages in bin/floss

:fire: Breaking Changes

  • Remove sinon, chai, istanbul so that Floss isn't responsible for keeping these up to date
  • Detect presence of nyc and support it (as a peer dependency)
  • This allows the latest versions of nyc to be used to build code coverage reports for your test code.
  • Change reporter CLI shorthands to match that of Mocha (i.e. use capital letters).

Contributors

  • Andrew Start (@andrewstart)

v2.2.0

5 years ago

Changed

  • Adds the ability to pass custom command-line arguments to Electron, this makes it possible to disable features that might get in the way of testing, for instance --autoplay-policy=no-user-gesture-required to not require user interaction for video and audio playback testing.
  • Updated dependencies (except sinon and chai), increased the Electron peer version to be >=1

v2.1.5

6 years ago

:bug: Fixed

  • Pass object with mode key to openDevTools (#24)

👏 Contributors

  • Eric Skogen (@audionerd)

v2.1.4

6 years ago

Changed

  • Bumped the latest dependencies for:
    • mocha (v5.0.0)
    • remap-istanbul (v0.10.1)
    • sinon (v4.2.2)
    • strip-ansi (v4.0.0)

Note: Did not upgrade chai yet because it has major breaking changes in running PixiJS tests.

Fixed

v2.1.3

6 years ago

Fixed

  • Improved logging when there's an error on the renderer side, such as an uncaught window error.