Skip to content

Commit d0ecf7a

Browse files
authored
Update lib/cosmos-db/cosmos-db.utils.spec.ts
1 parent 6dc3c29 commit d0ecf7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cosmos-db/cosmos-db.utils.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('cosmos-db.utils', () => {
3434
const result = await getuserAgentSuffix();
3535

3636
expect(mockReadFile).toHaveBeenCalledWith(join(__dirname, '..', '..', 'package.json'), 'utf8');
37-
expect(result).toBe(`node.js/${process.version} (${process.platform}; ${process.arch})`);
37+
expect(result).toBe(`node.js/${process.version} (${process.platform}; ${process.arch}) @nestjs/azure-database/0.0.0`);
3838
});
3939

4040
it('should return fallback user agent when package.json is invalid JSON', async () => {

0 commit comments

Comments
 (0)