Skip to content

Commit

Permalink
Fixed file references and updates tests for tslint updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Spencer committed Oct 25, 2016
1 parent 857cf73 commit d123fbc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require(require('path').join(__dirname, 'teamcity.js'));
module.exports = require(require('path').join(__dirname, 'TSHintTeamcityFormatter.js'));
2 changes: 1 addition & 1 deletion test/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = function (grunt) {
tslint: {
options: {
configuration: grunt.file.readJSON('./fixtures/tslint.json'),
formatter: path.resolve('./../teamcity.js')
formatter: path.resolve('./../TSHintTeamcityFormatter.js')
},
files: {
src: ['fixtures/files/failureA.test.ts', 'fixtures/files/failureB.test.ts']
Expand Down
18 changes: 9 additions & 9 deletions test/fixtures/files/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ Running "tslint:files" (tslint) task
>> ##teamcity[testStarted name='(2,6) variable name must be in camelcase or uppercase']
>> ##teamcity[testFailed name='(2,6) variable name must be in camelcase or uppercase' message='|[variable-name|] variable name must be in camelcase or uppercase' detailed='']
>> ##teamcity[testFinished name='(2,6) variable name must be in camelcase or uppercase']
>> ##teamcity[testStarted name='(4,3) duplicate key |'a|'']
>> ##teamcity[testFailed name='(4,3) duplicate key |'a|'' message='|[no-duplicate-key|] duplicate key |'a|'' detailed='']
>> ##teamcity[testFinished name='(4,3) duplicate key |'a|'']
>> ##teamcity[testStarted name='(5,3) missing semicolon']
>> ##teamcity[testFailed name='(5,3) missing semicolon' message='|[semicolon|] missing semicolon' detailed='']
>> ##teamcity[testFinished name='(5,3) missing semicolon']
>> ##teamcity[testStarted name='(4,3) Duplicate key |'a|'']
>> ##teamcity[testFailed name='(4,3) Duplicate key |'a|'' message='|[no-duplicate-key|] Duplicate key |'a|'' detailed='']
>> ##teamcity[testFinished name='(4,3) Duplicate key |'a|'']
>> ##teamcity[testStarted name='(5,3) Missing semicolon']
>> ##teamcity[testFailed name='(5,3) Missing semicolon' message='|[semicolon|] Missing semicolon' detailed='']
>> ##teamcity[testFinished name='(5,3) Missing semicolon']
>> ##teamcity[testStarted name='(6,2) file should end with a newline']
>> ##teamcity[testFailed name='(6,2) file should end with a newline' message='|[eofline|] file should end with a newline' detailed='']
>> ##teamcity[testFinished name='(6,2) file should end with a newline']
>> ##teamcity[testSuiteFinished name='TSLint: fixtures/files/failureA.test.ts']

>> ##teamcity[testSuiteStarted name='TSLint: fixtures/files/failureB.test.ts']
>> ##teamcity[testStarted name='(2,11) missing semicolon']
>> ##teamcity[testFailed name='(2,11) missing semicolon' message='|[semicolon|] missing semicolon' detailed='']
>> ##teamcity[testFinished name='(2,11) missing semicolon']
>> ##teamcity[testStarted name='(2,11) Missing semicolon']
>> ##teamcity[testFailed name='(2,11) Missing semicolon' message='|[semicolon|] Missing semicolon' detailed='']
>> ##teamcity[testFinished name='(2,11) Missing semicolon']
>> ##teamcity[testStarted name='(3,9) missing whitespace']
>> ##teamcity[testFailed name='(3,9) missing whitespace' message='|[whitespace|] missing whitespace' detailed='']
>> ##teamcity[testFinished name='(3,9) missing whitespace']
Expand Down

0 comments on commit d123fbc

Please sign in to comment.