We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3dcabe commit 288701cCopy full SHA for 288701c
tests/tests/App/App.js
@@ -0,0 +1,24 @@
1
+var gui = require('nw.gui');
2
+var assert = require('assert');
3
+
4
+describe('gui.App', function() {
5
+ describe('manifest', function() {
6
+ it('`gui.App.manifest` should equle to value of package.json', function() {
7
+ assert.equal(gui.App.manifest.name, 'nw-tests');
8
+ })
9
10
+ it('have window', function() {
11
+ assert.equal(typeof gui.App.manifest.window, 'object');
12
13
14
+ it('have main', function() {
15
+ assert.equal(typeof gui.App.manifest.main, 'string');
16
+ assert.equal(gui.App.manifest.main, 'index.html');
17
18
19
+ it('have dependencies', function() {
20
+ assert.equal(typeof gui.App.manifest.dependencies, 'object');
21
22
23
24
+})
0 commit comments