Updated the style of the examples

* const/let instead of var
* classes
* pass our own eslint checks
This commit is contained in:
Steve Gravrock
2022-09-17 12:00:20 -07:00
parent 59848ca151
commit 44f331f43d
8 changed files with 78 additions and 79 deletions

View File

@@ -3,7 +3,7 @@ beforeEach(function () {
toBePlaying: function () {
return {
compare: function (actual, expected) {
var player = actual;
const player = actual;
return {
pass: player.currentlyPlayingSong === expected && player.isPlaying