Commit graph

10 commits

Author SHA1 Message Date
Hazelnoot
effdea5658 update unit tests and mocks 2025-11-05 19:42:30 -05:00
Hazelnoot
a55649e89a move global services to "global" directory 2025-11-05 19:42:28 -05:00
Hazelnoot
8e000ae313 implement MockEnvService and fix tests 2025-11-05 19:41:09 -05:00
Hazelnoot
2d0b3cd325 remove NestJS instance from UtilityService.ts tests 2025-11-05 19:20:05 -05:00
Hazelnoot
b8e3f545c0 add missing shutdown hooks in unit tests 2025-11-05 19:20:04 -05:00
dakkar
9b164003d4 more robust "delivery suspend software"
upstream's code doesn't allow any way to match a version that `semver`
can't parse, not even with `*`:

```
> semver.satisfies('1-2-3','*');
false
> semver.satisfies('1.3','*');
false
> semver.satisfies('1.2.3','*');
true
```

while I was there, I added support for regexp in both name and
version, and added unit tests
2025-08-03 12:40:17 +01:00
dakkar
fda71c4147 make toPuny work better in testing 2025-04-21 16:44:13 +01:00
dakkar
51afbbaf72 handle .masto.host specially 2024-11-29 11:39:18 +00:00
dakkar
97d17c537b spaces / lint 2024-11-29 11:39:18 +00:00
dakkar
82376f312d use "userland" punycode, plus tests
thanks to CenTdemeern1 for the `import` incantation
2024-11-29 11:39:18 +00:00