test: refactor deprecate-helpers.ts to warning-helpers.ts (#46808)

Add a generic expectWarningMessages and start checking warning names
This commit is contained in:
David Sanders 2025-04-28 08:18:34 -07:00 committed by GitHub
parent 27f6adf8df
commit 0c103f390c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 69 additions and 35 deletions

View file

@ -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');