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

Upgrade ts version and webpack version #184

Merged
merged 7 commits into from
Dec 1, 2021
Merged

Upgrade ts version and webpack version #184

merged 7 commits into from
Dec 1, 2021

Conversation

matthieu-beteille
Copy link
Contributor

In preparation of #181

As discussed with @ferozco let's release these changes first

Before this PR

outdated version of TS and webpack version

After this PR

updated version of TS/webpack

==COMMIT_MSG==
Upgrade typescript/webpack versions
==COMMIT_MSG==

Possible downsides?

@changelog-app
Copy link

changelog-app bot commented Nov 24, 2021

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Upgrade typescript/webpack versions

Check the box to generate changelog(s)

  • Generate changelog entry

],
verbose: true,
};
preset: 'ts-jest/presets/js-with-ts',
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ran the jest migration script to update this file - it seems to work fine!

@@ -186,8 +186,8 @@ describe("generate command", () => {
expect(fs.existsSync(path.join(outDir, "node_modules/typescript/bin/tsc")));
});

jest.setTimeout(10000);
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we move this out of the test case? seems like other test cases still set the timeout explicitly

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had a similar issue as jestjs/jest#11543 it's simply ignored, I should probably spend more time looking into it

Copy link
Contributor Author

@matthieu-beteille matthieu-beteille Dec 1, 2021

Choose a reason for hiding this comment

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

lifted this up to the top level describe and removed from each individual test, are you ok with that?

@ferozco
Copy link
Contributor

ferozco commented Nov 24, 2021

👍

@ferozco ferozco merged commit 74ee193 into develop Dec 1, 2021
@ferozco ferozco deleted the mb/upgrade-ts branch December 1, 2021 20:59
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