From 658b34e3fe3eae74985f85481efdcf5efec7d0da Mon Sep 17 00:00:00 2001 From: Joel Einbinder Date: Tue, 8 Sep 2020 10:19:26 -0700 Subject: [PATCH] fix(lint): fix doclint and preprocessor tests (#3793) --- utils/doclint/check_public_api/test/test.js | 2 +- utils/doclint/preprocessor/test.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/doclint/check_public_api/test/test.js b/utils/doclint/check_public_api/test/test.js index b9b8b73cf7745..754cb2656090e 100644 --- a/utils/doclint/check_public_api/test/test.js +++ b/utils/doclint/check_public_api/test/test.js @@ -20,7 +20,7 @@ const checkPublicAPI = require('..'); const Source = require('../../Source'); const mdBuilder = require('../MDBuilder'); const jsBuilder = require('../JSBuilder'); -const { registerWorkerFixture } = require('@playwright/test-runner'); +const { registerWorkerFixture, describe, it, expect } = require('@playwright/test-runner'); registerWorkerFixture('page', async({}, test) => { const browser = await playwright.chromium.launch(); diff --git a/utils/doclint/preprocessor/test.js b/utils/doclint/preprocessor/test.js index 01d8c0cb4ac31..4febd4e8f7c2d 100644 --- a/utils/doclint/preprocessor/test.js +++ b/utils/doclint/preprocessor/test.js @@ -16,6 +16,7 @@ const {runCommands} = require('.'); const Source = require('../Source'); +const { describe, it, expect } = require('@playwright/test-runner'); describe('runCommands', function() { const OPTIONS_REL = {