Skip to content

Commit

Permalink
Change tests
Browse files Browse the repository at this point in the history
  • Loading branch information
caleballdrin committed Nov 7, 2023
1 parent 6a1d149 commit 97ea318
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"karma": "^1.5.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-jasmine": "^1.1.0",
"karma-jasmine": "1.1.0",
"karma-mocha-reporter": "^2.0.4",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.2",
Expand Down
3 changes: 1 addition & 2 deletions test/spec/directives/block.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,10 @@ describe('Directive: blocks', () => {
});

it('resets answer if its not found in the campus database', () => {
//$scope.answer = 'SFSU';
$compile('<campus-question></campus-question>')($scope);
$scope.$digest();

expect($scope.answer).toBe('');
expect($scope.answer).toBe(undefined);
});
});

Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==

"@cruglobal/[email protected]":
"@cruglobal/cru-payments@^1.2.4":
version "1.2.4"
resolved "https://registry.yarnpkg.com/@cruglobal/cru-payments/-/cru-payments-1.2.4.tgz#2794be3141c40232539b18581d1038648470ac2d"
integrity sha512-hbw/e4T0lq20XCDGDsuhl8wr/8ruhhi94qcF7DuLh5HyGuwaaVvxi0yDRj9irsL6CIcsmgwDimOmOlvyD9BwaA==
Expand Down Expand Up @@ -9405,10 +9405,10 @@ karma-coverage-istanbul-reporter@^3.0.3:
istanbul-reports "^3.0.2"
minimatch "^3.0.4"

karma-jasmine@^1.1.0:
[email protected]:
version "1.1.0"
resolved "https://registry.yarnpkg.com/karma-jasmine/-/karma-jasmine-1.1.0.tgz#22e4c06bf9a182e5294d1f705e3733811b810acf"
integrity sha1-IuTAa/mhguUpTR9wXjczgRuBCs8=
integrity sha512-4LYh+9VYyHJ+2sVUgJJtT/+T5vvSi4cuh+gpgiEYxS0f2RoML8xup35CVNDYxPlEXjXrsTY2708Ceiyvs4LypQ==

karma-mocha-reporter@^2.0.4:
version "2.2.3"
Expand Down

0 comments on commit 97ea318

Please sign in to comment.