File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
packages/sdk/src/server/__tests__ Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ let client: BackendClient;
2121let customDomainClient : BackendClient ;
2222
2323beforeEach ( ( ) => {
24+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2425 // @ts -ignore
2526 ClientCredentials . mockImplementation ( ( ) => ( {
2627 getToken : jest . fn ( ) . mockResolvedValue ( {
@@ -161,6 +162,7 @@ describe("BackendClient", () => {
161162 } ) ;
162163
163164 it ( "should handle OAuth token retrieval failure" , async ( ) => {
165+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
164166 // @ts -ignore
165167 ClientCredentials . mockImplementation ( ( ) => ( {
166168 getToken : jest . fn ( ) . mockRejectedValue ( new Error ( "Invalid credentials" ) ) ,
@@ -633,6 +635,7 @@ describe("BackendClient", () => {
633635 . mockResolvedValueOnce ( expiredTokenMock )
634636 . mockResolvedValueOnce ( newTokenMock ) ;
635637
638+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
636639 // @ts -ignore
637640 ClientCredentials . mockImplementation ( ( ) => ( {
638641 getToken : getTokenMock ,
You can’t perform that action at this time.
0 commit comments