UNPKG

axe-core

Version:

Accessibility engine for automated Web UI testing

22 lines (18 loc) 414 B
describe('helpers.incompleteFallbackMessage', function() { 'use strict'; before(function() { axe._load({ messages: {}, rules: [], data: { incompleteFallbackMessage: function anonymous() { return 'Dogs are the best'; } } }); }); it('should return a string', function() { var summary = helpers.incompleteFallbackMessage(); assert.equal(summary, 'Dogs are the best'); }); });