Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup TS testing infrastructure #4659

Merged
merged 2 commits into from
Jan 29, 2023
Merged

Conversation

jeremy-rifkin
Copy link
Member

(and tsify test/ansi-to-html-tests at the same time)

Copy link
Member

@mattgodbolt mattgodbolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me! thanks

package.json Outdated
@@ -103,6 +103,7 @@
"@types/express": "^4.17.14",
"@types/fs-extra": "^9.0.13",
"@types/jquery": "^3.5.10",
"@types/mocha": "^10.0.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's a way newer version than the mocha we're using, but I guess it works ok anyway: our mocha is stuck in the past because of the ESM issue.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, @types/xyz versions don't always correspond to xyz's repositories so I wasn't sure what to do. At least for the file I converted the types seemed fine. I can try throwing a 8.x.x version on and see.

Copy link
Member

@junlarsen junlarsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to approve this, did you try out mocha-ts? (Maybe this is easier to run than mocha-ts)

@jeremy-rifkin
Copy link
Member Author

Thanks @matsjla, I haven't tried out mocha-ts (or ts-mocha?) yet. I figured it'd be good to reduce the number of moving parts for this PR and we can drop it in later if we're running into issues.

@junlarsen
Copy link
Member

Okay sounds great!

@jeremy-rifkin jeremy-rifkin merged commit 7309443 into main Jan 29, 2023
@jeremy-rifkin jeremy-rifkin deleted the jr/ts-test-infrastructure branch January 29, 2023 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants