Skip to content

Commit 154ccc5

Browse files
authored
Update test.js
1 parent 8522e9a commit 154ccc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ test('use locale independent camel-case transformation', async t => {
137137
);
138138
});
139139

140-
test('do not deep convert buffer', t => {
140+
test('do not deep convert data', t => {
141141
const input = {foo: Buffer.from('foo')};
142-
t.true(camelcaseKeys(input, {deep: true}).foo instanceof Buffer);
142+
t.true(camelcaseKeys(input, {deep: true}).foo instanceof Uint8Array);
143143
});
144144

145145
/**

0 commit comments

Comments
 (0)