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
initial integration tests #1518
Conversation
still very much playing around, but wanted to share my initial working version |
.vscode/launch.json
Outdated
"IS_DEBUG": "true", | ||
"IS_DEBUG": "true", |
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.
This looks a bit odd?
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.
ah whoops, that was an accident, good catch.
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.
Isn't it strange that it passed the prettier test step, @corasaurus-hex ?
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.
Prettier just formats typescript and javascript right now. https://github.com/BetterThanTomorrow/calva/blob/published/package.json#L2584-L2585
We could expand it to also format json and other file types, though!
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.
This is wonderful!!
The name of the test is the only thing I'd like fixed before merging.
test('connect to repl', async function () { | ||
console.log('connect to repl'); |
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.
This probably should be 'start repl and connect (jack-in)' as connect has a the special meaning in Calva of assuming the REPL is already started.
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.
🙏 ❤️ 🎉
What has Changed?
We can use this as a base for more integration tests, but it's a good smoke test for now.
My Calva PR Checklist
I have:
dev
branch. (Or have specific reasons to target some other branch.)published
. (Sorry for the nagging.)[Unreleased]
entry inCHANGELOG.md
, linking the issue(s) that the PR is addressing.ci/circleci: build
test.Ping @PEZ, @bpringe