presentations/highlight-js/test/browser/index.js

15 lines
402 B
JavaScript
Raw Normal View History

2018-12-07 08:48:05 -06:00
'use strict';
describe('browser build', function() {
before(function() {
this.text = 'var say = "Hello";';
this.html = `<pre><code class="javascript">${this.text}</code></pre>`;
this.expect = '<span class="hljs-keyword">' +
'var</span> say = <span class="hljs-string">' +
'"Hello"</span>;';
});
require('./plain');
require('./worker');
});