solved task 2

This commit is contained in:
schrom01
2022-10-20 10:56:45 +02:00
parent b5dfdc4cdd
commit 749fe3a3fb
97 changed files with 19785 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env node
const path = require('path');
const Command = require('../lib/command');
const Jasmine = require('../lib/jasmine');
const jasmine = new Jasmine({ projectBaseDir: path.resolve() });
const examplesDir = path.join(path.dirname(require.resolve('jasmine-core')), 'jasmine-core', 'example', 'node_example');
const command = new Command(path.resolve(), examplesDir, console.log);
command.run(jasmine, process.argv.slice(2));