Rename TestUtils.ts to TestUtils.test.ts
This will allow it to be excluded when we do #863
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ import { assert } from 'chai';
|
|||||||
import { ITerminal } from './Interfaces';
|
import { ITerminal } from './Interfaces';
|
||||||
import { Buffer } from './Buffer';
|
import { Buffer } from './Buffer';
|
||||||
import { CircularList } from './utils/CircularList';
|
import { CircularList } from './utils/CircularList';
|
||||||
import { MockTerminal } from './utils/TestUtils';
|
import { MockTerminal } from './utils/TestUtils.test';
|
||||||
|
|
||||||
const INIT_COLS = 80;
|
const INIT_COLS = 80;
|
||||||
const INIT_ROWS = 24;
|
const INIT_ROWS = 24;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { assert } from 'chai';
|
|||||||
import { ITerminal } from './Interfaces';
|
import { ITerminal } from './Interfaces';
|
||||||
import { BufferSet } from './BufferSet';
|
import { BufferSet } from './BufferSet';
|
||||||
import { Buffer } from './Buffer';
|
import { Buffer } from './Buffer';
|
||||||
import { MockTerminal } from './utils/TestUtils';
|
import { MockTerminal } from './utils/TestUtils.test';
|
||||||
|
|
||||||
describe('BufferSet', () => {
|
describe('BufferSet', () => {
|
||||||
let terminal: ITerminal;
|
let terminal: ITerminal;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
import { assert } from 'chai';
|
import { assert } from 'chai';
|
||||||
import { InputHandler } from './InputHandler';
|
import { InputHandler } from './InputHandler';
|
||||||
import { wcwidth } from './InputHandler';
|
import { wcwidth } from './InputHandler';
|
||||||
import { MockInputHandlingTerminal } from './utils/TestUtils';
|
import { MockInputHandlingTerminal } from './utils/TestUtils.test';
|
||||||
|
|
||||||
describe('InputHandler', () => {
|
describe('InputHandler', () => {
|
||||||
describe('save and restore cursor', () => {
|
describe('save and restore cursor', () => {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import { CircularList } from './utils/CircularList';
|
|||||||
import { SelectionManager } from './SelectionManager';
|
import { SelectionManager } from './SelectionManager';
|
||||||
import { SelectionModel } from './SelectionModel';
|
import { SelectionModel } from './SelectionModel';
|
||||||
import { BufferSet } from './BufferSet';
|
import { BufferSet } from './BufferSet';
|
||||||
import { MockTerminal } from './utils/TestUtils';
|
import { MockTerminal } from './utils/TestUtils.test';
|
||||||
import { LineData } from './Types';
|
import { LineData } from './Types';
|
||||||
|
|
||||||
class TestSelectionManager extends SelectionManager {
|
class TestSelectionManager extends SelectionManager {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { assert } from 'chai';
|
|||||||
import { ITerminal } from './Interfaces';
|
import { ITerminal } from './Interfaces';
|
||||||
import { SelectionModel } from './SelectionModel';
|
import { SelectionModel } from './SelectionModel';
|
||||||
import {BufferSet} from './BufferSet';
|
import {BufferSet} from './BufferSet';
|
||||||
import { MockTerminal } from './utils/TestUtils';
|
import { MockTerminal } from './utils/TestUtils.test';
|
||||||
|
|
||||||
class TestSelectionModel extends SelectionModel {
|
class TestSelectionModel extends SelectionModel {
|
||||||
constructor(
|
constructor(
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { assert, expect } from 'chai';
|
import { assert, expect } from 'chai';
|
||||||
import { Terminal } from './Terminal';
|
import { Terminal } from './Terminal';
|
||||||
import { MockViewport, MockCompositionHelper } from './utils/TestUtils';
|
import { MockViewport, MockCompositionHelper } from './utils/TestUtils.test';
|
||||||
import { CHAR_DATA_CHAR_INDEX, CHAR_DATA_WIDTH_INDEX } from './Buffer';
|
import { CHAR_DATA_CHAR_INDEX, CHAR_DATA_WIDTH_INDEX } from './Buffer';
|
||||||
|
|
||||||
class TestTerminal extends Terminal {
|
class TestTerminal extends Terminal {
|
||||||
|
|||||||
Reference in New Issue
Block a user