Merge pull request #25647 from wingsbob/chai-jest-snapshot-without-synthetic-imports

Fixing chai-jest-snapshot export to match package
This commit is contained in:
Ron Buckton
2018-05-15 11:22:04 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import chaiJestSnapshot from 'chai-jest-snapshot';
import * as chaiJestSnapshot from 'chai-jest-snapshot';
import { expect } from 'chai';
chai.use(chaiJestSnapshot);

View File

@@ -40,4 +40,4 @@ interface ChaiJestSnapshot {
}
declare var ChaiJestSnapshot: ChaiJestSnapshot;
export default ChaiJestSnapshot;
export = ChaiJestSnapshot;