From 2b94b07fdc8f1a82f507b99000add9b7dca2c3d8 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 20 Aug 2023 11:16:52 +0530 Subject: refactor: adds evalvalue type instead of string --- tests/eval.spec.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tests/eval.spec.ts') diff --git a/tests/eval.spec.ts b/tests/eval.spec.ts index 1d8b161..660f0b9 100644 --- a/tests/eval.spec.ts +++ b/tests/eval.spec.ts @@ -11,8 +11,19 @@ describe('eval', () => { getVariable: jest.fn(), updateVariable: jest.fn(), setAttribute: jest.fn(), + getAttribute: jest.fn(), + withEvent: jest.fn(), + getFormData: jest.fn(), + sendRequest: jest.fn(), + addChildren: jest.fn(), + removeElement: jest.fn(), + callMethod: jest.fn(), } + fit('should do stuff', () => { + console.log('yo') + }) + it('should add classes', async () => { await evalExpr( Expr.Call({ -- cgit v1.3.1