@o-lang/resolver-tests 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="412" height="20">
|
|
2
|
+
<rect width="412" height="20" fill="green" rx="3" ry="3"/>
|
|
3
|
+
<text x="206" y="14"
|
|
4
|
+
fill="#fff"
|
|
5
|
+
font-family="Verdana"
|
|
6
|
+
font-size="12"
|
|
7
|
+
text-anchor="middle">
|
|
8
|
+
O-lang | notify-telegram v1.0.3 — Certified (2026-01-20)
|
|
9
|
+
</text>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="370" height="20">
|
|
2
|
+
<rect width="370" height="20" fill="green" rx="3" ry="3"/>
|
|
3
|
+
<text x="185" y="14"
|
|
4
|
+
fill="#fff"
|
|
5
|
+
font-family="Verdana"
|
|
6
|
+
font-size="12"
|
|
7
|
+
text-anchor="middle">
|
|
8
|
+
O-lang | unknown-resolver — Certified (2026-01-20)
|
|
9
|
+
</text>
|
|
10
|
+
</svg>
|
package/conformance.json
CHANGED
package/lib/runner.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// lib/runner.js
|
|
2
1
|
const path = require("path");
|
|
3
2
|
const fs = require("fs");
|
|
4
3
|
|
|
@@ -254,9 +253,11 @@ function runAssertions(testSpec, target, status = {}) {
|
|
|
254
253
|
// ----------------------
|
|
255
254
|
async function runAllTests({ suites, resolver }) {
|
|
256
255
|
let failed = 0;
|
|
256
|
+
// Resolve test suites from the package root (where R-001-..., R-005-... live)
|
|
257
|
+
const PACKAGE_ROOT = path.join(__dirname, '..');
|
|
257
258
|
|
|
258
259
|
for (const suite of suites) {
|
|
259
|
-
const suiteDir = path.join(
|
|
260
|
+
const suiteDir = path.join(PACKAGE_ROOT, suite);
|
|
260
261
|
const testSpecPath = path.join(suiteDir, "test.json");
|
|
261
262
|
|
|
262
263
|
if (!fs.existsSync(testSpecPath)) {
|
|
@@ -334,4 +335,4 @@ async function runAllTests({ suites, resolver }) {
|
|
|
334
335
|
module.exports = {
|
|
335
336
|
runAssertions,
|
|
336
337
|
runAllTests,
|
|
337
|
-
};
|
|
338
|
+
};
|