spec: fix conditions for some tests (#23489)
This commit is contained in:
parent
6114518463
commit
dc3de49a08
3 changed files with 9 additions and 10 deletions
|
@ -1009,13 +1009,7 @@ describe('<webview> tag', function () {
|
|||
});
|
||||
});
|
||||
|
||||
describe('<webview>.printToPDF()', () => {
|
||||
before(() => {
|
||||
if (!features.isPrintingEnabled()) {
|
||||
this.skip();
|
||||
}
|
||||
});
|
||||
|
||||
ifdescribe(features.isPrintingEnabled())('<webview>.printToPDF()', () => {
|
||||
it('rejects on incorrectly typed parameters', async () => {
|
||||
const badTypes = {
|
||||
marginsType: 'terrible',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue