fix(ui): bind textarea values without markup
This commit is contained in:
@@ -26,6 +26,12 @@ test("bundled UI assets are discoverable and readable", () => {
|
||||
expect(uiCss()).toContain("--wrn-");
|
||||
});
|
||||
|
||||
test("Textarea binds its value without rendering hydration markup as user content", () => {
|
||||
const source = readFileSync(uiComponentPath("Textarea"), "utf8");
|
||||
expect(source).toContain('value="{value}"');
|
||||
expect(source).not.toContain(">{value}</textarea>");
|
||||
});
|
||||
|
||||
test("global UI CSS stays below its migration ratchet", () => {
|
||||
const css = uiCss();
|
||||
// Component selectors belong to their owning .wrn files. Keep this asset to
|
||||
|
||||
Reference in New Issue
Block a user