Created
January 17, 2020 10:26
-
-
Save moriya-hm5/f0c789f4713bc9f6427ff78608794e7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const sinon = require('sinon') // sinon作成 | |
const sandbox = require('sinon').createSandbox() //sandbox作成 | |
afterEach(()=>{ | |
sandbox.restore()// sandboxをリストアすること | |
}) | |
after(()=>{ | |
sinon.restore() // sinonをリストアすること | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment