chg: pkg: fix all eslint issues - & add example of the testing env #10
This commit is contained in:
@@ -212,7 +212,7 @@ const useServerCommunication = (gameAssoc, gameInherited, opponentName, isEnvDev
|
|||||||
*/
|
*/
|
||||||
if (!endRef.current && (!isTrueRestoredRef.current || 0 !== opponentLastSeenRef.current)) {
|
if (!endRef.current && (!isTrueRestoredRef.current || 0 !== opponentLastSeenRef.current)) {
|
||||||
hideOverlay();
|
hideOverlay();
|
||||||
sounds.current.starting.play();
|
sounds.current.starting.play();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,25 @@
|
|||||||
|
|
||||||
MineSeeker-specific testing setup and workflows. For general PHPUnit/Symfony testing, see [Symfony Testing Docs](https://symfony.com/doc/current/testing.html).
|
MineSeeker-specific testing setup and workflows. For general PHPUnit/Symfony testing, see [Symfony Testing Docs](https://symfony.com/doc/current/testing.html).
|
||||||
|
|
||||||
|
## Example of the current tests
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ bin/phpunit (master->origin/master|✚1…2⚑1)
|
||||||
|
PHPUnit 13.1.7 by Sebastian Bergmann and contributors.
|
||||||
|
|
||||||
|
Runtime: PHP 8.5.5
|
||||||
|
Configuration: /var/www/splendid/Mine/phpunit.dist.xml
|
||||||
|
|
||||||
|
................................................................. 65 / 71 ( 91%)
|
||||||
|
...... 71 / 71 (100%)
|
||||||
|
|
||||||
|
Time: 00:07.319, Memory: 86.50 MB
|
||||||
|
|
||||||
|
OK (71 tests, 227 assertions)
|
||||||
|
|
||||||
|
Faker seed used: 918823
|
||||||
|
```
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user