github.com/hernad/nomad@v1.6.112/ui/mirage/factories/region.js (about) 1 /** 2 * Copyright (c) HashiCorp, Inc. 3 * SPDX-License-Identifier: MPL-2.0 4 */ 5 6 import { Factory } from 'ember-cli-mirage'; 7 8 export default Factory.extend({ 9 id: () => { 10 throw new Error('The region factory will not generate IDs!'); 11 }, 12 });