~statianzo/angularjs-testing-library

v5.0.0 3 years ago .tar.gz browse log

feat(jest): Jest 27 support

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

v4.0.0 5 years ago .tar.gz browse log

touch

v3.0.2 5 years ago .tar.gz browse log

fix(docs): Add issue tracker

Add issue tracker badge into README and `bugs` key into package.json

v3.0.1 5 years ago .tar.gz browse log

fix(build): disable externalLiveBindings in rollup

`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`

v3.0.0 5 years ago .tar.gz browse log

fix(build): Remove kcd-scripts

BREAKING CHANGE: Node >= 10 support. No more UMD builds.

v2.0.2 5 years ago .tar.gz browse log

fix(docs): Remove reference to Vue

Replace package.json `author` with `contributors`

v2.0.1 5 years ago .tar.gz browse log

fix(ci): republish failed release

v2.0.0 5 years ago .tar.gz browse log

chore(release): 2.0.0 [skip ci]

# [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](https://git.sr.ht/~statianzo/angularjs-testing-library/commit/9ea5d678df098c4fa2684543f689c2f3a1a81b64))

### 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.

v1.0.0 5 years ago .tar.gz browse log

chore(release): 1.0.0 [skip ci]

# 1.0.0 (2019-11-04)

### Bug Fixes

* **test:** debug tests pass ([caee065](https://git.sr.ht/~statianzo/angularjs-testing-library/commit/caee06593793f42b14ec746ece90118d515516fa))
* **test:** multi-base test passes. rm unused tests ([9257e06](https://git.sr.ht/~statianzo/angularjs-testing-library/commit/9257e0642f6191987435f6b3b057ac69514d0afc))

### Features

* flush intervals by 50 ms default ([d7c50a8](https://git.sr.ht/~statianzo/angularjs-testing-library/commit/d7c50a87d11b922ea44ade4dfc4ddc650bd42087))
* wait flushes angular tasks ([1706665](https://git.sr.ht/~statianzo/angularjs-testing-library/commit/170666561972531f131342858cb93674845c663e))
* **events:** fireEvent triggers a digest ([ace9f5b](https://git.sr.ht/~statianzo/angularjs-testing-library/commit/ace9f5bdbf166424d127e8aa09c09c62bacd77bc))
* Assign `scope` option to $scope ([b69df8d](https://git.sr.ht/~statianzo/angularjs-testing-library/commit/b69df8d8e7636ff307c2c4688c0c291e44c03636))
* call $destroy on cleanup ([78021a6](https://git.sr.ht/~statianzo/angularjs-testing-library/commit/78021a6ab00e5d5bad113ab3001c2889d9dd40f3))
* first passing render tests ([b82fb93](https://git.sr.ht/~statianzo/angularjs-testing-library/commit/b82fb936958a2b1c6bef7d84bc18da2269d93877))
* initial release ([35ff36d](https://git.sr.ht/~statianzo/angularjs-testing-library/commit/35ff36dcd7503759971aecaec879795a961eb08e))
* skip auto-cleanup via ATL_SKIP_AUTO_CLEANUP ([79c6c4f](https://git.sr.ht/~statianzo/angularjs-testing-library/commit/79c6c4f2a53b4f49b1143e1f7295520ec1a229c1))