Skip to content

Commit

Permalink
test: skip failing Windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-fenster committed May 20, 2023
1 parent bf950d0 commit fbd43a0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/mutation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,12 @@ describe('Bigtable/Mutation', () => {
assert.strictEqual(decoded.toString(), message);
});

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

0 comments on commit fbd43a0

Please sign in to comment.