(BREAKING): Refine ast-transformer behavior: only transform styles-assignments inside @Component (#261) and TypeScript v2.9 createStringLiteral is polyfilled if an older version is used (#272).
(BREAKING): Restructure project with src and build folder (#307).
(BREAKING): Support tsconfig.spec.json in root folder by default (#309).
(BREAKING): Enable AngularNoAngularNoNgAttributesSnapshotSerializer (created in #97) by default (#318).
Remove core-js dependency by using internal, minimal reflect-metadata (#315).
Chore && Maintenance
Update example app to match Angular 8 Boilerplate (#311).
Update example app to not use karma, extract jest config, fix paths (#316).
If the astTransformers are referenced in a custom jest config, [ 'jest-preset-angular/build/InlineFilesTransformer', 'jest-preset-angular/build/StripStylesTransformer'] have to be set instead.
Serializers, transformers and setupJest have to be referenced from the jest-preset-angular/build/-folder in a custom config. Existing references have to be aligned.
If your tsconfig.spec.json is located in src, move it to your root folder and adjust the referenced files and paths inside, or align your jest configuration as discussed in the README.md.
In an Angular 8 project or higher, core-js should no longer be a dependency declared in package.json, unless it's imported manually in the code.
v7.0.1
Chore
Update dependencies to enable Greenkeeper 🌴 (#235)
v7.0.0
Features
(BREAKING): Upgrade ts-jest to ^23.10.4 and use ast-transformer instead of processor (#204)
Docs: do not use .babelrc file but rather babel.config.js (#231)
Docs: add astTransformers in configuration example (#218)
Migration Guide
If global and transform are not set in your configuration in jest.config.json, jest.config.js or package.json, you are done.
If the global value of the configuration was overriden, adjust
The option "__TRANSFORM_HTML__": true is not required anymore. Instead the "stringifyContentPathRegex": "\\.html$" should be used inside the ts-jest-configuration.
Change the assignment identifier from tsConfigFile to tsConfig.
Update dependencies for pretty-format and ts-jest to v25 (#346).
Remove jest-environment-jsdom-fifteen from dependencies and preset, closes (#325)
Chore && Maintenance
Update project devDependencies.
Update example app dependencies.
v8.0.0
Features
(BREAKING): Refine ast-transformer behavior: only transform styles-assignments inside @Component (#261) and TypeScript v2.9 createStringLiteral is polyfilled if an older version is used (#272).
(BREAKING): Restructure project with src and build folder (#307).
(BREAKING): Support tsconfig.spec.json in root folder by default (#309).
This version was pushed to npm by anhpnnd, a new releaser for jest-preset-angular since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps jest-preset-angular from 5.2.2 to 8.2.1.
Release notes
Sourced from jest-preset-angular's releases.
Changelog
Sourced from jest-preset-angular's changelog.
Commits
0c42388
chore(release): v8.2.1556fd78
build(deps-dev): bump @types/node from 14.0.11 to 14.0.13 (#396)4e3449f
build(deps-dev): bump @types/jest from 25.2.3 to 26.0.0 (#395)3652912
build(deps-dev): bump @types/node from 14.0.9 to 14.0.11 (#392)3b8e0ce
build(deps): bump websocket-extensions from 0.1.3 to 0.1.4 in /example (#393)b792dc1
build(deps-dev): bump @types/node from 14.0.6 to 14.0.9 (#388)c14d9a4
build(deps-dev): bump @types/node from 14.0.5 to 14.0.6 (#387)0228c3a
build(deps): bump ts-jest from 26.0.0 to 26.1.0 (#386)0c3a54a
chore: add dependabot badge (#384)ee93414
build(deps-dev): bump @types/node from 14.0.4 to 14.0.5 (#385)Maintainer changes
This version was pushed to npm by anhpnnd, a new releaser for jest-preset-angular since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)