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

[2.3.6] create-daml-app: make tests pass on m1 #15076

Merged
merged 1 commit into from
Sep 27, 2022

Conversation

garyverhaegen-da
Copy link
Contributor

No description provided.

@garyverhaegen-da
Copy link
Contributor Author

This is only changing text in the docs and an internal test, so should be safe, and I do believe we want to have correct docs on the live website before 2.5.0.

@garyverhaegen-da garyverhaegen-da changed the title create-daml-app: make tests pass on m1 (#15031) [2.3.6] create-daml-app: make tests pass on m1 Sep 23, 2022
This is very much a "just make it work" type of patch. The main issues
were:

- A bunch of type errors in the `index.test.ts` file when opened in VS
  Code. I'm not sure how it happened, but it's possible I'm just using a
  more recent TS compiler than whoever edited this last.
- `localhost`, on my machine at least, resolves to `::1`, and therefore
  the connections were just not established. I've opted for replacing
  `localhost` with explicit `127.0.0.1`.
- `npm-cli.js` was not an executable in my `PATH`, and won't be for
  most users, but `npm` is not on our testing infrastructure's `PATH`.

Those tests are obviously not tested by CI, so please review carefully /
test this on your own machine before approving.

CHANGELOG_BEGIN
CHANGELOG_END
@garyverhaegen-da garyverhaegen-da enabled auto-merge (squash) September 27, 2022 07:54
@garyverhaegen-da garyverhaegen-da merged commit 91de982 into release/2.3.x Sep 27, 2022
@garyverhaegen-da garyverhaegen-da deleted the fix-gsg-tests-2.3.6 branch September 27, 2022 10:42
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