# Snapshot report for `test/hook-restrictions/test.js`The actual snapshot is saved in `test.js.snap`.Generated by [AVA](https://avajs.dev).## snapshots cannot be used in hooks> error message'`t.snapshot()` can only be used in tests'## `t.try()` cannot be used in hooks> error message'`t.try()` can only be used in tests'