1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00
This commit is contained in:
Daniel Barber 2018-05-13 18:15:01 -04:00
parent c0dc3f44eb
commit c2c6b81cb8
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8
4 changed files with 2 additions and 4 deletions

View File

@ -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,

View File

@ -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) {

View File

@ -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"},

View File

@ -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"))