Skip to content

fatso83/sinon-issue-1711

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sinon issue 1711

npm install
npm test

  test
    1) should correctly mock module method


  0 passing (34ms)
  1 failing

  1) test
       should correctly mock module method:
     TypeError: Cannot delete property 'test' of [object Module]
      at wrapMethod (node_modules/sinon/lib/sinon/util/core/wrap-method.js:99:27)
      at Proxy.stub (node_modules/sinon/lib/sinon/stub.js:60:44)
      at Context.it (mod1spec.js:11:11)

About

Demo of sinon issue 1711

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%