UNPKG

@freeyeon2/oauth-1.0a

Version:

OAuth 1.0a Request Authorization for Node and Browser.

14 lines (12 loc) 410 B
var expect = require('chai').expect; var OAuth = require('../../oauth-1.0a'); //TODO: check alphabet and numberic only describe("consumer option", function() { describe("required option", function() { it("should throw error on undefined", function() { expect(function() { oauth = OAuth(); }).to.throw('consumer option is required'); }); }); });