open-vault/ui/mirage/factories/server.js

10 lines
197 B
JavaScript

import { Factory } from 'ember-cli-mirage';
export default Factory.extend({
address: '127.0.0.1',
node_id: (i) => `raft_node_${i}`,
protocol_version: '3',
voter: true,
leader: true,
});