mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 17:45:22 +00:00
* build(deps): bump jest and @types/jest Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest). These dependencies needed to be updated together. Updates `jest` from 27.5.1 to 28.1.0 - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v28.1.0/packages/jest) Updates `@types/jest` from 27.4.1 to 28.1.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) --- updated-dependencies: - dependency-name: jest dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/jest" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix breaking changes in jest 28 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Lechner <david@pybricks.com>
15 lines
325 B
JavaScript
15 lines
325 B
JavaScript
'use strict';
|
|
|
|
// This is a custom Jest transformer turning style imports into empty objects.
|
|
// http://facebook.github.io/jest/docs/en/webpack.html
|
|
|
|
module.exports = {
|
|
process() {
|
|
return { code : 'module.exports = {};' };
|
|
},
|
|
getCacheKey() {
|
|
// The output is always the same.
|
|
return 'cssTransform';
|
|
},
|
|
};
|