Skip to content

Commit

Permalink
Feature: Upgrade dependencies and refactoring. (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Martynas Žilinskas committed Oct 11, 2019
1 parent 6115792 commit 996893f
Show file tree
Hide file tree
Showing 11 changed files with 5,992 additions and 5,549 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "@reactway"
}
24 changes: 0 additions & 24 deletions .github/workflows/build.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/test.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"trailingComma": "none",
"tabWidth": 4,
"semi": true,
"singleQuote": false,
"printWidth": 140
}
4 changes: 2 additions & 2 deletions __tests__/tiny-emitter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ it("emit when one handlers is added", () => {

emitter.addListener(handler1);

emitter.emit(true);
emitter.emit();

expect(handler1.mock.calls.length).toBe(1);
});
Expand All @@ -54,7 +54,7 @@ it("emit when multiple handlers added", () => {
emitter.addListener(handler2);
emitter.addListener(handler3);

emitter.emit(true);
emitter.emit();

expect(handler1.mock.calls.length).toBe(1);
expect(handler2.mock.calls.length).toBe(1);
Expand Down
1 change: 0 additions & 1 deletion codecov.yml

This file was deleted.

Loading

0 comments on commit 996893f

Please sign in to comment.