Update mock server to 18.0.0

This commit is contained in:
Fedor Indutny
2026-03-06 10:59:31 -08:00
committed by GitHub
parent 2e85efb008
commit 4cd792f28d
27 changed files with 527 additions and 433 deletions

View File

@@ -196,7 +196,6 @@ describe('stickers', function (this: Mocha.Suite) {
state.updateRecord(
getStickerPackRecordPredicate(STICKER_PACKS[0]),
record => ({
record: 'stickerPack',
stickerPack: {
...record.stickerPack,
packKey: STICKER_PACKS[0].key,
@@ -237,9 +236,8 @@ describe('stickers', function (this: Mocha.Suite) {
const stickerPack = stateAfter.findRecord(
getStickerPackRecordPredicate(STICKER_PACKS[1])
);
assert.strictEqual(
stickerPack?.record.record,
'stickerPack',
assert.ok(
stickerPack?.record.stickerPack != null,
'New storage state should have sticker pack record'
);
assert.isTrue(