- 2492fab: Smaller style changes in files because of update of prettier/eslint build dependency.
-
5583e1f: Fix File class override in jsdom tests
- What? Fix File class override in jsdom tests
- Why? Use correct global File class in jsdom
- How? Nothing.
- 97b056b: Fix support for Node 19+, which encounters
TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'.
. As a hotfix, we are now replacingglobal.CustomEvent
(which comes with Node 19) with jsdom version ofCustomEvent
to keep the same behavior as in Node 18.
- 8f5d01a: Fixed build issues with client server config
- 245018b: Adds support for deep merging of locale files which was recently introduced in @ima/cli
- 2a3564d: Fix error in IMA.js boot methods, when they return an object with circular dependency. This led to an infinite loop and fatal crash of integraiton test.
- d5911e5: Add applicationFolder overide feature for createImaServer by config
- 815a18f: Force re-release
- 7532677: @ima/helpers moved to peer dependencies
- 110c2af: Removed invalid RC version ranges in package.json files
- 0490a80: use overrides for createIMAServer, set test environment defaults, allow service to process currently resolved environment
- 6f950a1: Add configuration features object with default popupWindow flag Add window.opener setup after DOM init
- 8261ccd: Override node fetch on window, node assert on console
- e00897a: Fixed named exports for plugin integration testing
- 37c3f2f: Udpated dependencies to support RC ima versions
- 6514f0b: Remove added configuration features object with default popupWindow flag Remove added window.opener setup after DOM init
- 2e61a48: Built using new version of @ima/plugin-cli, js sources now include source maps
- d08218b: Added type declarations generated from JSdoc
- 6d47aaa: Side effects notation from package.json
- 201225d: revert testing integration features
- 5717869: Added $dependencies typing comments for TS apps
- 5c7dba5: bump version with changes from master
- 201225d: revert testing integration features
- 5c7dba5: bump version with changes from master
- 6514f0b: Remove added configuration features object with default popupWindow flag Remove added window.opener setup after DOM init
- 6f950a1: Add configuration features object with default popupWindow flag Add window.opener setup after DOM init
- 8261ccd: Override node fetch on window, node assert on console
- e00897a: Fixed named exports for plugin integration testing
- 0490a80: use overrides for createIMAServer, set test environment defaults, allow service to process currently resolved environment
- 5717869: Added $dependencies typing comments for TS apps
- 6d47aaa: Side effects notation from package.json
- d08218b: Added type declarations generated from JSdoc
- 35fc043: Fix: peer to ima/cli min version increaced to 18.1.0
- 076eddc: JSDOM is now using real spa content generated from ejs template Enabled JSDOM page scripts evaluation (configured by setup function) Requires @ima/[email protected] and later
- 7aae66d: Add support to multidimensional app dictionary to integration tests
- 2e61a48: Built using new version of @ima/plugin-cli, js sources now include source maps
- 37c3f2f: Udpated dependencies to support RC ima versions
- dd4dd52: Updated to latest @ima/plugin-cli - the final bundle now contains new styles folder containing all less/css files and they are no longer bundled into esm bundle
- fb1a51e: Migrated packages to pure esm modules
- 5149e99: Added additional CJS builds to npm dist directory
- 1256647: Add support for IMA 18, Node 18 and npm 8
- 0b81d28: npmignore revert logic, add missing npmignore apply pluginLoader update ima peer deps refactor plugin register functions, remove exports for ima17
- 431ad38: Fixed node config packages
- 1c61a6d: Automatic JSX runtime, deps update
- 051da94: feat: update localization messageformat to v3
- f7fe41d: Updated to latest version of plugin-cli
- 15e981a: Updated plugin-cli to latest version
- a38c8d9: Initialize JSDom before we start importing project files, since some packages can do some client/server detection at this point
- 3423e0a: Added forwarding of $App settings from config
- df68488: All plugin maintenance relase
- 113952b: Preventive update after master merge
- 9bf6acf: @ima/plugin-cli version bump
- 1a6651d: Migrated to react-page-renderer
- df68488: All plugin maintenance relase
- 113952b: Preventive update after master merge
- 3423e0a: Added forwarding of $App settings from config
- 1c61a6d: Automatic JSX runtime, deps update
- 9bf6acf: @ima/plugin-cli version bump
- 15e981a: Updated plugin-cli to latest version
- 1a6651d: Migrated to react-page-renderer
- 431ad38: Fixed node config packages
- f7fe41d: Updated to latest version of plugin-cli
- 051da94: feat: update localization messageformat to v3
- 5149e99: Added additional CJS builds to npm dist directory
- a38c8d9: Initialize JSDom before we start importing project files, since some packages can do some client/server detection at this point
- fb1a51e: Migrated packages to pure esm modules
- 0b81d28: npmignore revert logic, add missing npmignore apply pluginLoader update ima peer deps refactor plugin register functions, remove exports for ima17
- 1256647: Add support for IMA 18, Node 18 and npm 8
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
2.2.2 (2022-01-11)
Note: Version bump only for package @ima/plugin-testing-integration
2.2.1 (2022-01-10)
- π dont crash if setImmediate is not defined globally (356f5d6)
2.2.0 (2021-12-13)
2.1.0 (2021-08-26)
2.0.6 (2021-08-20)
2.0.5 (2021-03-22)
2.0.4 (2020-10-05)
2.0.3 (2020-07-27)
2.0.2 (2020-06-30)
- π Disable treeshake since it is removing key code part (3f73685)
2.0.1 (2020-06-22)
Note: Version bump only for package @ima/plugin-testing-integration
2.0.0 (2020-06-08)
- πΈ Unified build and release process via rollup and lerna (df277ce)
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fixed warning when using npm 6+
- Fixed url propagation into jsdom when using
router.route()
to navigate to aspecific application route
- Fixed integration tests for projects using multiple initImaApp calls in single test file
- Fixed problem where jsdom was not yet initialized, but required by app/main.js, or app/build.js
- Fixed problem where jsdom was not yet initialized, but required by project files, or dependencies
- Config option
TestPageRenderer
to specify IMA Page Renderer used for the test run - Config option
initSettings
to extend the boot config method for all tests - Config option
initBindApp
to extend the boot config method for all tests - Config option
initServicesApp
to extend the boot config method for all tests - Config option
initRoutes
to extend the boot config method for all tests - Config option
extendAppObject
to extend return value ofinitImaApp
with custom values - Implemented
EnzymePageRenderer
(to be used withTestPageRenderer
config option), which can override default IMA Page Renderer and use Enzyme methods to render the page into the jsdom. This allows you to use Enzyme mount wrapper methods to test functionality. The wrapper is exposed viaapp.wrapper()
.
- Update dependencies
- Navigation using click event in jsdom will properly be handled by IMA router
- All window properties are propageted to global scope (resolves problem with missing classes, or methods like btoa, File, ...)
- Implemented deduplication when initializing vendor linker (as is in native IMA.js application)
- Exposed
getConfig
function, which returns current configuration object. This can be used to extendprebootScript
, instaed of just overriding it.
- Resolved bug with broken native clear timer methods
clearImaApp
will now clear all timer functions, this should resolve a problem with tests not ending properly, when there are some timeouts, or intervals set by your app.
- Updated dependencies to IMA.js v17
- BREAKING CHANGE! IMA.js v16 and lower is no longer supported, you need to upgrade to IMA.js v17+
- Initialized @ima/plugin-testing-integration, see README.md for more info