Skip to content

Commit a69a79e

Browse files
Copilottaylortom
andcommitted
Address code review feedback
Co-authored-by: taylortom <1059083+taylortom@users.noreply.github.com>
1 parent f334202 commit a69a79e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ jobs:
44
default:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@master
8-
- uses: actions/setup-node@master
7+
- uses: actions/checkout@v4
8+
- uses: actions/setup-node@v4
99
with:
1010
node-version: 'lts/*'
1111
cache: 'npm'

tests/MongoDBModule.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('MongoDBModule', () => {
3232
assert.equal(options.skip, 5)
3333
})
3434

35-
it('should delete option if parsing fails', () => {
35+
it('should return NaN for invalid string values', () => {
3636
const options = { limit: 'invalid' }
3737
instance.parseOptions(options)
3838
// parseInt returns NaN for invalid strings, not throwing an error

0 commit comments

Comments
 (0)