@thimpat/testutils
v1.4.1
Published
Helper functions for testing
Downloads
158
Readme
Description
A library that contains many utility functions to use with automated tests.
Functions
sleep(ms)
Pause in milliseconds
replaceTextInFile(filepath, regex, replacement)
Replace some text
getContent(filepath)
Returns file content
isJson(str)
Tell whether a string is json formatted
Changelog
- Update a function