aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--__tests__/index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/__tests__/index.js b/__tests__/index.js
index b81991d..e37b64f 100644
--- a/__tests__/index.js
+++ b/__tests__/index.js
@@ -87,6 +87,14 @@ With severale lines, ...
a good text area</textarea>`);
});
+test('not a text-area', t => {
+ const {contents} = renderRaw(`
+[_______some text
+Oups bad-formated text area
+_______]`);
+ t.notRegex(contents, /textarea/);
+});
+
test.todo('id text');
test.todo('class');
test.todo('classes');