Only copy platform node_modules when create by bin

This commit is contained in:
エリス
2018-09-27 16:17:44 +09:00
parent e58453d3e6
commit 98c866704a
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ describe('create', function () {
});
it('should copy template scripts into generated project', function (done) {
create.create(project_path, config_mock, {}, events_mock).then(function () {
expect(create.copyScripts).toHaveBeenCalledWith(project_path);
expect(create.copyScripts).toHaveBeenCalledWith(project_path, {});
}).fail(fail).done(done);
});
it('should copy build rules / gradle files into generated project', function (done) {