From 9149887fec74b916c074d9d26627c5cfc9cf5ab8 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 3 Mar 2018 16:12:48 -0800 Subject: [PATCH] add tests for content warnings --- routes/_components/compose/ComposeBox.html | 12 ++-- routes/_components/compose/ComposeButton.html | 4 +- .../compose/ComposeLengthGauge.html | 6 +- .../compose/ComposeLengthIndicator.html | 10 ++- tests/spec/15-compose-content-warnings.js | 68 +++++++++++++++++++ tests/utils.js | 2 + 6 files changed, 85 insertions(+), 17 deletions(-) create mode 100644 tests/spec/15-compose-content-warnings.js diff --git a/routes/_components/compose/ComposeBox.html b/routes/_components/compose/ComposeBox.html index 18a1101..abb0342 100644 --- a/routes/_components/compose/ComposeBox.html +++ b/routes/_components/compose/ComposeBox.html @@ -4,11 +4,11 @@ {{/if}} - + - + - +