endsWithParentVariants.js 510 B

12345678910111213141516171819
  1. 'use strict';
  2. let utility = require('../utility');
  3. describe('ends with parent variants', function() {
  4. before(function() {
  5. const filename = utility.buildPath('fixtures', 'expect', 'endsWithParentVariants.txt'),
  6. testHTML = document.querySelectorAll('#ends-with-parent-variants .hljs');
  7. return utility.setupFile(filename, 'utf-8', this, testHTML);
  8. });
  9. it('should end on all variants', function() {
  10. const actual = this.blocks[0];
  11. actual.should.equal(this.expected);
  12. });
  13. });