diff --git a/.nycrc.yml b/.nycrc.yml new file mode 100644 index 00000000..03976439 --- /dev/null +++ b/.nycrc.yml @@ -0,0 +1,2 @@ +# https://github.com/istanbuljs/nyc#common-configuration-options +all: true \ No newline at end of file diff --git a/test/prism.spec.js b/test/prism.spec.js index 2855e888..32055a76 100644 --- a/test/prism.spec.js +++ b/test/prism.spec.js @@ -77,8 +77,8 @@ describe('prismHighlight', () => { '}' ].join('\n'); - // Use language: 'plain' to simplify the test - const result = prismHighlight(input, { tab: ' ', lang: 'plain' }); + // Use language: 'plain-text' for not supported language with Prism + const result = prismHighlight(input, { tab: ' ', lang: 'plain-text' }); result.should.contains(escapeHTML(input.replace(/\t/g, ' ')));