tests: Make the Mocha results area resizable

This commit is contained in:
Richard Hansen 2021-06-05 03:34:55 -04:00
parent c4239b6059
commit 45ca82fd9f
6 changed files with 34 additions and 8 deletions

View file

@ -143,6 +143,14 @@ $(() => (async () => {
require.setLibraryURI(absUrl('../../javascripts/lib'));
require.setGlobalKeyPath('require');
const Split = require('split-grid/dist/split-grid.min');
new Split({
columnGutters: [{
track: 1,
element: document.getElementById('separator'),
}],
});
// This loads the test specs serially. While it is technically possible to load them in parallel,
// the code would be very complex (it involves wrapping require.define(), configuring
// require-kernel to use the wrapped .define() via require.setGlobalKeyPath(), and using the