| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-05-09 00:32:26 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-05-09 00:32:26 UTC |
| parent | facf1a3ac1ca47f9804f98d521e55c5330a41c7d |
| borogove/Stream.cpp.hx | +7 | -3 |
| borogove/Stream.js.hx | +7 | -3 |
| npm/tsconfig.json | +0 | -6 |
| test/TestAll.hx | +4 | -5 |
diff --git a/borogove/Stream.cpp.hx b/borogove/Stream.cpp.hx index 6b1c32d..c73bdd5 100644 --- a/borogove/Stream.cpp.hx +++ b/borogove/Stream.cpp.hx @@ -1,5 +1,9 @@ package borogove; -import borogove.streams.XmppStropheStream; - -typedef Stream = borogove.streams.XmppStropheStream; +#if test + import borogove.streams.TestStream; + typedef Stream = borogove.streams.TestStream; +#else + import borogove.streams.XmppStropheStream; + typedef Stream = borogove.streams.XmppStropheStream; +#end diff --git a/borogove/Stream.js.hx b/borogove/Stream.js.hx index 24dbdba..a53a18a 100644 --- a/borogove/Stream.js.hx +++ b/borogove/Stream.js.hx @@ -1,5 +1,9 @@ package borogove; -import borogove.streams.XmppJsStream; - -typedef Stream = borogove.streams.XmppJsStream; +#if test + import borogove.streams.TestStream; + typedef Stream = borogove.streams.TestStream; +#else + import borogove.streams.XmppJsStream; + typedef Stream = borogove.streams.XmppJsStream; +#end diff --git a/npm/tsconfig.json b/npm/tsconfig.json deleted file mode 100644 index 7c102bb..0000000 --- a/npm/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "compilerOptions": { - "lib": ["dom", "dom.iterable", "esnext"] - }, - "files": ["npm/index.d.ts"] -} diff --git a/test/TestAll.hx b/test/TestAll.hx index 3973134..c68f0a1 100644 --- a/test/TestAll.hx +++ b/test/TestAll.hx @@ -19,14 +19,11 @@ class TestAll { new TestSessionDescription(), new TestChatMessageBuilder(), new TestStanza(), -#if eval - new TestCaps(), new TestPresence(), new TestClient(), - new TestSortId(), new TestParticipant(), new TestChat(), -#end + new TestSortId(), new TestXEP0393(), new TestEmojiUtil(), new TestJID(), @@ -35,7 +32,9 @@ class TestAll { new TestReaction(), new TestHtml(), new TestStatus(), -#if !eval +#if eval + new TestCaps(), +#else new TestSqlite(), #end ]);