Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
rescript-mocha
Advanced tools
ReScript bindings for mocha
npm install rescript-mocha --save-dev
open RescriptMocha
let {it:it', it_skip:it_skip'} = module (Promise)
open Mocha
open Belt
describe("Some Test Suite", () =>
describe("List.map", () => {
it("should map the values", () =>
Assert.deep_equal(Array.map([1, 2, 3], (i) => i * 2), [2, 4, 6])
)
it("should work with an empty list", () =>
Assert.deep_equal(Array.map([], (i) => i * 2), [])
)
it'("should be successful", () =>
Js.Promise.make((~resolve, ~reject as _) =>
Js.Global.setTimeout(() => {
Assert.equal(3, 3)
resolve(. true)
}, 300)
->ignore
)
)
})
)
All code is licensed as MIT. See LICENSE.
This project was forked from bs-mocha after it was abandoned.
0.10.0
Upgraded mocha to 10 and ReScript to 11.
Set uncurried: false
in bsconfig.json
for the moment. There is a modern-api
branch that is more likely to support uncurried use; that's still in progress.
FAQs
ReScript bindings for mocha
The npm package rescript-mocha receives a total of 0 weekly downloads. As such, rescript-mocha popularity was classified as not popular.
We found that rescript-mocha demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.