🏑 index : quine-global/ava.git

# Snapshot report for `test/snapshot-workflow/selection.js`

The actual snapshot is saved in `selection.js.snap`.

Generated by [AVA](https://avajs.dev).

## With --update-snapshots and t.snapshot.skip(), other snapshots are updated

> snapshot report diff

    `  # Snapshot report for \\\`test.js\\\`␊
      ␊
      The actual snapshot is saved in \\\`test.js.snap\\\`.␊
      ␊
      Generated by [AVA](https://avajs.dev).␊
      ␊
      ## foo␊
      ␊
      > Snapshot 1␊
      ␊
          {␊
            foo: 'one',␊
          }␊
      ␊
      > Snapshot 2␊
      ␊
          {␊
    -       foo: 'two',␊
    +       two: 'something new',␊
          }␊
      `

## With --update snapshots and test.skip(), other tests' snapshots are updated

> snapshot report diff

    `  # Snapshot report for \\\`test.js\\\`␊
      ␊
      The actual snapshot is saved in \\\`test.js.snap\\\`.␊
      ␊
      Generated by [AVA](https://avajs.dev).␊
      ␊
      ## foo␊
      ␊
      > Snapshot 1␊
      ␊
          {␊
            foo: 'one',␊
          }␊
      ␊
      ## bar␊
      ␊
      > Snapshot 1␊
      ␊
    -     {␊
    -       bar: 'one',␊
    -     }␊
    +     [␊
    +       'something new',␊
    +     ]␊
      `

## With --update-snapshots and --match, only selected tests are updated

> snapshot report diff

    `  # Snapshot report for \\\`test.js\\\`␊
      ␊
      The actual snapshot is saved in \\\`test.js.snap\\\`.␊
      ␊
      Generated by [AVA](https://avajs.dev).␊
      ␊
      ## foo␊
      ␊
      > Snapshot 1␊
      ␊
          {␊
    -       foo: 'one',␊
    +       foo: 'new',␊
          }␊
      ␊
      ## bar␊
      ␊
      > Snapshot 1␊
      ␊
          {␊
            bar: 'one',␊
          }␊
      `

## With --update-snapshots and line number selection, only selected tests are updated

> snapshot report diff

    `  # Snapshot report for \\\`test.js\\\`␊
      ␊
      The actual snapshot is saved in \\\`test.js.snap\\\`.␊
      ␊
      Generated by [AVA](https://avajs.dev).␊
      ␊
      ## foo␊
      ␊
      > Snapshot 1␊
      ␊
          {␊
    -       foo: 'one',␊
    +       foo: 'new',␊
          }␊
      ␊
      ## bar␊
      ␊
      > Snapshot 1␊
      ␊
          {␊
            bar: 'one',␊
          }␊
      `