Skip to content

Commit

Permalink
Merge pull request #16 from FrenjaminBanklin/issue/9-player-accessibi…
Browse files Browse the repository at this point in the history
…lity

Player Accessibility
  • Loading branch information
clpetersonucf authored Jul 24, 2019
2 parents a351949 + dcc8eaa commit 8d665ad
Show file tree
Hide file tree
Showing 5 changed files with 635 additions and 123 deletions.
4 changes: 2 additions & 2 deletions src/creator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('Creator', () => {

test('initExistingWidget sets up environment correctly', () => {
var demo = require('./demo.json')
var $scope = {
var $scope = {
$apply: jest.fn().mockImplementation(fn => {
if(angular.isFunction(fn)) fn()
}),
Expand Down Expand Up @@ -76,7 +76,7 @@ describe('Creator', () => {

test('onSaveClicked saves correctly', () => {
var demo = require('./demo.json')
var $scope = {
var $scope = {
$apply: jest.fn().mockImplementation(fn => {
if(angular.isFunction(fn)) fn()
}),
Expand Down
Loading

0 comments on commit 8d665ad

Please sign in to comment.