@tikoci/rosetta 0.5.1 → 0.6.0

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.
@@ -202,6 +202,21 @@ describe("Makefile", () => {
202
202
  expect(phonyBlock).toContain("extract-videos");
203
203
  });
204
204
 
205
+ test("has extract-dude target", () => {
206
+ expect(makefile).toContain("extract-dude:");
207
+ });
208
+
209
+ test("has extract-dude-from-cache target", () => {
210
+ expect(makefile).toContain("extract-dude-from-cache:");
211
+ });
212
+
213
+ test("extract-dude is in PHONY", () => {
214
+ const phonyStart = makefile.indexOf(".PHONY:");
215
+ const phonyEnd = makefile.indexOf("\n\n", phonyStart);
216
+ const phonyBlock = makefile.slice(phonyStart, phonyEnd);
217
+ expect(phonyBlock).toContain("extract-dude");
218
+ });
219
+
205
220
  test("release depends on preflight", () => {
206
221
  expect(makefile).toMatch(/^release:.*preflight/m);
207
222
  });
@@ -255,6 +270,11 @@ describe("release.yml", () => {
255
270
  expect(src).toContain("link-commands.ts");
256
271
  });
257
272
 
273
+ test("imports Dude wiki from cache", () => {
274
+ const src = readText(".github/workflows/release.yml");
275
+ expect(src).toContain("extract-dude-from-cache");
276
+ });
277
+
258
278
  test("runs quality gate before release", () => {
259
279
  const src = readText(".github/workflows/release.yml");
260
280
  expect(src).toContain("bun run typecheck");