Skip to content

Commit

Permalink
chore: fix test logic
Browse files Browse the repository at this point in the history
  • Loading branch information
antsukanova committed Jan 2, 2025
1 parent 0bfa352 commit ce2be21
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ describe('plugin-meetings', () => {
});
});

describe('brbChanged', () => {
describe.only('brbChanged', () => {
it('should return true if brb have changed', () => {
const current = {
brb: {enabled: true}
Expand All @@ -202,12 +202,10 @@ describe('plugin-meetings', () => {
});

it('should return false if brb in current is undefined', () => {
const current = {
brb: {enabled: true}
};
const previous = {};
const current = {};
const previous = {brb: {enabled: true}};

assert.isTrue(SelfUtils.brbChanged(previous, current));
assert.isFalse(SelfUtils.brbChanged(previous, current));
});
});

Expand Down

0 comments on commit ce2be21

Please sign in to comment.