Arsene Wenger was pleased with Arsenal’s mental strength as they beat Swansea after being a goal behind.