From cab0595e2367677cf11c392b12bfb0a52fce772f Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 11 Feb 2018 22:35:37 +0100 Subject: Not a textarea test --- __tests__/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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`); }); +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'); -- cgit v1.2.3