1.4.1 • Published 1 year ago
@thimpat/testutils v1.4.1
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