Skip to content

Commit

Permalink
fix setup-test-framework-test (#3773)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronabramov authored and cpojer committed Jun 9, 2017
1 parent 0d43300 commit 81e9ba2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ describe('--setupTestFrameworkScriptFile setup.js', () => {
'runner_patch-test.js',
]);

expect(result.status).toBe(0);
expect(result.json.numTotalTests).toBe(1);
expect(result.json.numPassedTests).toBe(1);
expect(result.json.testResults.length).toBe(1);
expect(result.status).toBe(0);
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

describe('setupFile', () => {
it('patches jasmine in setup file', () => {
expect(global.jasmineIsDefined).toBe(true);
expect(global.describeDefined).toBe(true);
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

global.jasmineIsDefined = !!global.jasmine;
global.describeDefined = !!global.describe;

0 comments on commit 81e9ba2

Please sign in to comment.