Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

test: fix npm install test failing in some cases#569

Merged
DeviaVir merged 1 commit intomotdotla:mastermotdotla/node-lambda:masterfrom
abetomo:fix_testsabetomo/node-lambda:fix_testsCopy head branch name to clipboard
Jul 30, 2021
Merged

test: fix npm install test failing in some cases#569
DeviaVir merged 1 commit intomotdotla:mastermotdotla/node-lambda:masterfrom
abetomo:fix_testsabetomo/node-lambda:fix_testsCopy head branch name to clipboard

Conversation

@abetomo
Copy link
Contributor

@abetomo abetomo commented Jul 30, 2021

If you copy only part of node_modules, npm install may behave the same as npm ci.
This sometimes causes tests that check for identical timestamps to fail.

assert.equal(beforeAwsSdkStat.ctimeMs, afterAwsSdkStat.ctimeMs)

If you copy only part of node_modules, `npm install` may behave the same as `npm ci`.
This sometimes causes tests that check for identical timestamps to fail.

```js
assert.equal(beforeAwsSdkStat.ctimeMs, afterAwsSdkStat.ctimeMs)
```
@DeviaVir DeviaVir merged commit 07112be into motdotla:master Jul 30, 2021
@abetomo abetomo deleted the fix_tests branch July 31, 2021 01:25
@abetomo
Copy link
Contributor Author

abetomo commented Jul 31, 2021

Thanks for merging!

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.