comment out unused methods

This commit is contained in:
Shelley Vohr 2017-11-20 15:12:34 +01:00
parent dc410efa36
commit 7904be8763
No known key found for this signature in database
GPG key ID: F13993A75599653C
2 changed files with 49 additions and 60 deletions

View file

@ -1,7 +1,7 @@
const assert = require('assert')
const {deprecations, deprecate, nativeImage} = require('electron')
describe.only('deprecations', () => {
describe('deprecations', () => {
beforeEach(() => {
deprecations.setHandler(null)
process.throwDeprecation = true
@ -54,16 +54,4 @@ describe.only('deprecations', () => {
deprecate.log('this is deprecated')
}, /this is deprecated/)
})
// it('deprecates a property', () => {
// deprecate.property(object, property, method)
// })
//
// it('deprecates an event', () => {
// deprecate.event(emitter, oldName, newName, fn)
// })
//
// it('forwards a method to member', () => {
// deprecate.member(object, method, member)
// })
})