Compare commits

...

1 Commits

Author SHA1 Message Date
John McLear d3c56630f2 Create performance.js 2021-03-17 18:38:43 +00:00
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
'use strict';
describe('performance', function () {
beforeEach(function (cb) {
helper.newPad(cb);
});
// Etherpad core should never provide more than 30 files.
it('correct number of files are provided to browser from Etherpad', async function () {
await helper.waitForPromise(() => performance.getEntriesByType('resource').length <= 30);
});
});