Skip to content

Commit

Permalink
Fix eslint errors in app/models/size-calculation-result.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pgengler committed Mar 24, 2021
1 parent 173ea3b commit b50ba43
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions app/models/size-calculation-result.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import { alias } from '@ember/object/computed';
import DS from 'ember-data';
import Model, { attr, belongsTo } from '@ember-data/model';

export default DS.Model.extend({
succeeded: DS.attr('boolean'),
errorMessage: DS.attr('string'),
createdAt: DS.attr('date'),
output: DS.attr('string'),
export default class extends Model {
@attr('boolean') succeeded;
@attr('string') errorMessage;
@attr('date') createdAt;
@attr('string') output;

version: DS.belongsTo('version'),
testsRunAt: alias('createdAt'),
@belongsTo('version') version;

outputFormat: 'json',
});
get testsRunAt() {
return this.createdAt;
}

outputFormat = 'json';
}

0 comments on commit b50ba43

Please sign in to comment.