@ms-cloudpack/bundler-plugin-tests
v0.11.12
Published
A set of reusable tests to validate bundler plugin output.
Downloads
615
Keywords
Readme
@ms-cloudpack/bundler-plugin-tests
This package contains a set of reusable Jest tests for validating the output of a bundler plugin.
APIs
createTests(options)
Runs a set of standard jest tests for the given plugin.
Options:
bundler
(Bundler
): The bundler plugin being testedexcluded
(string[]
): Optional list of tests to skipafterAll
(() => void | Promise<void>
): Optional callback after tests are done