Skip to content

test: add integration test for TypeScript declarations#5521

Open
nkxxll wants to merge 1 commit intogleam-lang:mainfrom
nkxxll:ts_decl_test
Open

test: add integration test for TypeScript declarations#5521
nkxxll wants to merge 1 commit intogleam-lang:mainfrom
nkxxll:ts_decl_test

Conversation

@nkxxll
Copy link
Copy Markdown
Contributor

@nkxxll nkxxll commented Mar 27, 2026

  • The changes in this PR have been discussed beforehand in an issue
  • The issue for this PR has been linked
  • Tests have been added for new behaviour
  • The changelog has been updated for any user-facing changes

Added typescript declaration smoke test for ci.
All credit to @ankddev because he actually made the change the only problem was that npx was not present in ci.yaml as far as I can tell. Now the test uses bunx because bun is installed for the tests and some stricter flags.

I hope this fits the use case better now. If not I am happy to iterate on that I think this smoke test would be nice to have.

#2003

Copy link
Copy Markdown
Contributor

@ankddev ankddev left a comment

Choose a reason for hiding this comment

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

Thank you for picking this up! Looks nice! I've left some notes inline

Comment thread .github/workflows/ci.yaml Outdated
Comment thread CHANGELOG.md Outdated
Comment thread test/typescript_declarations/README.md Outdated
@nkxxll nkxxll force-pushed the ts_decl_test branch 3 times, most recently from aa58b63 to bbab2b6 Compare March 29, 2026 17:00
@nkxxll
Copy link
Copy Markdown
Contributor Author

nkxxll commented Mar 29, 2026

fixed the comments @ankddev ;) thanks for the feedback

Copy link
Copy Markdown
Contributor

@ankddev ankddev left a comment

Choose a reason for hiding this comment

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

Randomly went through this PR and found two small things. Also you could rebase your branch, so Windows CI isn't failing

Comment thread compiler-core/src/javascript/decision.rs Outdated
Comment thread test/typescript_declarations/README.md Outdated
@nkxxll
Copy link
Copy Markdown
Contributor Author

nkxxll commented Apr 14, 2026

cleaned those up thank you!

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.

2 participants