When I try using odotta in a test, I run into the following error:
TypeError: expect.extend: `default` is not a valid matcher. Must be a function, is "object"
I noticed a similar issue had been created, so I tried the suggested change, but it didn't work. I've also tried various import styles, but I can't find one that works. I'm still learning my way around playwright with eslint and typescript, so I may have overlooked something.
Thank you for the well-described issue. Unfortunately, I was not able to reproduce the issue. However, I created a basic repository with a similar setup that you have. Feel free to clone and try it.
When I try using odotta in a test, I run into the following error:
I noticed a similar issue had been created, so I tried the suggested change, but it didn't work. I've also tried various import styles, but I can't find one that works. I'm still learning my way around playwright with eslint and typescript, so I may have overlooked something.
Project code: odottaa-example.zip
api.spec.js
package.json
jsconfig.json
playwright.config.js