Skip to content

Commit ca1a7c7

Browse files
committed
chore(gates): bound the optional plugin SDK declarations
1 parent fda055e commit ca1a7c7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎test/integration/installed-package-metro.test.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ test('installed package exposes Node APIs and packaged companion tunnel entrypoi
228228

229229
const pluginTypes = fs.readFileSync(path.join(installedPackageRoot, 'dist/src/plugins.d.ts'));
230230
assert.ok(pluginTypes.length < 1024);
231+
const webDriverPluginTypes = fs.readFileSync(
232+
path.join(installedPackageRoot, 'dist/src/plugins/webdriver.d.ts'),
233+
);
234+
assert.ok(webDriverPluginTypes.length < 4096);
231235
assert.match(pluginTypes.toString(), /export \{ ProviderPluginHost \}/);
232236
metroPort = await listenOnLoopback(metroServer);
233237
t.after(async () => {

0 commit comments

Comments
 (0)