-
Notifications
You must be signed in to change notification settings - Fork 101
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
refactor: upgrade dependencies #1818
Conversation
* Reads a package.json | ||
* @param options {readPkgUp.NormalizeOptions} | ||
* @returns {readPkgUp.NormalizedPackageJson} | ||
*/ |
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.
new version of TS complains about not able to infer types if this comment is not here
// eslint-disable-next-line no-console | ||
console.log('Icon font generated:', result) | ||
.then((_result) => { | ||
//console.log('Icon font generated:', result) |
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 generating the 'icon created' spam on the beginning of npm run boorstrap
I've turned this off since its generating like 5000 line of logs
|
for (let x = 0; x < 500; x++) { | ||
const id = uid('', 17) | ||
results.add(id) | ||
} | ||
expect(results.size).toBe(5000) | ||
expect(results.size).toBe(500) | ||
}) |
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.
The original test was failing quite often simply because of probability, now generating 2 similar IDs and the test failing should happen much much less often
Closes: INSTUI-4218 The test was failing because it relied on a random probability which was happening too often
b302841
to
79990b0
Compare
Just smaller dependency updates and related minor fixes