mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
update creatTestFromDoc
This commit is contained in:
1 parent
e982482a6d
commit
6f82f3f91d
2 files changed
+4
-2
No files matched your search
+2
-2
@@ -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"
|
||||
|
||||
@@ -35,6 +35,8 @@ describe('Document', function() {
|
||||
});
|
||||
`,
|
||||
);
|
||||
|
||||
logger.success('Create a test case from the document successfully');
|
||||
} catch (error) {
|
||||
logger.fatal(error);
|
||||
}
|
||||
Reference in new issue
Block a user