{"size": 536, "ext": "js", "max_stars_repo_path": "__tests__/app.js", "max_stars_repo_name": "reflog/generator-mattermost-plugin", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "__tests__/app.js", "max_issues_repo_name": "reflog/generator-mattermost-plugin", "max_issues_repo_issues_event_min_datetime": "2021-03-10T07:23:47.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-11T03:01:28.000Z", "max_forks_repo_path": "__tests__/app.js", "max_forks_repo_name": "reflog/generator-mattermost-plugin", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 23.3043478261, "max_line_length": 79, "alphanum_fraction": 0.5764925373}
"use strict";
const path = require("path");
const assert = require("yeoman-assert");
const helpers = require("yeoman-test");

describe("generator-mattermost-plugin:app", () => {
  beforeAll(() => {
    return helpers.run(path.join(__dirname, "../generators/app")).withPrompts({
      name: "t",
      server: true,
      webapp: false,
      settings: false,
      id: "a.b.c",
      description: "test"
    });
  });

  it("creates files", () => {
    assert.file(["t/go.mod"]);
    assert.noFile(["t/webapp/package.json"]);
  });
});
