Skip to content

v0.1.2

Compare
Choose a tag to compare
@DudaGod DudaGod released this 17 Apr 09:59
· 182 commits to master since this release

🚀 Improvements

  • ability to read tests in ".jsx" and ".tsx" files (#906)
  • implement experimental feature to run component/unit tests in browser (#906)
    How to try it:
// testplane.conf.ts
export default {
// ...
  system: {
    testRunEnv: "browser"
  }
}
// tests/example.testplane.tsx
it("test", async ({browser}) => {
  render(<h1>Hello</h1>);

  await expect(browser.$('h1')).toHaveTitle('Hello');
});