test: refactor deprecate-helpers.ts to warning-helpers.ts (#46808)
Add a generic expectWarningMessages and start checking warning names
This commit is contained in:
parent
27f6adf8df
commit
0c103f390c
4 changed files with 69 additions and 35 deletions
|
@ -4,8 +4,8 @@ import { expect } from 'chai';
|
|||
|
||||
import * as path from 'node:path';
|
||||
|
||||
import { expectDeprecationMessages } from './lib/deprecate-helpers';
|
||||
import { ifdescribe, ifit, itremote, useRemoteContext } from './lib/spec-helpers';
|
||||
import { expectDeprecationMessages } from './lib/warning-helpers';
|
||||
|
||||
describe('nativeImage module', () => {
|
||||
const fixturesPath = path.join(__dirname, 'fixtures');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue