fix: randoms
This commit is contained in:
parent
97a63dcd4d
commit
749e42743e
|
@ -1,4 +1,5 @@
|
|||
import * as Math from './math';
|
||||
import {random, randomNumber} from './random';
|
||||
import * as Rectangle from './rectangle';
|
||||
import * as Vector from './vector';
|
||||
|
||||
|
@ -16,7 +17,11 @@ export {Rectangle, Vector};
|
|||
|
||||
export const hooks = {
|
||||
'@avocado/behavior.globals': () => ({
|
||||
Math,
|
||||
Math: {
|
||||
...Math,
|
||||
random,
|
||||
randomNumber,
|
||||
},
|
||||
Rectangle,
|
||||
Vector,
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue
Block a user