fix, create tests folder
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Timo Hocker 2020-09-24 12:21:56 +02:00
parent da8c39c91b
commit f38ff47fe2
2 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,7 @@ import {
} from '@sapphirecode/standard';
import { Snippet } from '../../Snippet';
import { apply_template, modify_json, run_command } from '../../Helper';
import fs from 'fs-extra';
import {
eslintrc, gitignore,
@ -128,10 +129,11 @@ export default class Node implements Snippet {
run_command ('git init', folder);
if (use_tests) {
apply_template (
await apply_template (
standard_files.jasmine,
path.join (folder, 'jasmine.json')
);
await fs.mkdirp(path.join(folder,'test/spec'))
}
await init_package (folder, use_ts, use_tests);

View File

@ -1,6 +1,6 @@
{
"name": "@sapphirecode/snippeteer",
"version": "1.5.0",
"version": "1.5.1",
"description": "macros for setting up projects or project parts",
"main": "index.js",
"bin": {