Closed qfox closed 8 years ago
Seems like we need to get better name for it. Parse/stringify are not the best ones to do that.
/cc @blond @Yeti-or
Need add tests should normalize decl
for each BEMDECL version.
I think need use sinon
.
Tests for normalize are out of scope of this PR.
sinon
ok. For what purpose?
Tests for normalize are out of scope of this PR. For what purpose?
Need check that normalize
was called with the right options.
parse
calls normalize
and normalize-harmony
internally with just one argument: decl: object[]
.
parse calls normalize and normalize-harmony internally with just one argument: decl: object[].
Then check that calls necessary method with decl
.
It is overkill, actually.
🆙
👍
Fixes #33