cm-chess 3.5.2 → 3.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cm-chess",
3
- "version": "3.5.2",
3
+ "version": "3.5.3",
4
4
  "description": "It's like chess.js, but in ES6 and can handle variations (tree-structured move history)",
5
5
  "main": "./src/Chess.js",
6
6
  "type": "module",
package/test/TestChess.js CHANGED
@@ -13,7 +13,7 @@ describe("Chess", function () {
13
13
  assert.true(result)
14
14
  const chess2 = new Chess({fen: "rnbqkbnr/ppp2ppp/8/3pp3/4PP2/8/PPPP2PP/RNBQKBNR w KQkq d6 0 3"})
15
15
  const result2 = chess2.move("Ne2")
16
- assert.true(result)
16
+ assert.true(result2)
17
17
  })
18
18
 
19
19
  it("should create empty Chess", () => {