UNPKG

@scion-scxml/scxml

Version:

An implementation of SCXML in JavaScript.

13 lines (8 loc) 378 B
var grunt = require('grunt'); var path = require('path'); var tests = grunt.file.expand(require('./scxml-tests.json').map( p => path.join(__dirname,'..',p))).map( fullPath => path.relative(__dirname, fullPath)); var testPairs = tests.map(function(test){ var filename = test.replace('\.scxml','.json'); return [test, require(filename)]; }); module.exports = testPairs;