test: refactor deprecate-helpers.ts to warning-helpers.ts (#46866)
Add a generic expectWarningMessages and start checking warning names
This commit is contained in:
parent
d091cb91ba
commit
ec4eafecae
4 changed files with 69 additions and 35 deletions
|
@ -2,8 +2,8 @@ import { systemPreferences } from 'electron/main';
|
|||
|
||||
import { expect } from 'chai';
|
||||
|
||||
import { expectDeprecationMessages } from './lib/deprecate-helpers';
|
||||
import { ifdescribe } from './lib/spec-helpers';
|
||||
import { expectDeprecationMessages } from './lib/warning-helpers';
|
||||
|
||||
describe('systemPreferences module', () => {
|
||||
ifdescribe(process.platform === 'win32')('systemPreferences.getAccentColor', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue