UNPKG
afterwriting-fork-rickschubert
Version:
latest (1.12.10)
1.12.10
1.12.9
Screewriting tools
github.com/ifrost/afterwriting-labs
ifrost/afterwriting-labs
afterwriting-fork-rickschubert
/
test
/
unit
/
utils
/
textstatsTest.js
12 lines
(8 loc)
•
303 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
define
([
'utils/textstats'
],
function
(
textstats
) {
describe
(
'Text stats'
,
function
(
) {
it
(
'gets list of characters'
,
function
(
) {
var
characters = textstats.
get_characters
(
'AABB 0123'
); chai.
assert
.
equal
(characters.
length
,
7
); }); }); });