From cc83c1318e0f64a8f3625276e452c838026e44d1 Mon Sep 17 00:00:00 2001 From: adueck Date: Fri, 23 Sep 2022 14:23:31 +0400 Subject: [PATCH] oops --- package.json | 2 +- src/lib/jsx-map.test.tsx | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index cfc7e4e..50974f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "3.9.8", + "version": "4.0.0", "author": "lingdocs.com", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "homepage": "https://verbs.lingdocs.com", diff --git a/src/lib/jsx-map.test.tsx b/src/lib/jsx-map.test.tsx index 72d5d77..d8b6eed 100644 --- a/src/lib/jsx-map.test.tsx +++ b/src/lib/jsx-map.test.tsx @@ -1,4 +1,4 @@ -import { psJSXMap, JSXMap } from "./jsx-map"; +import { psJSXMap } from "./jsx-map"; test("psJSXMap should work with f as a target", () => { const input = { p: <>زه کور ته ځم, f: <>zu kor ta dzum }; @@ -18,9 +18,3 @@ test("psJSXMap will error if given an uneven/unbalanced pair of JSX Elements", ( psJSXMap(input, "p", (ps) => ps.p.replace(/ځ/g, "ز")); }).toThrow("error mapping out PsJSX - unbalanced trees"); }); - -test("plain JSX map util", () => { - const input = <>this will be transformed nicely; - const output = JSXMap(input, (s) => s.toUpperCase()); - expect(output).toEqual(<>THIS WILL BE TRANSFORMED NICELY); -}); \ No newline at end of file