UNPKG

nbs-reader

Version:

This package is a library that processes Note Block Studio nbs files in Note.js.

10 lines (9 loc) 290 B
import test from 'ava'; var NBSReader = require('../nbsreader'); const nbs = NBSReader("../test.nbs"); test('CustomInstruments',t=>{ t.true(nbs.CustomInstruments.length == 1); }); test('CustomInstruments#Name', t => { t.true(nbs.CustomInstruments[0].Name == "TestInstrument"); });