Skip to content

Commit 649b4d4

Browse files
committed
fix: update error message in metadata test for clarity
Signed-off-by: Vladislav Polyakov <[email protected]>
1 parent 0a86272 commit 649b4d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/auth/src/metadata.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ test('handles invalid response', async () => {
3030
let provider = new MetadataCredentialsProvider({})
3131

3232
let result = provider.getToken(true, AbortSignal.timeout(100))
33-
await expect(result).rejects.toThrow('The operation was aborted due to timeout')
33+
await expect(result).rejects.toThrow('The operation was aborted')
3434
})

0 commit comments

Comments
 (0)