-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5bc3379
Showing
46 changed files
with
2,131 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>index</title> | ||
<link rel="stylesheet" href="./odoc.support/odoc.css"/> | ||
<meta charset="utf-8"/> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"/> | ||
</head> | ||
<body> | ||
<main class="content"> | ||
<div class="by-name"> | ||
<h2>melange-fest documentation</h2> | ||
<ul> | ||
<li><a href="reason">Reason docs</a></li> | ||
<li><a href="ocaml">OCaml docs</a></li> | ||
</ul> | ||
</div> | ||
</main> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Domloader (melange-fest.Domloader)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../index.html">melange-fest</a> » Domloader</nav><header class="odoc-preamble"><h1>Module <code><span>Domloader</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-init"><a href="#val-init" class="anchor"></a><code><span><span class="keyword">val</span> init : <span>unit <span class="arrow">-></span></span> unit</span></code></div><div class="spec-doc"><p>Initialize the Node environment to make it ready to run tests</p></div></div></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Promise (melange-fest.Fest.Promise)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../../index.html">melange-fest</a> » <a href="../index.html">Fest</a> » Promise</nav><header class="odoc-preamble"><h1>Module <code><span>Fest.Promise</span></code></h1><p>This promise-based module is needed for nested tests, see <a href="https://nodejs.org/api/test.html#subtests">https://nodejs.org/api/test.html#subtests</a></p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-let*"><a href="#val-let*" class="anchor"></a><code><span><span class="keyword">val</span> let* : <span><span><span class="type-var">'a</span> <span class="xref-unresolved">Js</span>.Promise.t</span> <span class="arrow">-></span></span> <span><span>(<span><span class="type-var">'a</span> <span class="arrow">-></span></span> <span><span class="type-var">'b</span> <span class="xref-unresolved">Js</span>.Promise.t</span>)</span> <span class="arrow">-></span></span> <span><span class="type-var">'b</span> <span class="xref-unresolved">Js</span>.Promise.t</span></span></code></div><div class="spec-doc"><p><a href="https://v2.ocaml.org/manual/bindingops.html">Monadic binding operator</a> for promises</p></div></div><div class="odoc-spec"><div class="spec value external anchored" id="val-test"><a href="#val-test" class="anchor"></a><code><span><span class="keyword">val</span> test : <span>string <span class="arrow">-></span></span> <span><span>(<span>unit <span class="arrow">-></span></span> <span>unit <span class="xref-unresolved">Js</span>.Promise.t</span>)</span> <span class="arrow">-></span></span> unit</span></code></div><div class="spec-doc"><p>Create a top-level test with a given name and callback function that runs the test and returns a promise.</p></div></div><div class="odoc-spec"><div class="spec value external anchored" id="val-subtest"><a href="#val-subtest" class="anchor"></a><code><span><span class="keyword">val</span> subtest : <span>string <span class="arrow">-></span></span> <span><span>(<span>unit <span class="arrow">-></span></span> <span>unit <span class="xref-unresolved">Js</span>.Promise.t</span>)</span> <span class="arrow">-></span></span> <span>unit <span class="xref-unresolved">Js</span>.Promise.t</span></span></code></div><div class="spec-doc"><p>Create a subtest with a given name and callback function that runs the test and returns a promise. It is supposed to be used inside a <a href="#val-test"><code>test</code></a> function call.</p></div></div></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Fest (melange-fest.Fest)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../index.html">melange-fest</a> » Fest</nav><header class="odoc-preamble"><h1>Module <code><span>Fest</span></code></h1><p>Bindings for functions from <a href="https://nodejs.org/api/test.html#test-runner">node:test</a> and <a href="https://nodejs.org/api/assert.html#strict-assertion-mode">node:assert/strict</a> modules</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value external anchored" id="val-test"><a href="#val-test" class="anchor"></a><code><span><span class="keyword">val</span> test : <span>string <span class="arrow">-></span></span> <span><span>(<span>unit <span class="arrow">-></span></span> unit)</span> <span class="arrow">-></span></span> unit</span></code></div><div class="spec-doc"><p>Create a test with a given name and callback function that runs the test</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Promise"><a href="#module-Promise" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Promise/index.html">Promise</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>This promise-based module is needed for nested tests, see <a href="https://nodejs.org/api/test.html#subtests">https://nodejs.org/api/test.html#subtests</a></p></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-assertion"><a href="#type-assertion" class="anchor"></a><code><span><span class="keyword">type</span> assertion</span></code></div><div class="spec-doc"><p>Abstract type for the <a href="https://nodejs.org/api/assert.html#strict-assertion-mode">node:assert/strict</a> module</p></div></div><div class="odoc-spec"><div class="spec value external anchored" id="val-expect"><a href="#val-expect" class="anchor"></a><code><span><span class="keyword">val</span> expect : <a href="#type-assertion">assertion</a></span></code></div><div class="spec-doc"><p>The <a href="https://nodejs.org/api/assert.html#strict-assertion-mode">node:assert/strict</a> module object</p></div></div><div class="odoc-spec"><div class="spec value external anchored" id="val-ok"><a href="#val-ok" class="anchor"></a><code><span><span class="keyword">val</span> ok : <span>bool <span class="arrow">-></span></span> <span><a href="#type-assertion">assertion</a> <span class="arrow">-></span></span> unit</span></code></div><div class="spec-doc"><p>Tests if the given value is true</p></div></div><div class="odoc-spec"><div class="spec value external anchored" id="val-equal"><a href="#val-equal" class="anchor"></a><code><span><span class="keyword">val</span> equal : <span><span class="type-var">'a</span> <span class="arrow">-></span></span> <span><span class="type-var">'a</span> <span class="arrow">-></span></span> <span><a href="#type-assertion">assertion</a> <span class="arrow">-></span></span> unit</span></code></div><div class="spec-doc"><p>Tests strict equality between the actual and expected parameters as determined by <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is">Object.is()</a></p></div></div><div class="odoc-spec"><div class="spec value external anchored" id="val-deep_equal"><a href="#val-deep_equal" class="anchor"></a><code><span><span class="keyword">val</span> deep_equal : <span><span class="type-var">'a</span> <span class="arrow">-></span></span> <span><span class="type-var">'a</span> <span class="arrow">-></span></span> <span><a href="#type-assertion">assertion</a> <span class="arrow">-></span></span> unit</span></code></div><div class="spec-doc"><p>Tests for deep strict equality between the actual and expected parameters</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-deepEqual"><a href="#val-deepEqual" class="anchor"></a><code><span><span class="keyword">val</span> deepEqual : <span><span class="type-var">'a</span> <span class="arrow">-></span></span> <span><span class="type-var">'a</span> <span class="arrow">-></span></span> <span><a href="#type-assertion">assertion</a> <span class="arrow">-></span></span> unit</span></code></div><div class="spec-doc"><p>Alias for <a href="#val-deep_equal"><code>deep_equal</code></a></p></div></div></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (melange-fest.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – melange-fest</nav><header class="odoc-preamble"><h1 id="melange-fest-index"><a href="#melange-fest-index" class="anchor"></a>melange-fest index</h1></header><nav class="odoc-toc"><ul><li><a href="#library-melange-fest">Library melange-fest</a></li><li><a href="#library-melange-fest.dom">Library melange-fest.dom</a></li></ul></nav><div class="odoc-content"><h2 id="library-melange-fest"><a href="#library-melange-fest" class="anchor"></a>Library melange-fest</h2><p>The entry point of this library is the module: <a href="Fest/index.html"><code>Fest</code></a>.</p><h2 id="library-melange-fest.dom"><a href="#library-melange-fest.dom" class="anchor"></a>Library melange-fest.dom</h2><p>The entry point of this library is the module: <a href="Domloader/index.html"><code>Domloader</code></a>.</p></div></body></html> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.