@stylable/core-test-kit
is a collection of utilities aimed at making testing Stylable core behavior and functionality easier.
An assortment of Chai
matchers used by Stylable.
flat-match
- flattens and matches passed argumentsresults
- test Stylable transpiled style rules output
A collection of tools aimed at testing Stylable diagnostics messages (warnings and errors).
Used for easily setting up Stylable instances (processor/transformer) and its infrastructure.
Exposes two utility functions (matchRuleAndDeclaration
and matchAllRulesAndDeclarations
) used for testing Stylable generated AST representing CSS rules and declarations.
Copyright (c) 2019 Wix.com Ltd. All Rights Reserved. Use of this source code is governed by a BSD license.