mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
cli moving to a phonegap folder, local to the proj and tests
This commit is contained in:
+13
-2
@@ -1,6 +1,6 @@
|
||||
util = require('util')
|
||||
util = require 'util'
|
||||
exec = require('child_process').exec
|
||||
|
||||
path = require 'path'
|
||||
|
||||
exports['default example project is generated'] = (test) ->
|
||||
test.expect 1
|
||||
@@ -8,3 +8,14 @@ exports['default example project is generated'] = (test) ->
|
||||
test.ok true, "this assertion should pass" unless error?
|
||||
test.done()
|
||||
|
||||
exports['default example project has a ./.phonegap folder'] = (test) ->
|
||||
test.expect 1
|
||||
path.exists './example/.phonegap', (exists) ->
|
||||
test.ok exists, 'the phonegap folder exists'
|
||||
test.done()
|
||||
|
||||
exports['default example project has a /phonegap folder'] = (test) ->
|
||||
test.expect 1
|
||||
path.exists './example/phonegap', (exists) ->
|
||||
test.ok exists, 'the other phonegap folder exists'
|
||||
test.done()
|
||||
|
||||
Reference in New Issue
Block a user