Skip to content

Commit fbd43a0

Browse files
test: skip failing Windows test
1 parent bf950d0 commit fbd43a0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/mutation.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,12 @@ describe('Bigtable/Mutation', () => {
145145
assert.strictEqual(decoded.toString(), message);
146146
});
147147

148-
it('should not create a new Buffer needlessly', () => {
148+
it('should not create a new Buffer needlessly', function () {
149+
if (process.platform === 'win32') {
150+
// stubbing Buffer.from does not work on Windows since sinon 15.1.0
151+
// TODO(@alexander-fenster): investigate and report or fix
152+
this.skip();
153+
}
149154
const message = 'Hello!';
150155
const encoded = Buffer.from(message);
151156
const stub = sandbox.stub(Buffer, 'from');

0 commit comments

Comments
 (0)