ref: rename 'detach' method to 'unmount'

This commit is contained in:
Géry Debongnie
2019-04-09 12:57:34 +02:00
parent 6e0ef0fd5c
commit 94c33af8e9
4 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -1268,7 +1268,7 @@ describe("updating environment", () => {
expect(n).toBe(1);
await widget.updateEnv(<any>{ somekey: 5 });
expect(n).toBe(2);
widget.detach();
widget.unmount();
expect(n).toBe(2);
await widget.updateEnv(<any>{ somekey: 5 });
expect(n).toBe(2);