flyemoji
a7fe525bfc
test(api): keep the package's tests off the live mojang profile api
...
mojangProfileAPI defaults to https://api.mojang.com , and only the tests
that call stubMojangNames or setProfileAPI swap it out. A new test that
reaches a third-party login without doing so would query the real
service: its result then depends on network access and on whether
someone owns the name that day, and the shared premium cache can carry
that answer into later tests.
A TestMain now points the lookup at an address nothing listens on
before any test runs, so a forgotten stub always takes the same
fail-closed path. Tests that stub it restore this address, not the live
one, when they finish.
2026-09-22 13:31:53 +09:00
..
2026-07-20 04:47:32 +09:00
2026-09-22 12:46:00 +09:00
2026-07-20 11:10:23 +09:00
2026-07-07 10:04:30 +09:00
2026-07-07 10:04:30 +09:00
2026-07-05 16:22:08 +08:00
2026-06-26 23:32:38 +09:00
2026-07-21 00:11:40 +09:00
2026-07-02 03:30:50 +08:00
2026-09-22 12:57:19 +09:00
2026-07-05 20:50:48 +09:00
2026-07-05 20:50:48 +09:00
2026-07-20 04:47:32 +09:00
2026-07-20 04:47:32 +09:00
2026-07-20 04:47:32 +09:00
2026-07-20 04:47:32 +09:00
2026-07-04 21:47:12 +09:00
2026-07-04 21:47:12 +09:00
2026-07-04 21:47:12 +09:00
2026-07-07 19:32:13 +09:00
2026-07-08 05:58:00 +09:00
2026-07-07 19:32:13 +09:00
2026-06-26 23:32:38 +09:00
2026-06-26 23:32:38 +09:00
2026-06-26 23:32:38 +09:00
2026-07-22 14:40:42 +09:00
2026-07-21 00:11:40 +09:00
2026-07-20 14:33:29 +09:00
2026-07-20 14:33:29 +09:00
2026-09-22 13:21:43 +09:00
2026-09-22 13:21:43 +09:00
2026-06-26 23:32:38 +09:00
2026-07-20 11:10:23 +09:00
2026-07-20 11:10:23 +09:00
2026-07-04 21:47:12 +09:00
2026-07-01 22:04:19 +09:00
2026-07-20 04:47:32 +09:00
2026-07-20 04:47:32 +09:00
2026-07-20 11:10:23 +09:00
2026-07-20 11:10:23 +09:00
2026-07-05 16:02:30 +09:00
2026-07-05 16:02:30 +09:00
2026-07-16 13:26:56 +09:00
2026-07-16 13:26:56 +09:00
2026-07-16 13:26:56 +09:00
2026-07-05 02:05:44 +08:00
2026-07-04 21:47:12 +09:00
2026-07-05 04:05:56 +09:00
2026-07-20 04:47:32 +09:00
2026-07-22 14:40:28 +09:00
2026-09-22 12:43:54 +09:00
2026-07-22 14:40:28 +09:00
2026-07-01 18:26:42 +09:00
2026-07-01 18:17:07 +09:00
2026-07-01 18:17:07 +09:00
2026-07-20 04:47:32 +09:00
2026-07-20 04:47:32 +09:00
2026-06-26 23:32:38 +09:00
2026-06-26 23:32:38 +09:00
2026-07-01 22:04:19 +09:00
2026-07-21 00:12:37 +09:00
2026-07-21 00:12:37 +09:00
2026-07-01 23:06:26 +09:00
2026-09-22 13:31:53 +09:00
2026-07-01 21:07:08 +09:00
2026-07-22 14:40:42 +09:00
2026-07-04 04:08:14 +08:00
2026-07-20 10:24:52 +09:00
2026-07-20 04:47:32 +09:00
2026-06-26 23:32:38 +09:00
2026-06-26 23:32:38 +09:00
2026-07-20 11:10:23 +09:00
2026-07-02 23:38:46 +08:00
2026-07-02 23:38:46 +08:00
2026-07-04 21:47:12 +09:00