UNPKG

nfc-pcsc

Version:

Easy reading and writing NFC tags and cards

20 lines (11 loc) 337 B
"use strict"; import test from 'ava'; import mock from 'mock-require'; // mock @pokusew/pcsclite to allow to simulate cards import pcscliteMock from './helpers/pcsclite-mock'; mock('@pokusew/pcsclite', pcscliteMock); const NFC = require('../src/NFC').default; test('first', t => { const nfc = new NFC(); t.truthy(1 === 1); });