mirror of
https://github.com/appium/appium.git
synced 2026-02-22 11:19:06 -06:00
19 lines
510 B
JavaScript
19 lines
510 B
JavaScript
import BasePlugin from '../../lib/plugin';
|
|
|
|
describe('base plugin', function () {
|
|
it('should exist', function () {
|
|
should.exist(BasePlugin);
|
|
});
|
|
it('should define its name', function () {
|
|
const p = new BasePlugin('foo');
|
|
p.name.should.eql('foo');
|
|
});
|
|
it('should create a logger', function () {
|
|
const p = new BasePlugin('foo');
|
|
should.exist(p.logger);
|
|
});
|
|
it('should define a default list of no new methods', function () {
|
|
BasePlugin.newMethodMap.should.eql({});
|
|
});
|
|
});
|