subLanguages.js 478 B

1234567891011121314151617
  1. 'use strict';
  2. let utility = require('../utility');
  3. describe('sub-languages', function() {
  4. before(function() {
  5. this.block = document.querySelector('#sublanguages');
  6. });
  7. it('should highlight XML with PHP and JavaScript', function() {
  8. const filename = utility.buildPath('fixtures', 'expect',
  9. 'sublanguages.txt'),
  10. actual = this.block.innerHTML;
  11. return utility.expectedFile(filename, 'utf-8', actual);
  12. });
  13. });