UNPKG

obsidian-trx-mapper

Version:

32 lines (31 loc) 807 B
const assert = require('assert'); const Map = require('../modules/map'); describe('Map', function () { describe('handleCommand(args)', function () { // it('If mapper service returns false, throw exception', async function () { // const testRun = new TestRuns({ // executeMapper() { // return false; // } // }); // // let hitException = false; // try { // await testRun.handleCommand({ // command: 'import', // args: 'abc.nunit', // options: [ // { // key: 'mapper', // value: 'asdf', // } // ] // }); // } catch(err) { // hitException = true; // } // // assert.equal(true, hitException); // }); }); });