Skip to content

Commit b6ec58f

Browse files
committed
Migrate to jest-specific-snapshots
1 parent 94758f0 commit b6ec58f

95 files changed

Lines changed: 7852 additions & 7050 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package-lock.json

Lines changed: 546 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"@types/dot": "^1.1.5",
4646
"@types/gapi.client.discovery": "^1.0.8",
4747
"@types/jest": "^29.0.3",
48+
"@types/jest-specific-snapshot": "^0.5.6",
4849
"@types/lodash": "^4.14.185",
4950
"@types/n-readlines": "^1.0.3",
5051
"@types/node": "^18.7.18",

test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/index.d.ts renamed to test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/index.d.ts.shot

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// Type definitions for non-npm package Admin SDK API directory_v1 0.0
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`admin DT works 1`] = `
4+
"// Type definitions for non-npm package Admin SDK API directory_v1 0.0
25
// Project: https://developers.google.com/admin-sdk/
36
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
47
// Nick Amoscato <https://github.com/namoscato>
@@ -8,4 +11,6 @@
811
// Referenced type definitions are generated by https://github.com/Maxim-Mazurok/google-api-typings-generator
912
// In case of any problems please open issue in https://github.com/Maxim-Mazurok/google-api-typings-generator/issues/new
1013

11-
/// <reference types="@maxim_mazurok/gapi.client.admin-directory_v1" />
14+
/// <reference types=\\"@maxim_mazurok/gapi.client.admin-directory_v1\\" />
15+
"
16+
`;

test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/package.json

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`admin DT works 1`] = `
4+
"{
5+
\\"private\\": true,
6+
\\"dependencies\\": {
7+
\\"@maxim_mazurok/gapi.client.admin-directory_v1\\": \\"latest\\"
8+
}
9+
}
10+
"
11+
`;

test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/tsconfig.json

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`admin DT works 1`] = `
4+
"{
5+
\\"compilerOptions\\": {
6+
\\"module\\": \\"commonjs\\",
7+
\\"lib\\": [\\"es6\\"],
8+
\\"noImplicitAny\\": true,
9+
\\"noImplicitThis\\": true,
10+
\\"strictNullChecks\\": true,
11+
\\"strictFunctionTypes\\": true,
12+
\\"noEmit\\": true,
13+
\\"forceConsistentCasingInFileNames\\": true,
14+
\\"baseUrl\\": \\"../\\",
15+
\\"typeRoots\\": [\\"../\\"],
16+
\\"types\\": []
17+
},
18+
\\"files\\": [\\"index.d.ts\\"]
19+
}
20+
"
21+
`;

test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/tslint.json

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`admin DT works 1`] = `
4+
"{
5+
\\"extends\\": \\"@definitelytyped/dtslint/dt.json\\",
6+
\\"rules\\": {
7+
\\"npm-naming\\": false
8+
}
9+
}
10+
"
11+
`;

test/restDocs/snapshots/dt/gapi.client.calendar-v3/index.d.ts renamed to test/restDocs/snapshots/dt/gapi.client.calendar-v3/index.d.ts.shot

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// Type definitions for non-npm package Calendar API v3 0.0
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`calendar DT works 1`] = `
4+
"// Type definitions for non-npm package Calendar API v3 0.0
25
// Project: https://developers.google.com/google-apps/calendar/firstapp
36
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
47
// Nick Amoscato <https://github.com/namoscato>
@@ -8,4 +11,6 @@
811
// Referenced type definitions are generated by https://github.com/Maxim-Mazurok/google-api-typings-generator
912
// In case of any problems please open issue in https://github.com/Maxim-Mazurok/google-api-typings-generator/issues/new
1013

11-
/// <reference types="@maxim_mazurok/gapi.client.calendar-v3" />
14+
/// <reference types=\\"@maxim_mazurok/gapi.client.calendar-v3\\" />
15+
"
16+
`;

0 commit comments

Comments
 (0)