diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-08-20 12:42:06 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-08-20 12:42:06 +0530 |
| commit | af65d13038dcdeaf93c5c718cbc74c20120c6a22 (patch) | |
| tree | e1d36b54a9c8db4660d61dde03dbcf8d50cde76e /tests | |
| parent | f61677bbc3ae32cc460014cffe4d9ae9264291c5 (diff) | |
| download | css-everything-af65d13038dcdeaf93c5c718cbc74c20120c6a22.tar.gz css-everything-af65d13038dcdeaf93c5c718cbc74c20120c6a22.zip | |
feat: implements function call and adds support for recursion
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/eval.spec.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/eval.spec.ts b/tests/eval.spec.ts index d61a470..2b226f7 100644 --- a/tests/eval.spec.ts +++ b/tests/eval.spec.ts @@ -1,5 +1,5 @@ import { EvalActions, EvalValue, evalExpr } from '../src/eval' -import { Expr, exprParser, parseExpr } from '../src/parser' +import { Expr, parseExpr } from '../src/parser' describe('eval', () => { const deps: EvalActions = { @@ -18,6 +18,7 @@ describe('eval', () => { addChildren: jest.fn(), removeElement: jest.fn(), callMethod: jest.fn(), + evaluateInScope: jest.fn(), } fdescribe('function/call', () => { |
