update creatTestFromDoc

This commit is contained in:
zhw2590582 committed 2019-11-22 21:08:29 +08:00
1 parent e982482a6d
commit 6f82f3f91d
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -9,8 +9,8 @@
"release": "npm run lint && npm run version && npm run build:all && npm test && npm run publish",
"dev": "npx cross-env NODE_ENV=development node ./scripts/dev.js",
"start": "npx cross-env NODE_ENV=development npx servor docs index.html 8080 5000",
"build": "npx cross-env NODE_ENV=production node ./scripts/build.js",
"build:all": "npm run build all && node ./scripts/creatTestFromDoc.js && git add . && git commit -m \"build all packages\" -n ",
"build": "npx cross-env NODE_ENV=production node ./scripts/build.js && node ./scripts/creatTestFromDoc.js",
"build:all": "npm run build all && git add . && git commit -m \"build all packages\" -n ",
"test": "npx cross-env NODE_ENV=test mocha-chrome ./test/index.html --mocha '{\"ui\":\"bdd\"}'",
"lint": "npx eslint packages/*/src",
"sizereport": "npx sizereport --config"
+2
View File
@@ -35,6 +35,8 @@ describe('Document', function() {
});
`,
);
logger.success('Create a test case from the document successfully');
} catch (error) {
logger.fatal(error);
}