Initial import with skill sheet working

This commit is contained in:
2024-12-04 00:11:23 +01:00
commit 9050c80ab4
4488 changed files with 671048 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
var alreadyRun = false;
describe('less.js modify vars', function () {
beforeEach(function (done) {
// simulating "setUp" or "beforeAll" method
if (alreadyRun) {
done();
return;
}
alreadyRun = true;
less.pageLoadFinished
.then(function () {
less.modifyVars({
var1: 'green',
var2: 'purple',
scale: 20
}).then(function () {
done();
});
});
});
testLessEqualsInDocument();
it('Should log only 2 XHR requests', function (done) {
var xhrLogMessages = logMessages.filter(function (item) {
return (/XHR: Getting '/).test(item);
});
expect(xhrLogMessages.length).to.equal(2);
done();
});
});