mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 04:45:17 +00:00
use expect where missing
This commit is contained in:
@@ -9,7 +9,7 @@ describe("Clock set to spanish language module", function () {
|
||||
await app.client.waitUntilWindowLoaded();
|
||||
const elem = await app.client.$(element);
|
||||
const txt = await elem.getText(element);
|
||||
return txt.match(regex);
|
||||
return expect(txt).toMatch(regex);
|
||||
};
|
||||
|
||||
beforeEach(function () {
|
||||
|
Reference in New Issue
Block a user