expose a few state props for debugging (#1008)

* expose a few state props for debugging

* rename h.appState & add h.setState

* support setting elements
This commit is contained in:
David Luzar
2020-03-18 20:44:05 +01:00
committed by GitHub
parent cb66adc716
commit ff033640e4
6 changed files with 94 additions and 73 deletions

View File

@ -15,7 +15,7 @@ beforeEach(() => {
renderScene.mockClear();
});
const { __TEST__: h } = window;
const { h } = window;
describe("remove shape in non linear elements", () => {
it("rectangle", () => {