Skip to content

Commit d27e8ad

Browse files
committed
test: improve test writing experiences for dev
1 parent 00d33b8 commit d27e8ad

File tree

6 files changed

+310
-356
lines changed

6 files changed

+310
-356
lines changed

test/examples.test.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ var { compile, evalCompiled } = require("../src/parser");
77

88
var lib = utils.loadlib();
99
const exampleDir = path.resolve(__dirname, "../examples/");
10-
const outputDir = path.resolve(__dirname, "../test/temp/examples/");
1110
const python = getPythonExecutable();
1211

1312
const ignoreExamples = [
@@ -30,7 +29,6 @@ function getPythonExecutable() {
3029
}
3130

3231
function readOtherExample(x) {
33-
console.log(x);
3432
return fs
3533
.readFileSync(path.resolve(__dirname, "../examples/" + x + ".wy"), "utf-8")
3634
.toString();
@@ -71,11 +69,6 @@ function runAll(lang, options) {
7169
}
7270

7371
describe("examples", () => {
74-
before(() => {
75-
fs.removeSync(outputDir);
76-
fs.ensureDirSync(outputDir);
77-
});
78-
7972
describe("javascript", () => {
8073
runAll("js");
8174
});

test/hanzi2num.test.js

Lines changed: 0 additions & 349 deletions
This file was deleted.

0 commit comments

Comments
 (0)