Pen integration test: don't pre-load pen extension

This commit is contained in:
Christopher Willis-Ford 2017-11-03 12:50:37 -07:00
parent c88a8fa55a
commit 51dcfb954d
2 changed files with 2 additions and 2 deletions
src
test/integration

View file

@ -238,6 +238,7 @@ class VirtualMachine extends EventEmitter {
* @param {Array.<Target>} targets - the targets to be installed
* @param {ImportedExtensionsInfo} extensions - metadata about extensions used by these targets
* @param {boolean} wholeProject - set to true if installing a whole project, as opposed to a single sprite.
* @returns {Promise} resolved once targets have been installed
*/
installTargets (targets, extensions, wholeProject) {
const extensionPromises = [];
@ -250,7 +251,7 @@ class VirtualMachine extends EventEmitter {
targets = targets.filter(target => !!target);
Promise.all(extensionPromises).then(() => {
return Promise.all(extensionPromises).then(() => {
if (wholeProject) {
this.clear();
}

View file

@ -48,7 +48,6 @@ test('pen', t => {
vm.setCompatibilityMode(false);
vm.setTurboMode(false);
vm.loadProject(project)
.then(() => vm.extensionManager.loadExtensionURL('pen')) /** @TODO: loadProject should load extensions */
.then(() => {
vm.greenFlag();