diff --git a/packages/math/src/index.js b/packages/math/src/index.js index ec87e45..30179d6 100644 --- a/packages/math/src/index.js +++ b/packages/math/src/index.js @@ -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, }),