Skip to content

Commit

Permalink
[Fix] ensure bound shim is actually bound
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Sep 5, 2024
1 parent 568ddaf commit 04ec735
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ var doValidation = function doActualValidation(t, packageDir, name) {
st2.equal(module, getPolyfill(), 'module.exports === getPolyfill()');
st2.end();
});
st.test('module is bound (do not pass `--bound` to skip this test)', { skip: !isBound }, function (st2) {
st2.notEqual(module, getPolyfill(), 'module.exports !== getPolyfill()');
st2.end();
});

st.end();
});
Expand Down

0 comments on commit 04ec735

Please sign in to comment.