Skip to content

Commit e5d52a7

Browse files
committed
better assertion for library name
1 parent 3706153 commit e5d52a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/amplitude-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4125,7 +4125,7 @@ describe('AmplitudeClient', function () {
41254125
amplitude.init(apiKey);
41264126
amplitude.logEvent('Event Type 1');
41274127
const { name, version } = JSON.parse(queryString.parse(server.requests[0].requestBody).e)[0].library;
4128-
assert.equal(name, amplitude.options.library.name);
4128+
assert.equal(name, 'amplitude-js');
41294129
assert.equal(version, amplitude.options.library.version);
41304130
});
41314131

0 commit comments

Comments
 (0)