Skip to content

v0.5.0 – automated tests support

Compare
Choose a tag to compare
@thibaudcolas thibaudcolas released this 21 Jul 09:16
· 5 commits to main since this release

[v0.5.0] (2022-04-06)

Fixed

  • Change path imports for middleware and React code rather than using Node exports mapping.

Added

  • Add JSDoc-based TypeScript typing for the public API.
  • Add a data-testid="storybook-django" attribute to facilitate automated testing.
  • Add a data-state="empty|loading|loaded" attribute to run code once templates are loaded.
  • Add a data-template="path/to/template/component.html" attribute to simplify troubleshooting.