Skip to content

Commit

Permalink
Test Deno release
Browse files Browse the repository at this point in the history
  • Loading branch information
kofno committed Dec 14, 2023
1 parent 6a3ba8c commit de4276b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions mod_test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { assert } from "https://deno.land/std@0.208.0/assert/mod.ts";
import { just } from "https://deno.land/x/maybeasy@v6.0.0/mod.ts";

Deno.test(function testRelease() {
just(1)
.map((x) => x + 1)
.andThen((x) => just(x + 1))
.do((x) => assert(x === 3))
.elseDo(() => assert(false));
})

0 comments on commit de4276b

Please # to comment.