mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-28 04:46:57 -04:00
21 lines
341 B
JavaScript
21 lines
341 B
JavaScript
'use strict';
|
|
|
|
var _ = require('../src/scripts/vendor/minified/minified')._;
|
|
var idCounter = 0;
|
|
|
|
function fixture(type, config) {
|
|
|
|
var basic = {
|
|
type: type,
|
|
label: type + '-label',
|
|
appKey: 'appKey-' + idCounter,
|
|
id: 'id-' + idCounter
|
|
};
|
|
|
|
idCounter++;
|
|
|
|
return _.extend({}, basic, config);
|
|
}
|
|
|
|
module.exports = fixture;
|