2020-07-26から1日間の記事一覧
.mocharc.jsにてbootstrapをrequire "use strict"; const { dirname } = require("path"); module.exports = { require: [ __dirname + "/test/bootstrap"], timeout: 10000, }; /test/bootstrap.jsがmocha起動時に実行される // project root dir 基準の mo…
.mocharc.jsにてbootstrapをrequire "use strict"; const { dirname } = require("path"); module.exports = { require: [ __dirname + "/test/bootstrap"], timeout: 10000, }; /test/bootstrap.jsがmocha起動時に実行される // project root dir 基準の mo…