0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22: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', ()=>{
it('should return error on version mismatch', async ()=>{
const brewFromClient = { version: 1 };
const brewFromServer = { version: 1000 };
const brewFromServer = { version: 1000, text: '' };
const req = {
brew : brewFromServer,