You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run the tests for the project locally and ava in notion-utils seems to fail on my local environment because it can't figure out how to use tests with .ts extension.
$ ava
Uncaught exception in src/normalize-url.test.ts
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts"for /Users/onnimonni/Projects/react-notion-x/packages/notion-utils/src/normalize-url.test.ts
✖ src/normalize-url.test.ts exited with a non-zero exit code: 1
Uncaught exception in src/parse-page-id.test.ts
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts"for /Users/onnimonni/Projects/react-notion-x/packages/notion-utils/src/parse-page-id.test.ts
✖ src/parse-page-id.test.ts exited with a non-zero exit code: 1
I'm trying to run the tests for the project locally and
ava
innotion-utils
seems to fail on my local environment because it can't figure out how to use tests with.ts
extension.When I check the logs from Github actions this part of the tests is working just fine.
I'm wondering what could be the difference between my environment and the Github actions.
Full Logs from my local environment:
The text was updated successfully, but these errors were encountered: