Copy node_modules if the directory exists (#607)

This commit is contained in:
エリス
2018-12-19 10:33:16 +09:00
committed by GitHub
parent 5f44af3757
commit f228d90ca2
3 changed files with 8 additions and 6 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) {