What does the "1" in the jest snapshots mean?

191 views Asked by At

What does the number 1 in jest snapshots signify?

For example this is a code snippet from their docs and I'd like to understand what the number 1 in the first line of code means:

// Snapshot
exports[`will fail every time 1`] = `
Object {
  "createdAt": 2018-05-19T23:36:09.816Z,
  "id": 3,
  "name": "LeBron James",
}
`;

The number 1 seems to be there in all jest snapshots as far as I know.

0

There are 0 answers