generated from nhcarrigan/template
20 lines
448 B
TypeScript
20 lines
448 B
TypeScript
|
/**
|
||
|
* @copyright nhcarrigan
|
||
|
* @license Naomi's Public License
|
||
|
* @author Naomi Carrigan
|
||
|
*/
|
||
|
import { describe, it, expect } from "vitest";
|
||
|
import { Play } from "../../src/config/Play";
|
||
|
|
||
|
describe("play objects", () => {
|
||
|
it("should have unique names", () => {
|
||
|
expect.assertions(1);
|
||
|
const set = new Set(
|
||
|
Play.map((p) => {
|
||
|
return p.name;
|
||
|
}),
|
||
|
);
|
||
|
expect(set, "are not unique").toHaveLength(Play.length);
|
||
|
});
|
||
|
});
|