Created
February 20, 2020 02:20
-
-
Save Farenheith/de9e9b24d0ff0d24456030b342562e28 to your computer and use it in GitHub Desktop.
Test for unstestable-wrapper
This file contains hidden or 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
import { expect } from 'chai'; | |
import * as wrapper from '../src/untestable-wrapper'; | |
import untestableOldFunction = require('untestable-old-function'); | |
describe('untestable-wrapper', () => { | |
it('should export untestableOldFunction as nowTestableOldFunction', () => { | |
expect(wrapper.nowTestableOldFunction).to.be.eq(untestableOldFunction); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment