-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pyramid Go support empty config (Fixes #163)
- Loading branch information
1 parent
69ee47c
commit 32d340d
Showing
2 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { getDefaultConfig, getVariantList, makeGameObject } from "../game_map"; | ||
|
||
test.each(getVariantList())("Build %s from default config", (variant) => { | ||
const default_config = getDefaultConfig(variant); | ||
|
||
// This is a dummy expectation | ||
// This test is basically a success if neither function call throws an error | ||
expect(makeGameObject(variant, default_config)).toBeDefined(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters