Bump eslint-config-babel and fix lint (#5129)
This commit is contained in:
committed by
Daniel Tschinder
parent
2457c8ee14
commit
8c35b320d3
@@ -109,7 +109,7 @@ describe("babel-code-frame", function () {
|
||||
|
||||
it("opts.highlightCode", function () {
|
||||
const rawLines = "console.log('babel')";
|
||||
const result = codeFrame(rawLines, 1, 9, {highlightCode: true});
|
||||
const result = codeFrame(rawLines, 1, 9, { highlightCode: true });
|
||||
const stripped = chalk.stripColor(result);
|
||||
assert.ok(result.length > stripped.length);
|
||||
assert.equal(stripped, [
|
||||
|
||||
Reference in New Issue
Block a user