We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8522e9a commit 154ccc5Copy full SHA for 154ccc5
test.js
@@ -137,9 +137,9 @@ test('use locale independent camel-case transformation', async t => {
137
);
138
});
139
140
-test('do not deep convert buffer', t => {
+test('do not deep convert data', t => {
141
const input = {foo: Buffer.from('foo')};
142
- t.true(camelcaseKeys(input, {deep: true}).foo instanceof Buffer);
+ t.true(camelcaseKeys(input, {deep: true}).foo instanceof Uint8Array);
143
144
145
/**
0 commit comments