import Chart, { KVs } from '../core.js'; import { name, schema } from './entities/test-unique.js'; /** * For testing */ // eslint-disable-next-line import/no-default-export export default class TestUniqueChart extends Chart { constructor() { super(name, schema); } protected async tickMajor(): Promise>> { return {}; } protected async tickMinor(): Promise>> { return {}; } public async uniqueIncrement(key: string): Promise { await this.commit({ foo: [key], }); } }