From 6eeb292fd08b942320abb3b3ff5506710600da78 Mon Sep 17 00:00:00 2001 From: adlee-was-taken Date: Fri, 1 May 2026 16:53:58 -0400 Subject: [PATCH] ext(affordances): seed shared/form-affordances/ + barrel test --- .../src/shared/form-affordances/__tests__/index.test.ts | 8 ++++++++ extension/src/shared/form-affordances/index.ts | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 extension/src/shared/form-affordances/__tests__/index.test.ts create mode 100644 extension/src/shared/form-affordances/index.ts diff --git a/extension/src/shared/form-affordances/__tests__/index.test.ts b/extension/src/shared/form-affordances/__tests__/index.test.ts new file mode 100644 index 0000000..297e359 --- /dev/null +++ b/extension/src/shared/form-affordances/__tests__/index.test.ts @@ -0,0 +1,8 @@ +import { describe, it, expect } from 'vitest'; +import * as affordances from '../index'; + +describe('form-affordances barrel', () => { + it('exports nothing yet but the module loads', () => { + expect(typeof affordances).toBe('object'); + }); +}); diff --git a/extension/src/shared/form-affordances/index.ts b/extension/src/shared/form-affordances/index.ts new file mode 100644 index 0000000..ab37fc7 --- /dev/null +++ b/extension/src/shared/form-affordances/index.ts @@ -0,0 +1,5 @@ +/// Shared form affordance modules. Each named export wires one family of +/// smart-input behavior (url, group, password, totp, notes) into a mounted +/// form element. Wired by `popup/components/types/login.ts` after the form +/// HTML is rendered. +export {};