Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
update to fix snapshops & missing classes
Browse files Browse the repository at this point in the history
- added `exModuleInterop` to tsconfig.json
- references keyz/identity-obj-proxy#9 (comment)
  • Loading branch information
andrewconnell committed Oct 6, 2019
1 parent 0299e1e commit e05ff09
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/Sample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class Sample extends React.Component<{}, {}> {

return (
<div>
<span>Hello world:</span>
<span className="message">Hello world:</span>
<ul>
<li>one</li>
<li>two</li>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@voitanos/jest-preset-spfx-react15",
"description": "Jest preset configuration for SharePoint Framework projects that leverage React v15 (SPFx <=1.6.0).",
"version": "1.2.0",
"version": "1.3.0",
"license": "MIT",
"dependencies": {
"@types/enzyme-adapter-react-15": "1.0.3",
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"module": "commonjs",
"strict": true,
"lib": ["esnext"],
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"baseUrl": ".",
"allowJs": true,
"types": ["node"]
"types": ["node"],
"esModuleInterop": true
},
"include": [
"postinstall/*.ts"
Expand Down

0 comments on commit e05ff09

Please sign in to comment.