summaryrefslogtreecommitdiffstats
path: root/devtools/client/projecteditor/test/browser_projecteditor_init.js
blob: 3ee947e0d23304087f28c05ce2c550c7a6b9c507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* vim: set ts=2 et sw=2 tw=80: */
/* Any copyright is dedicated to the Public Domain.
 http://creativecommons.org/publicdomain/zero/1.0/ */

"use strict";

// Test that projecteditor can be initialized.

function test() {
  info("Initializing projecteditor");
  addProjectEditorTab().then((projecteditor) => {
    ok(projecteditor, "Load callback has been called");
    ok(projecteditor.shells, "ProjectEditor has shells");
    ok(projecteditor.project, "ProjectEditor has a project");
    finish();
  });
}