aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-02-11 22:35:37 +0100
committerache <ache@ache.one>2018-02-11 22:35:37 +0100
commitcab0595e2367677cf11c392b12bfb0a52fce772f (patch)
tree35fd08735fa0835b1f5df37e6163a9e0a27a0c2d
parentmore tests (diff)
Not a textarea test
-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');