Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
abb6217
chore: create skills directory in repository with jest migration skill
pearigee May 19, 2026
5bf3fa9
chore: migrate core paginator to jest
pearigee May 19, 2026
c2f7196
remove skill, that is meant for another PR
pearigee May 19, 2026
b945ffc
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] May 19, 2026
0215111
Merge branch 'pearigee-migrate-core-paginator-to-jest' of https://git…
gcf-owl-bot[bot] May 19, 2026
2441ee5
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] May 19, 2026
3ae714b
Merge branch 'pearigee-migrate-core-paginator-to-jest' of https://git…
gcf-owl-bot[bot] May 19, 2026
c9efbe6
Revert "chore: migrate core paginator to jest"
pearigee May 19, 2026
c2bd98b
regenerate the migration with skill tweaks
pearigee May 19, 2026
67f8cac
Revert "regenerate the migration with skill tweaks"
pearigee May 20, 2026
cf8b0f1
regenerate migration with a refined skill
pearigee May 20, 2026
d13a0dc
Merge branch 'main' of https://github.com/googleapis/google-cloud-nod…
danieljbruce Aug 26, 2026
c9ded75
Add the jest config
danieljbruce Aug 27, 2026
a91eb89
Add the missing header
danieljbruce Aug 27, 2026
60e559f
Do the linting fixes
danieljbruce Aug 27, 2026
b5b5d3f
feat: migrate paginator to jest
danieljbruce Aug 27, 2026
0d0e916
Merge branch 'pearigee-migrate-core-paginator-to-jest-3' of https://g…
danieljbruce Aug 27, 2026
5f9057e
Apply suggestion from @gemini-code-assist[bot]
danieljbruce Aug 27, 2026
74035e4
Apply suggestion from @gemini-code-assist[bot]
danieljbruce Aug 27, 2026
e165d41
Apply suggestion from @gemini-code-assist[bot]
danieljbruce Aug 27, 2026
0c22ca3
Eliminate duplicate FakeResourceStream class
danieljbruce Aug 27, 2026
d7abf2b
Move imports to top of file and other adjustments
danieljbruce Aug 27, 2026
f87bc66
Replace all with the cleaner lastCall string
danieljbruce Aug 27, 2026
2e5efd3
Fix the linting issues
danieljbruce Aug 27, 2026
e14b9fa
Merge branch 'main' into pearigee-migrate-core-paginator-to-jest-3
danieljbruce Aug 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/paginator/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ node_modules
build
package-lock.json
docs/
.coverage
coverage/
__pycache__
.DS_Store
24 changes: 0 additions & 24 deletions core/paginator/.nycrc

This file was deleted.

21 changes: 21 additions & 0 deletions core/paginator/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

module.exports = {
testMatch: ['<rootDir>/test/**/*.ts'],
transform: {
'^.+\\.tsx?$': ['ts-jest', {tsconfig: 'tsconfig.json'}],
},
clearMocks: true,
};
18 changes: 8 additions & 10 deletions core/paginator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/googleapis/google-cloud-node.git"
},
"scripts": {
"test": "c8 mocha build/test",
"test": "jest --coverage",
"compile": "tsc -p .",
"fix": "gts fix",
"lint": "gts check",
Expand All @@ -31,21 +31,19 @@
"license": "Apache-2.0",
"devDependencies": {
"@types/extend": "^3.0.4",
"@types/mocha": "^10.0.10",
"@types/jest": "^30.0.0",
"@types/node": "^22.13.8",
"@types/proxyquire": "^1.3.31",
"@types/sinon": "^17.0.4",
"c8": "^10.1.3",
"codecov": "^3.8.3",
"@types/uuid": "^10.0.0",
"gts": "^6.0.2",
"jest": "^30.4.2",
"jsdoc": "^4.0.4",
"jsdoc-fresh": "^6.0.0",
"jsdoc-region-tag": "^5.0.0",
"mocha": "^11.1.0",
"linkinator": "^6.1.2",
"path-to-regexp": "^8.2.0",
"proxyquire": "^2.1.3",
"sinon": "^19.0.2",
"typescript": "^5.8.2"
"ts-jest": "^29.4.10",
"typescript": "^5.8.2",
"uuid": "^11.1.0"
},
"dependencies": {
"extend": "^3.0.2"
Expand Down
Loading
Loading