import { observable } from "mobx";

export default class ProjectStore {
  @observable name = "";
  @observable tests = [];
  @observable suite = [];
}

import { observable } from "mobx";

export default class ProjectStore {
  @observable name = "";
  @observable tests = [];
  @observable suite = [];

  constructor(name) {
    this.name = name;
  }
}

set the name in the constructor