Skip to content

Commit b18f869

Browse files
committed
fix: align browser accessibility public contract
1 parent 062ff5c commit b18f869

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

tests/public-api-contract.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ assert.deepEqual(barrelExportModules(publicBarrel), [
159159
"./browser-artifact-lifecycle.js",
160160
"./browser-callback-contracts.js",
161161
"./browser-interaction.js",
162+
"./browser-accessibility.js",
162163
"./browser-adaptive-exploration.js",
163164
"./browser-environment-matrix.js",
164165
"./browser-multi-actor-scenario-contracts.js",
@@ -243,6 +244,7 @@ assert.deepEqual(barrelExportModules(publicBarrel), [
243244

244245
assert.deepEqual(barrelExportModules(contractsBarrel), [
245246
"./browser-probe-contract.js",
247+
"./browser-accessibility.js",
246248
"./browser-multi-actor-scenario-contracts.js",
247249
"./browser-adaptive-exploration.js",
248250
"./browser-environment-matrix.js",

tests/runtime-contract-package-exports.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import * as publicFacade from "@automattic/wp-codebox-core/public"
88
for (const entrypoint of [core, contracts, publicFacade]) {
99
assert.equal(typeof entrypoint.runtimeContractManifest, "function")
1010
assert.equal(typeof entrypoint.runtimeDescriptor, "function")
11+
assert.equal(entrypoint.BROWSER_ACCESSIBILITY_SCHEMA, "wp-codebox/browser-accessibility/v1")
12+
assert.equal(typeof entrypoint.browserAccessibilityContract, "function")
1113
const manifest = entrypoint.runtimeContractManifest()
1214
const descriptor = entrypoint.runtimeDescriptor()
1315

0 commit comments

Comments
 (0)