mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
More tests
This commit is contained in:
parent
c0a8919a77
commit
8a488f0705
@ -1040,12 +1040,32 @@ import examples
|
||||
simplify: (name: string) => `simplify ${name}`
|
||||
})).toMatchTypeOf<void>()
|
||||
|
||||
expectTypeOf(math.import({
|
||||
myvalue: 42
|
||||
}, {
|
||||
override: true
|
||||
})).toMatchTypeOf<void>()
|
||||
|
||||
expectTypeOf(math.import({
|
||||
myvalue: 42
|
||||
}, {
|
||||
silent: true
|
||||
})).toMatchTypeOf<void>()
|
||||
|
||||
expectTypeOf(math.import({
|
||||
myvalue: 42
|
||||
}, {
|
||||
wrap: true
|
||||
})).toMatchTypeOf<void>()
|
||||
|
||||
expectTypeOf(math.import({
|
||||
myvalue: 42,
|
||||
})).toMatchTypeOf<void>()
|
||||
|
||||
expectTypeOf(math.import([{
|
||||
myvalue: 42,
|
||||
}, {
|
||||
simplify: (name: string) => `simplify ${name}`
|
||||
}])).toMatchTypeOf<void>()
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user