Detalhes do pacote

@thimpat/testutils

thimpat30MIT1.4.1

Helper functions for testing

productivity, testing, test

readme (leia-me)

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