QA Wolf logo

QA Wolf

Globals

QA Wolf provides globals to help you create tests quickly.

The globals available in your test are:

// Generate a random name
const name = faker.name.findName();
console.log(name);
  • fs-extra: Use the file system with fs-extra.
// read a json file
const json = await fse.readJson(filePath);
// read a text file
const text = await fse.readFile(filePath, "utf8");