1. Edit the _data/metadata.json with your site's information.
  2. (Optional) Edit .eleventy.js with your configuration preferences.
  3. Delete this message from _includes/layouts/base.njk.

This is an Eleventy project created from the eleventy-starter repo.

Jest

Run Individual Tests with Jest #

jest --runInBand -t "My Test Name"

If running that command results in a command not found: jest error, it may be necessary to preface the command with npm or yarn:

# npm
npm jest --runInBand -t "My Test Name"

# yarn
yarn jest --runInBand -t "My Test Name"

Share on Twitter