BREAKING CHANGE: `flush` will not run during cleanup
BREAKING CHANGE: angularjs-testing-library requires Node >=12
BREAKING CHANGE: Upgrade to TypeScript 4. Definitions may not match
BREAKING CHANGE: Depends on dom-testing-library@^8.5.0
Added `angularjs-testing-library/jest-circus-setup` for
`setupFilesAfterEnv` to fix `angular-mocks` loading because
`window.jasmine` is not defined with Jest Circus
BREAKING CHANGE: fireEvent no longer causes a digest. The behavior is
inconsistent with what the browser actually does
BREAKING CHANGE: only a CommonJS distribution is built.
TypeScript used for build, tests, and eslint parser
`export * from '@testing-library/dom'` was causing issues where commonjs
imports would cause an error:
TypeError: Cannot set property fireEvent of #<Object> which has only a getter
Due to Rollbar adding a non-configurable property on `exports`
Setting `externalLiveBindings: false` uses simple assignment instead of
`Object.defineProperty`
# [2.0.0](https://git.sr.ht/~statianzo/angularjs-testing-library/compare/v1.0.0...v2.0.0) (2019-11-05)
### Features
* render throws on unknown elements ([9ea5d67](9ea5d678df))
### BREAKING CHANGES
* `render` will throw if any custom elements (tag name
containing `-`) are found not registered in the injector.
This helps avoid the scenario where a child component/directive under
test isn't getting tested.
The behavior can be disabled via the `ignoreUnknownElements` option.
BREAKING CHANGE: `render` will throw if any custom elements (tag name
containing `-`) are found not registered in the injector.
This helps avoid the scenario where a child component/directive under
test isn't getting tested.
The behavior can be disabled via the `ignoreUnknownElements` option.