-
Notifications
You must be signed in to change notification settings - Fork 0
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
⬆ Bump eslint, typescript and jest #8
Conversation
b6483cb
to
369af4d
Compare
369af4d
to
14678d3
Compare
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.
You haven't bumped typescript
as your PR title says
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.
You are right didn't even notice it, this should fix the broken build
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.
Changing title and description
4b36c09
to
a4ff721
Compare
@alecgibson |
@alecgibson Seems to be ok now, |
"test": "jest --config ./test/jest.json --runInBand", | ||
"cover": "jest --config ./test/jest.json --runInBand --coverage", |
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.
Did you just add --bail
for testing CI failure? Can we remove please?
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.
Otherwise jest failes with exit code 0
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.
In order to build new mongoose 8 had to bump few packages and the build worked after few changes
1.
To check for the
ObjectId
, as i believe mongoose changed this.2. The validation error returns only the deepest property, but i do not think this is a problem as it still returns validation error. (Check
test/resource/create.spec.ts
for changes)3. Had to update
find
function insrc/resource.ts
as sort object like {undefined: undefined} is not being removed.4. Added
--bail
option to thenpm test
script asjest
returns exit code0
otherwise