@scion-scxml/test-framework
Version:
A set of SCXML tests, and an HTTP client test runner for testing against SCXML HTTP test servers.
12 lines (9 loc) • 328 B
JavaScript
var scion = require('scion');
scion.pathToModel('require/require.scxml',function(err,model){
if(err) throw err;
var scxml = new scion.SCXML(model);
var initialConfig = scxml.start();
console.log("initialConfig",initialConfig);
var nextConfig = scxml.gen("t");
console.log("nextConfig",nextConfig);
});