Skip to content

Commit

Permalink
Removed typings usage
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyreilly committed Oct 19, 2017
1 parent 107fb8f commit ea39a87
Show file tree
Hide file tree
Showing 27 changed files with 17 additions and 85 deletions.
2 changes: 1 addition & 1 deletion test/execution-tests/1.8.2_allowJs-entryFileIsJs/debug.log
@@ -1 +1 @@
[1010/114139.263:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145504.126:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
@@ -1 +1 @@
[1010/114150.525:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145512.703:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)

This file was deleted.

2 changes: 1 addition & 1 deletion test/execution-tests/2.0.3_typesResolution/debug.log
@@ -1 +1 @@
[1010/114157.757:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145519.450:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
@@ -1 +1 @@
[1010/114216.108:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145530.256:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
2 changes: 1 addition & 1 deletion test/execution-tests/2.1.4_babel-es2016/debug.log
@@ -1 +1 @@
[1010/114229.796:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145540.310:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
7 changes: 0 additions & 7 deletions test/execution-tests/2.1.4_babel-es2016/typings.json

This file was deleted.

2 changes: 1 addition & 1 deletion test/execution-tests/2.1.4_babel-react/debug.log
@@ -1 +1 @@
[1010/114253.362:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145551.923:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
2 changes: 1 addition & 1 deletion test/execution-tests/2.1.4_react/debug.log
@@ -1 +1 @@
[1010/114310.426:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145605.424:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
@@ -1 +1 @@
[1010/114326.453:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145616.276:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
1 change: 1 addition & 0 deletions test/execution-tests/2.4.1_nodeResolutionAllowJs/debug.log
@@ -0,0 +1 @@
[1019/145628.064:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
3 changes: 1 addition & 2 deletions test/execution-tests/README.md
Expand Up @@ -41,8 +41,7 @@ Without this, the test won't be able to resolve ts-loader and webpack won't find

## What sort of tests can be included?

It's pretty much your choice what goes in testwise. At present there are only Jasmine tests in place; it should be possible to put any test in place that Karma is compatible with. The test pack also expects a `typings.json` file and calls `typings install` in each. **Be warned, type definitions are not installed until the test framework has been run.** So if you're wanting to refactor a test you'll need to `typings install` if the requisite typings have not yet been installed. It's possible / probably that this may changed in the future;
particularly to cater for situations where types should be acquired via yarn etc.
It's pretty much your choice what goes in testwise. At present there are only Jasmine tests in place; it should be possible to put any test in place that Karma is compatible with. You can specify dependencies (include @types dependencies) using `package.json`. As a first step before tests are executed, `yarn install` is called to install dependencies.

## Running / debugging the tests

Expand Down
2 changes: 1 addition & 1 deletion test/execution-tests/babel-codeSplitting/debug.log
@@ -1 +1 @@
[1010/114340.215:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145639.356:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
7 changes: 0 additions & 7 deletions test/execution-tests/babel-codeSplitting/typings.json

This file was deleted.

2 changes: 1 addition & 1 deletion test/execution-tests/babel-es2015/debug.log
@@ -1 +1 @@
[1010/114351.537:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145647.692:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
7 changes: 0 additions & 7 deletions test/execution-tests/babel-es2015/typings.json

This file was deleted.

2 changes: 1 addition & 1 deletion test/execution-tests/babel-es6resolveParent/debug.log
@@ -1 +1 @@
[1010/114402.407:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145656.267:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
7 changes: 0 additions & 7 deletions test/execution-tests/babel-es6resolveParent/typings.json

This file was deleted.

2 changes: 1 addition & 1 deletion test/execution-tests/basic-happypack/debug.log
@@ -1 +1 @@
[1010/114419.485:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145709.094:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
7 changes: 0 additions & 7 deletions test/execution-tests/basic-happypack/typings.json

This file was deleted.

2 changes: 1 addition & 1 deletion test/execution-tests/basic/debug.log
@@ -1 +1 @@
[1010/114410.823:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145703.043:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
7 changes: 0 additions & 7 deletions test/execution-tests/basic/typings.json

This file was deleted.

2 changes: 1 addition & 1 deletion test/execution-tests/nodeResolution/debug.log
@@ -1 +1 @@
[1010/114426.940:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145715.697:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
7 changes: 0 additions & 7 deletions test/execution-tests/nodeResolution/typings.json

This file was deleted.

5 changes: 0 additions & 5 deletions test/execution-tests/run-tests.js
Expand Up @@ -80,11 +80,6 @@ function runTests(testName) {

var karmaConfPath = path.join(testPath, 'karma.conf.js');

if (pathExists(path.join(testPath, 'typings.json'))) {
console.log('Installing typings into ' + testPath);
execSync('typings install', { cwd: testPath, stdio: 'inherit' });
}

if (pathExists(path.join(testPath, 'package.json'))) {
console.log('yarn install into ' + testPath);
execSync('yarn install', { cwd: testPath, stdio: 'inherit' });
Expand Down
2 changes: 1 addition & 1 deletion test/execution-tests/simpleDependency/debug.log
@@ -1 +1 @@
[1010/114434.682:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
[1019/145722.251:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
7 changes: 0 additions & 7 deletions test/execution-tests/simpleDependency/typings.json

This file was deleted.

0 comments on commit ea39a87

Please sign in to comment.