This release is 18 versions behind 1.0.16 — the latest version of @std/assert. Jump to latest
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Common assertion functions, especially useful for testing
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
100%
Published
2 years ago (0.225.3)
Package root
- assert.ts562 B
- assert_almost_equals.ts1 KB
- assert_almost_equals_test.ts2 KB
- assert_array_includes.ts2 KB
- assert_array_includes_test.ts2 KB
- assert_equals.ts2 KB
- assert_equals_test.ts5 KB
- assert_exists.ts762 B
- assert_exists_test.ts1 KB
- assert_false.ts664 B
- assert_false_test.ts564 B
- assert_greater.ts799 B
- assert_greater_or_equal.ts882 B
- assert_greater_or_equal_test.ts470 B
- assert_greater_test.ts467 B
- assert_instance_of.ts2 KB
- assert_instance_of_test.ts4 KB
- assert_is_error.ts2 KB
- assert_is_error_test.ts2 KB
- assert_less.ts747 B
- assert_less_or_equal.ts861 B
- assert_less_or_equal_test.ts283 B
- assert_less_test.ts270 B