Skip to content

Modernization #17

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

Merged
merged 5 commits into from
Mar 21, 2025
Merged

Modernization #17

merged 5 commits into from
Mar 21, 2025

Conversation

delfanbaum
Copy link
Contributor

This work is to get htmlbook.js working with the current LTS version of node.js (22.14).

We want tmp because the validation_spec.js files were failing due to file collisions in the way that it now runs (asynchronously)
This commit includes:

* Readme update to use `jasmine` instead of the abandoned `jasmine-node`
* validation_spec updated to use `tmp` to create a temporary file to
  validate against; the old logic looks like it was written for a
  synchronous runtime, and that's not how things work anymore.
* htmlbook_spec update is just to remove an unneeded `require`
@delfanbaum delfanbaum requested review from a team March 20, 2025 20:10
Copy link
Member

@ruralocity ruralocity left a comment

Choose a reason for hiding this comment

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

Couple of questions but overall looks fine to me.

}

describe("htmlbook validations", function () {
it("BBEPart2", function (done) {
xit("BBEPart2", function (done) {
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to keep these tests if they're no longer needed? Or figure out how to fix at some point?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These have disappeared from the repo; I'd like to try and find them eventually, but maybe it's not worth it? I could go either way; this is not a heavily used part of Atlas (and in fact we recommend against it, strongly).

@delfanbaum delfanbaum merged commit c52c6ef into master Mar 21, 2025
2 checks passed
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.

3 participants