diff --git a/test/specs/testdata.js b/test/specs/testdata.js new file mode 100644 index 0000000..60d1c5d --- /dev/null +++ b/test/specs/testdata.js @@ -0,0 +1,14 @@ +import{ serial as test }from'ava'; + +test('[Success] Run test data', async t => { + const spawnSync = require('child_process').spawnSync; + let exitCode; + try{ + exitCode = spawnSync('npm', ['run', 'testdata'], { + shell: true + }); + }catch(error){ + console.log('Error', error); + } + t.deepEqual(exitCode.status, 0); +});