const sinon = require('sinon'). 2. const fileToBeTested = require('./my-tiny-example'). 3. . 4. sinon.stub(fileToBeTested, 'inner').
確定! 回上一頁