Skip to content

Commit

Permalink
[engsys][test-utils] update typescript dependency to ~4.8.0 (#23227)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremymeng authored Sep 15, 2022
1 parent 64aab21 commit 81b1a84
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 26 deletions.
47 changes: 23 additions & 24 deletions common/config/rush/pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion sdk/test-utils/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@
"prettier": "^2.5.1",
"rimraf": "^3.0.0",
"sinon": "^9.0.2",
"typescript": "~4.6.0"
"typescript": "~4.8.0"
}
}
2 changes: 1 addition & 1 deletion sdk/test-utils/test-utils/src/chaiAzure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { supportsTracing } from "./tracing/chaiAzureTrace";
export function chaiAzure(chai: Chai.ChaiStatic): void {
// expect(() => {}).to.supportsTracing() syntax
chai.Assertion.addMethod("supportTracing", function <
T
T extends { tracingOptions?: OperationTracingOptions }
>(this: Chai.AssertionStatic, expectedSpanNames: string[], options?: T) {
return assert.supportsTracing(this._obj, expectedSpanNames, options, this._obj);
});
Expand Down

0 comments on commit 81b1a84

Please sign in to comment.