comment out unused methods
This commit is contained in:
parent
dc410efa36
commit
7904be8763
2 changed files with 49 additions and 60 deletions
|
@ -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)
|
||||
// })
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue