Skip to content

Commit 5d55817

Browse files
renovate[bot]JustinBeckwith
authored andcommitted
chore(deps): update dependency gts to v1 (#678)
1 parent 8823579 commit 5d55817

19 files changed

+4649
-3441
lines changed

conformance-test/v4SignedUrl.ts

+13-10
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,25 @@ interface V4SignedURLConformanceTestCases {
3434
}
3535

3636
interface MethodAction {
37-
[key: string]: 'read'|'resumable'|'write'|'delete';
37+
[key: string]: 'read' | 'resumable' | 'write' | 'delete';
3838
}
3939

4040
const testFile = fs.readFileSync(
41-
path.join(
42-
__dirname,
43-
'../../conformance-test/test-data/v4SignedUrl.json',
44-
),
45-
'utf-8');
41+
path.join(__dirname, '../../conformance-test/test-data/v4SignedUrl.json'),
42+
'utf-8'
43+
);
4644

4745
const testCases = JSON.parse(testFile) as V4SignedURLConformanceTestCases[];
4846

4947
const SERVICE_ACCOUNT = path.join(
50-
__dirname, '../../conformance-test/fixtures/signing-service-account.json');
48+
__dirname,
49+
'../../conformance-test/fixtures/signing-service-account.json'
50+
);
5151

5252
describe('v4 signed url', () => {
5353
const storage = new Storage({keyFilename: SERVICE_ACCOUNT});
5454

55-
testCases.forEach((testCase) => {
55+
testCases.forEach(testCase => {
5656
it(testCase.description, async function() {
5757
// v4 signed URL does not support Bucket operations (list bucket, etc) yet
5858
// Remove this conditional once it is supported.
@@ -61,8 +61,11 @@ describe('v4 signed url', () => {
6161
return;
6262
}
6363

64-
const NOW =
65-
dateFormat.parse(testCase.timestamp, 'YYYYMMDD HHmmss ', true);
64+
const NOW = dateFormat.parse(
65+
testCase.timestamp,
66+
'YYYYMMDD HHmmss ',
67+
true
68+
);
6669
const fakeTimer = sinon.useFakeTimers(NOW);
6770

6871
const bucket = storage.bucket(testCase.bucket);

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"eslint-config-prettier": "^4.0.0",
9898
"eslint-plugin-node": "^9.0.0",
9999
"eslint-plugin-prettier": "^3.0.0",
100-
"gts": "^0.9.0",
100+
"gts": "^1.0.0",
101101
"intelli-espower-loader": "^1.0.1",
102102
"jsdoc": "^3.5.4",
103103
"jsdoc-baseline": "git+https://github.com/hegemonic/jsdoc-baseline.git",

0 commit comments

Comments
 (0)