mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
Use US English spelling throughout and check it in npm test
AI Assisted
This commit is contained in:
1 parent
e67aaabdce
commit
899b3a48d8
84 files changed
+319
-240
No files matched your search
@@ -247,7 +247,7 @@ test("nextAbout: pick sets about, drop and sent clear it, the old Ask events do
|
||||
assert.equal(JSON.stringify(picked), before, "prev is never mutated");
|
||||
});
|
||||
|
||||
test("nextAbout: an old { about, frozen, dropped } tracker normalises to the new shape", () => {
|
||||
test("nextAbout: an old { about, frozen, dropped } tracker normalizes to the new shape", () => {
|
||||
const old = { about: CARD_Q1, frozen: true, dropped: false };
|
||||
assert.deepEqual(nextAbout(old, { type: "leave-ask" }), { history: [], about: CARD_Q1 });
|
||||
assert.deepEqual(nextAbout({ frozen: false, dropped: true }, {}), { history: [], about: null });
|
||||
|
||||
Reference in new issue
Block a user