Skip to content

Commit fd78455

Browse files
committed
fix for failing test because of version in http headers
1 parent 68d06b1 commit fd78455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/__tests__/http-client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe('VantigeHttpClient', () => {
5959
headers: {
6060
'Authorization': 'Bearer test-token',
6161
'Content-Type': 'application/json',
62-
'User-Agent': '@vantige-ai/typescript-sdk/0.1.2',
62+
'User-Agent': `@vantige-ai/typescript-sdk/${process.env.npm_package_version || '0.1.0'}`,
6363
},
6464
});
6565
});

0 commit comments

Comments
 (0)