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

19 lines
510 B
JavaScript

'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);
});
});