0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 12:02:44 +00:00

Merge pull request #4336 from naturalcrit/fixVersionTest

Fix test option 2 - Add text property to version check test object
This commit is contained in:
Trevor Buckner
2025-07-13 19:55:16 -04:00
committed by GitHub

View File

@@ -1056,7 +1056,7 @@ brew`);
describe('updateBrew', ()=>{ describe('updateBrew', ()=>{
it('should return error on version mismatch', async ()=>{ it('should return error on version mismatch', async ()=>{
const brewFromClient = { version: 1 }; const brewFromClient = { version: 1 };
const brewFromServer = { version: 1000 }; const brewFromServer = { version: 1000, text: '' };
const req = { const req = {
brew : brewFromServer, brew : brewFromServer,