[REF] store: typecheck code

closes #87
closes #39
This commit is contained in:
Géry Debongnie
2019-05-07 11:36:03 +02:00
parent f7495dc897
commit b7860a95b0
4 changed files with 35 additions and 25 deletions
+1 -1
View File
@@ -1646,7 +1646,7 @@ describe("async rendering", () => {
);
});
test.only("properly behave when destroyed/unmounted while rendering ", async () => {
test("properly behave when destroyed/unmounted while rendering ", async () => {
let def = Promise.resolve();
class Child extends Widget {
+1 -1
View File
@@ -141,7 +141,7 @@ describe("basic use", () => {
test("env is given to actions", () => {
expect.assertions(1);
const someEnv = {};
const someEnv = <Env>{};
const actions = {
someaction({ env }) {
expect(env).toBe(someEnv);