You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this failing build with sinon v7.2.4 (it was passing with v7.2.3):
TypeError: Cannot read property 'length' of undefined
at /home/travis/build/knorm/knorm/node_modules/unexpected-sinon/lib/unexpected-sinon.js:155:39
at Array.forEach (<anonymous>)
at recordSpyCalls (node_modules/unexpected-sinon/lib/unexpected-sinon.js:153:11)
at Object.handler (node_modules/unexpected-sinon/lib/unexpected-sinon.js:658:38)
at executeExpect (node_modules/unexpected/build/lib/Unexpected.js:1300:65)
at Unexpected.expect (node_modules/unexpected/build/lib/Unexpected.js:1304:18)
at expect (node_modules/unexpected/build/lib/Unexpected.js:929:23)
at Context.<anonymous> (test/Field.spec.js:118:9)
describe('without a column name configured',function(){it("calls getColumnName to set the field's column name",function(){classFooextendsModel{}conststub=sinon.stub(Field.prototype,'getColumnName').returns('the column name');constfield=newField({name: 'bar',model: Foo,type: 'string'});expect(stub,'to have calls satisfying',()=>{stub('bar');});expect(field.column,'to be','the column name');stub.restore();});});
I'm not sure but it looks like these changes might be causing the issue sinonjs/sinon#1975.
Let me know if I should provide any more info.
The text was updated successfully, but these errors were encountered:
Hi,
I have this failing build with sinon v7.2.4 (it was passing with v7.2.3):
The test:
I'm not sure but it looks like these changes might be causing the issue sinonjs/sinon#1975.
Let me know if I should provide any more info.
The text was updated successfully, but these errors were encountered: