mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
f21357b69d
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
12 lines
254 B
JavaScript
12 lines
254 B
JavaScript
import { use } from 'chai';
|
|
import chaiJestSnapshot from 'chai-jest-snapshot';
|
|
|
|
use(chaiJestSnapshot);
|
|
|
|
before(function () {
|
|
chaiJestSnapshot.resetSnapshotRegistry();
|
|
});
|
|
|
|
beforeEach(function () {
|
|
chaiJestSnapshot.configureUsingMochaContext(this);
|
|
});
|