Skip to content

Commit

Permalink
Merge pull request #2186 from Tyriar/typings_test
Browse files Browse the repository at this point in the history
Remove typings test
  • Loading branch information
Tyriar authored Jun 5, 2019
2 parents 155d552 + 9994047 commit c1c55ae
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 279 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ npm-debug.log
.env
build/
.DS_Store
fixtures/typings-test/*.js
package-lock.json

# Keep bundled code out of Git
Expand Down
14 changes: 0 additions & 14 deletions fixtures/typings-test/tsconfig.json

This file was deleted.

249 changes: 0 additions & 249 deletions fixtures/typings-test/typings-test.ts

This file was deleted.

15 changes: 0 additions & 15 deletions src/Terminal.integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
* This file contains integration tests for xterm.js.
*/

import * as cp from 'child_process';
import * as glob from 'glob';
import * as fs from 'fs';
import * as os from 'os';
import * as path from 'path';
import * as pty from 'node-pty';
import { assert } from 'chai';
import { Terminal } from './Terminal';
import { IViewport } from './Types';
import { CellData, WHITESPACE_CELL_CHAR } from 'core/buffer/BufferLine';
Expand Down Expand Up @@ -154,16 +152,3 @@ if (os.platform() !== 'win32') {
}
});
}

describe('typings', () => {
it('should throw no compile errors', function (): void {
this.timeout(20000);
let tsc = path.join(__dirname, '..', 'node_modules', '.bin', 'tsc');
if (process.platform === 'win32') {
tsc += '.cmd';
}
const fixtureDir = path.join(__dirname, '..', 'fixtures', 'typings-test');
const result = cp.spawnSync(tsc, { cwd: fixtureDir });
assert.equal(result.status, 0, `build did not succeed:\nstdout: ${result.stdout.toString()}\nstderr: ${result.stderr.toString()}\n`);
});
});

0 comments on commit c1c55ae

Please sign in to comment.