-
Notifications
You must be signed in to change notification settings - Fork 5
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
Modernization #17
Conversation
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`
8b72008
to
fe608ad
Compare
There was a problem hiding this 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) { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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).
This work is to get
htmlbook.js
working with the current LTS version of node.js (22.14).