parent
b214945963
commit
9e421daf67
|
@ -32,8 +32,5 @@ const runner = require( '../src/env' ).console(
|
||||||
program, process.stdout
|
program, process.stdout
|
||||||
);
|
);
|
||||||
|
|
||||||
// XXX: work around issue with consts not being initialized ahead of time
|
|
||||||
program.rater( {} );
|
|
||||||
|
|
||||||
runner( case_yaml )
|
runner( case_yaml )
|
||||||
.catch( e => console.error( e ) );
|
.catch( e => console.error( e ) );
|
||||||
|
|
|
@ -52,6 +52,10 @@ module.exports = {
|
||||||
.use( ConstResolver( program ) )
|
.use( ConstResolver( program ) )
|
||||||
( yaml_reader, TestCase );
|
( yaml_reader, TestCase );
|
||||||
|
|
||||||
|
// XXX: work around issue with consts not being initialized ahead of
|
||||||
|
// time (initialized during actual rating...!)
|
||||||
|
program.rater( {} );
|
||||||
|
|
||||||
return yaml => new Promise( ( resolve, reject ) =>
|
return yaml => new Promise( ( resolve, reject ) =>
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue