Skip to content

Commit

Permalink
fix test, disable linter for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jerch committed Apr 16, 2023
1 parent dce2d2c commit e4952d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"addons/xterm-addon-search/test/tsconfig.json",
"addons/xterm-addon-serialize/src/tsconfig.json",
"addons/xterm-addon-serialize/test/tsconfig.json",
"addons/xterm-addon-serialize2/src/tsconfig.json",
"addons/xterm-addon-serialize2/test/tsconfig.json",
"addons/xterm-addon-serialize/benchmark/tsconfig.json",
"addons/xterm-addon-unicode11/src/tsconfig.json",
"addons/xterm-addon-unicode11/test/tsconfig.json",
Expand Down
4 changes: 2 additions & 2 deletions addons/xterm-addon-serialize2/src/Serialize2Addon.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class TestSelectionService {
}
}

describe('xterm-addon-serialize', () => {
describe('xterm-addon-serialize2', () => {
let dom: jsdom.JSDOM;
let window: jsdom.DOMWindow;

Expand Down Expand Up @@ -82,7 +82,7 @@ describe('xterm-addon-serialize', () => {
// TODO: wirte alot more test cases here...
it('restoring cursor styles', async () => {
await writeP(terminal, sgr('32') + '> ' + sgr('0'));
assert.equal(serializeAddon.serialize(), '\u001b[32m> \u001b[0m');
assert.equal(serializeAddon.serialize(), '\u001b[32m> \u001b[m');
});
});
});
2 changes: 2 additions & 0 deletions addons/xterm-addon-serialize2/src/serializer.wasm.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable */

import { InWasm, OutputMode, OutputType } from 'inwasm';
import { ITerminal } from 'browser/Types';
import { IBufferLine, IExtendedAttrs } from 'common/Types';
Expand Down

0 comments on commit e4952d4

Please sign in to comment.