presentations/highlight-js/test/special/endsWithParentVariants.js

20 lines
510 B
JavaScript
Raw Normal View History

2018-12-07 08:48:05 -06:00
'use strict';
let utility = require('../utility');
describe('ends with parent variants', function() {
before(function() {
const filename = utility.buildPath('fixtures', 'expect', 'endsWithParentVariants.txt'),
testHTML = document.querySelectorAll('#ends-with-parent-variants .hljs');
return utility.setupFile(filename, 'utf-8', this, testHTML);
});
it('should end on all variants', function() {
const actual = this.blocks[0];
actual.should.equal(this.expected);
});
});