Skip to content

Commit

Permalink
Version test
Browse files Browse the repository at this point in the history
  • Loading branch information
jazz-soft committed Apr 12, 2024
1 parent dd93247 commit 7de3bf9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
[![npm](https://img.shields.io/npm/v/jzz-input-kbd.svg)](https://www.npmjs.com/package/jzz-input-kbd)
[![npm](https://img.shields.io/npm/dt/jzz-input-kbd.svg)](https://www.npmjs.com/package/jzz-input-kbd)
[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/jzz-input-kbd/badge)](https://www.jsdelivr.com/package/npm/jzz-input-kbd)
[![build](https://github.com/jazz-soft/JZZ-input-Kbd/actions/workflows/build.yml/badge.svg)](https://github.com/jazz-soft/JZZ-input-Kbd/actions)
[![Coverage Status](https://coveralls.io/repos/github/jazz-soft/JZZ-input-Kbd/badge.svg?branch=master)](https://coveralls.io/github/jazz-soft/JZZ-input-Kbd?branch=master)

## Virtual piano controls for your MIDI projects

Expand Down
9 changes: 9 additions & 0 deletions test/mocha.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
const assert = require('assert');
const JSDOM = require('jsdom').JSDOM;
const WMT = require('web-midi-test');
const version = require('../package.json').version;
const JZZ = require('jzz');
require('..')(JZZ);

var midi_out = new WMT.MidiDst('VIRTUAL MIDI-Out');
midi_out.connect();

global.__coverage__ = {};

describe('Info', function() {
it('version ' + version, function() {
assert.equal(JZZ.input.Kbd.version(), version);
});
});

describe('In browser', function() {
before(function() {
return new Promise(function(resolve) {
Expand Down

0 comments on commit 7de3bf9

Please # to comment.