Commit 0711ae4b authored by Julien Enselme's avatar Julien Enselme

fixup! chore(test): switch from karma to jest

parent 53647ba0
Pipeline #75263966 failed with stages
in 1 minute and 45 seconds
......@@ -23,12 +23,12 @@
<div id="counter-countainer">
<canvas ref="counterCanvas"
if.bind="!specialActionInProgress"
class="centered-block ${displayCounter ? '' : 'hidden'}"
class="counter centered-block ${displayCounter ? '' : 'hidden'}"
width="300"
height="300"></canvas>
<canvas ref="specialActionCounterCanvas"
if.bind="specialActionInProgress"
class="centered-block ${displayCounter ? '' : 'hidden'}"
class="counter centered-block ${displayCounter ? '' : 'hidden'}"
width="300"
height="300"></canvas>
</div>
......
......@@ -2,8 +2,7 @@
aot-counter {
#counter,
#counter-special-action {
.counter {
max-height: $play-secondary-height - 3vh;
max-width: 100%;
opacity: 0.8;
......
......@@ -69,6 +69,8 @@ describe('counter', () => {
jest.spyOn(sut, 'start');
jest.spyOn(window, 'clearInterval');
throw new Error();
mockedState.game.your_turn = true;
mockedState.game.game_over = true;
mockedApi.play();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment