summaryrefslogtreecommitdiff
path: root/js/test/tests.ts
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2021-01-16 16:07:52 +0000
committerMichael Williamson <mike@zwobble.org>2021-01-16 16:07:52 +0000
commitf8207fffcc62ce42f4930251f56ac7d50e1a2156 (patch)
treefa8622d9f825905e6b2b8ca555992501a0d39323 /js/test/tests.ts
parentf2c669264288a04a6429fd2deb210e112eaee023 (diff)
Make typeface case insensitivejs-1.0.0
Diffstat (limited to 'js/test/tests.ts')
-rw-r--r--js/test/tests.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/test/tests.ts b/js/test/tests.ts
index 68a4bdf..769ee8b 100644
--- a/js/test/tests.ts
+++ b/js/test/tests.ts
@@ -49,3 +49,9 @@ export function whenUnicodeCodePointIsInAstralPlaneThenReturnedValueIncludesStri
assert.strictEqual(result.string, "🕿");
}
+
+export function typefaceIsCaseInsensitive() {
+ const result = dingbatToUnicode.codePoint("wingDingS", 41)!!;
+
+ assert.strictEqual(result.codePoint, 0x2706);
+}