mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
Let each sound cue pick from 19 sounds in Preferences
AI Assisted
This commit is contained in:
1 parent
459b840db9
commit
02380fa6fe
33 files changed
+402
-41
No files matched your search
@@ -166,7 +166,8 @@ test("no built skill holds the large console files; the shared copy keeps every
|
||||
assert.ok(fs.readFileSync(built).equals(fs.readFileSync(path.join(src, ...rel.split("/")))), `${rel} differs from src/`);
|
||||
}
|
||||
assert.ok(fs.existsSync(path.join(shared, "public", "vendor", "codemirror.esm.js")), "codemirror ships");
|
||||
assert.ok(fs.readdirSync(path.join(shared, "public")).filter((f) => f.endsWith(".mp3")).length >= 3, "every sound ships");
|
||||
assert.equal(fs.readdirSync(path.join(shared, "public", "sounds")).filter((f) => /^sound-\d\d\.mp3$/.test(f)).length, 19, "every pickable sound ships");
|
||||
assert.equal(fs.readdirSync(path.join(shared, "public")).filter((f) => f.endsWith(".mp3")).length, 2, "the boot and snore sounds ship");
|
||||
});
|
||||
|
||||
test("the shared copy ships a module for every game listed in public/activities.js", async () => {
|
||||
|
||||
Reference in new issue
Block a user