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);
|
|
});
|