Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
fix: tests and remove unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeysova committed Aug 4, 2022
1 parent 28fe115 commit 775e4df
Show file tree
Hide file tree
Showing 7 changed files with 2,287 additions and 2,784 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist
node_modules
coverage
14 changes: 0 additions & 14 deletions babel-preset.js

This file was deleted.

2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const presets = ['@babel/preset-typescript', 'patronum/babel-preset'];
const presets = ['@babel/preset-typescript'];

const common = {
presets,
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"url": "git+https://github.com/effector/contract.git"
},
"files": [
"dist",
"babel-preset.js"
"dist"
],
"keywords": [
"effector",
Expand All @@ -34,8 +33,7 @@
"homepage": "https://github.com/effector/contract#readme",
"dependencies": {},
"peerDependencies": {
"effector": "^22.2.0",
"patronum": "^1.8.2"
"effector": "^22.2.0"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
Expand Down Expand Up @@ -71,7 +69,6 @@
"husky": "^6.0.0",
"jest": "^27.1.0",
"lint-staged": "^11.0.0",
"patronum": "^1.8.2",
"prettier": "2.2.1",
"rollup": "^2.50.5",
"rollup-plugin-dts": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion tests/contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
forward,
} from 'effector';

import { contract } from '~/';
import { contract } from '../src';

test('events forwarded from page to model', () => {
const fnPage = jest.fn();
Expand Down
5 changes: 0 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
],
"module": "esnext",
"moduleResolution": "node",
"paths": {
"~/": [
"./"
]
},
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
Expand Down
5,040 changes: 2,282 additions & 2,758 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 775e4df

Please sign in to comment.