diff --git a/assets/css/_move_list.scss b/assets/css/_move_list.scss index ab3eabb..a1ccc1c 100644 --- a/assets/css/_move_list.scss +++ b/assets/css/_move_list.scss @@ -5,8 +5,8 @@ .move-list__line-number { color: mix($background-color, $foreground-color); - font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; + font-variant-numeric: tabular-nums; } .move-list__header--white, diff --git a/assets/js/components/move-list.js b/assets/js/components/move-list.js index 759b70d..c6bc734 100644 --- a/assets/js/components/move-list.js +++ b/assets/js/components/move-list.js @@ -18,7 +18,7 @@ const pieceToNotation = (piece) => { const moveClass = (move) => { return classNames("move-list__move", "move-list__move--" + move.piece.colour); -} +}; const renderMove = (move) => { if (move != undefined) { diff --git a/test/chess/store/move_test.exs b/test/chess/store/move_test.exs index 3295034..ae2a9da 100644 --- a/test/chess/store/move_test.exs +++ b/test/chess/store/move_test.exs @@ -78,7 +78,6 @@ defmodule Chess.Store.MoveTest do refute changeset.valid? end - test "translates a move" do move = %Move{ piece: %{"type" => "pawn", "colour" => "white"}, diff --git a/test/features/moves_test.exs b/test/features/moves_test.exs index f64a7dd..ab91262 100644 --- a/test/features/moves_test.exs +++ b/test/features/moves_test.exs @@ -26,7 +26,6 @@ defmodule Chess.Features.MovesTest do |> assert_has(square_selected("f4-r1")) |> assert_has(square_containing("f4-r1", "white.pawn")) - # TODO: Random failure, Investigate! |> click(css("#f4-r3")) |> assert_has(square_containing("f4-r3", "white.pawn")) |> refute_has(square_containing("f4-r1", "white.pawn"))