UNPKG

evrythng

Version:

Official Javascript SDK for the EVRYTHNG API.

19 lines (14 loc) 364 B
const { expect } = require('chai') const { getScope } = require('../util') module.exports = (scopeType, url) => { describe('Rules', () => { let scope before(() => { scope = getScope(scopeType) }) it('should add a rule resource', async () => { expect(scope.rule).to.be.a('function') }) it('should run a given rule') }) }