(args, _math, _scope)
| 1982 | it('should always pass a Map as scope to a rawArgs function', function () { |
| 1983 | const myMath = math.create() |
| 1984 | function myFunction (args, _math, _scope) { |
| 1985 | return { |
| 1986 | type: isObjectWrappingMap(_scope) |
| 1987 | ? 'ObjectWrappingMap' |
| 1988 | : isPartitionedMap(_scope) |
| 1989 | ? 'PartitionedMap' |
| 1990 | : isMap(_scope) |
| 1991 | ? 'Map' |
| 1992 | : 'unknown', |
| 1993 | scope: _scope |
| 1994 | } |
| 1995 | } |
| 1996 | myFunction.rawArgs = true |
| 1997 | myMath.import({ myFunction }) |
| 1998 |
nothing calls this directly
no test coverage detected
searching dependent graphs…