Skip to content

Commit

Permalink
chore: bump sinon and @types/sinon (#921)
Browse files Browse the repository at this point in the history
* chore: bump sinon and @types/sinon

Bumps [sinon](https://github.com/sinonjs/sinon) and [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon). These dependencies needed to be updated together.

Updates `sinon` from 14.0.2 to 17.0.1
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](sinonjs/sinon@v14.0.2...v17.0.1)

Updates `@types/sinon` from 10.0.16 to 17.0.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: "@types/sinon"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* get working with newest sinon version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steven Lambert <2433219+straker@users.noreply.github.com>
Co-authored-by: Gabe <41127686+Zidious@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 21, 2023
1 parent d4a51f8 commit 6040d75
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 48 deletions.
69 changes: 30 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/puppeteer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@types/express": "^4.17.14",
"@types/mocha": "^10.0.0",
"@types/node": "^20.8.10",
"@types/sinon": "^10.0.13",
"@types/sinon": "^17.0.0",
"async-listen": "^3.0.1",
"axe-test-fixtures": "github:dequelabs/axe-test-fixtures#v1",
"chai": "^4.3.6",
Expand All @@ -48,7 +48,7 @@
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"puppeteer": "19.7.3",
"sinon": "^14.0.1",
"sinon": "^17.0.1",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"tsup": "^7.2.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/react/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
testEnvironment: 'jsdom',
setupFilesAfterEnv: ['<rootDir>/test/jest.setup.js'],
moduleNameMapper: {
// Note: the '../../' is required as we're targeting the root `node_modules`
// @see https://github.com/sinonjs/sinon/issues/2522
sinon: '<rootDir>/../../node_modules/sinon/pkg/sinon.js'
}
};
8 changes: 1 addition & 7 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,13 @@
"react": "17.0.0",
"react-dom": "17.0.0",
"react-shadow": "^20.4.0",
"sinon": "^14.0.1",
"sinon": "^17.0.1",
"ts-node": "^10.9.1",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
},
"repository": {
"type": "git",
"url": "https://github.com/dequelabs/axe-core-npm.git"
},
"jest": {
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/test/jest.setup.js"
]
}
}

0 comments on commit 6040d75

Please sign in to comment.