Skip to content

feat: add randomInt and randomFloat functions #69

feat: add randomInt and randomFloat functions

feat: add randomInt and randomFloat functions #69

Triggered via pull request July 4, 2024 02:20
Status Failure
Total duration 41s
Artifacts

check-pr.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

15 errors
tests/random/randomFloat.test.ts > randomFloat > does a thing: tests/random/randomFloat.test.ts#L5
AssertionError: expected 0.32142498230860017 to be undefined // Object.is equality - Expected: undefined + Received: 0.32142498230860017 ❯ tests/random/randomFloat.test.ts:5:29
tests/random/randomSecureFloat.test.ts > randomSecureFloat > does a thing: src/random/randomSecureFloat.ts#L20
TypeError: lerp is not a function ❯ Module.randomSecureFloat src/random/randomSecureFloat.ts:20:10 ❯ tests/random/randomSecureFloat.test.ts:5:14
tests/random/randomSecureInt.test.ts > randomSecureInt > does a thing: src/random/randomSecureFloat.ts#L20
TypeError: lerp is not a function ❯ Module.randomSecureFloat src/random/randomSecureFloat.ts:20:10 ❯ Module.randomSecureInt src/random/randomSecureInt.ts:13:10 ❯ tests/random/randomSecureInt.test.ts:5:14
Test (20.x)
Process completed with exit code 1.
Validate
Process completed with exit code 1.
Test (22.x)
The job was canceled because "_20_x" failed.
tests/random/randomFloat.test.ts > randomFloat > does a thing: tests/random/randomFloat.test.ts#L5
AssertionError: expected 0.33706602564741606 to be undefined // Object.is equality - Expected: undefined + Received: 0.33706602564741606 ❯ tests/random/randomFloat.test.ts:5:29
tests/random/randomSecureFloat.test.ts > randomSecureFloat > does a thing: src/random/randomSecureFloat.ts#L20
TypeError: lerp is not a function ❯ Module.randomSecureFloat src/random/randomSecureFloat.ts:20:10 ❯ tests/random/randomSecureFloat.test.ts:5:14
tests/random/randomSecureInt.test.ts > randomSecureInt > does a thing: src/random/randomSecureFloat.ts#L20
TypeError: lerp is not a function ❯ Module.randomSecureFloat src/random/randomSecureFloat.ts:20:10 ❯ Module.randomSecureInt src/random/randomSecureInt.ts:13:10 ❯ tests/random/randomSecureInt.test.ts:5:14
Test (22.x)
Process completed with exit code 1.
Test (18.x)
The job was canceled because "_20_x" failed.
tests/random/randomFloat.test.ts > randomFloat > does a thing: tests/random/randomFloat.test.ts#L5
AssertionError: expected 0.6976267212049059 to be undefined // Object.is equality - Expected: undefined + Received: 0.6976267212049059 ❯ tests/random/randomFloat.test.ts:5:29
tests/random/randomSecureFloat.test.ts > randomSecureFloat > does a thing: src/random/randomSecureFloat.ts#L19
ReferenceError: crypto is not defined ❯ Module.randomSecureFloat src/random/randomSecureFloat.ts:19:15 ❯ tests/random/randomSecureFloat.test.ts:5:14
tests/random/randomSecureInt.test.ts > randomSecureInt > does a thing: src/random/randomSecureFloat.ts#L19
ReferenceError: crypto is not defined ❯ Module.randomSecureFloat src/random/randomSecureFloat.ts:19:15 ❯ Module.randomSecureInt src/random/randomSecureInt.ts:13:10 ❯ tests/random/randomSecureInt.test.ts:5:14
Test (18.x)
The operation was canceled.