Fixes #54899: Do not attempt to use real css loader in mocha unit tests

This commit is contained in:
Alex Dima
2018-08-08 17:51:51 +02:00
parent 2f69a93b9d
commit 5ea0df9969
2 changed files with 13 additions and 0 deletions

12
test/css.mock.js Normal file
View File

@@ -0,0 +1,12 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
define([], function() {
return {
load: function(name, req, load) {
load({});
}
};
});