Update tools/tests/old/app-with-private test app.

This commit is contained in:
Ben Newman
2017-11-08 17:14:11 -05:00
parent 853cf81367
commit eb8cf102cd
8 changed files with 117 additions and 5 deletions

View File

@@ -0,0 +1 @@
node_modules/

View File

@@ -0,0 +1,17 @@
# This file contains information which helps Meteor properly upgrade your
# app when you run 'meteor update'. You should check it into version control
# with your project.
notices-for-0.9.0
notices-for-0.9.1
0.9.4-platform-file
notices-for-facebook-graph-api-2
1.2.0-standard-minifiers-package
1.2.0-meteor-platform-split
1.2.0-cordova-changes
1.2.0-breaking-changes
1.3.0-split-minifiers-package
1.4.0-remove-old-dev-bundle-link
1.4.1-add-shell-server-package
1.4.3-split-account-service-packages
1.5-add-dynamic-import-package

View File

@@ -1 +1,7 @@
1j3g9zflbqmlt1wjoa05
# This file contains a token that is unique to your project.
# Check it into your repository along with the rest of this directory.
# It can be used for purposes such as:
# - ensuring you don't accidentally deploy one app on top of another
# - providing package authors with aggregated statistics
lv1sfr4dcirq.amsexeltj5s

View File

@@ -1,9 +1,20 @@
# Meteor packages used by this project, one per line.
# Check this file (and the other files in this directory) into your repository.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.
autopublish
insecure
meteor-base # Packages every Meteor app needs to have
mobile-experience # Packages for a great mobile UX
mongo # The database Meteor supports right now
static-html # Define static page content in .html files
reactive-var # Reactive variable for tracker
tracker # Meteor's client-side reactive programming library
standard-minifier-css # CSS minifier run for production mode
standard-minifier-js # JS minifier run for production mode
es5-shim # ECMAScript 5 compatibility for older browsers
ecmascript # Enable ECMAScript2015+ syntax in app code
shell-server # Server-side component of the `meteor shell` command
test-package
standard-app-packages

View File

@@ -0,0 +1,2 @@
server
browser

View File

@@ -0,0 +1,64 @@
allow-deny@1.1.0
autoupdate@1.3.12
babel-compiler@6.24.7
babel-runtime@1.1.1
base64@1.0.10
binary-heap@1.0.10
blaze-tools@1.0.10
boilerplate-generator@1.3.1
caching-compiler@1.1.9
caching-html-compiler@1.1.2
callback-hook@1.0.10
check@1.2.5
ddp@1.4.0
ddp-client@2.2.0
ddp-common@1.3.0
ddp-server@2.1.1
diff-sequence@1.0.7
dynamic-import@0.2.1
ecmascript@0.9.0
ecmascript-runtime@0.5.0
ecmascript-runtime-client@0.5.0
ecmascript-runtime-server@0.5.0
ejson@1.1.0
es5-shim@4.6.15
geojson-utils@1.0.10
hot-code-push@1.0.4
html-tools@1.0.11
htmljs@1.0.11
http@1.3.0
id-map@1.0.9
launch-screen@1.1.1
livedata@1.0.18
logging@1.1.19
meteor@1.8.1
meteor-base@1.2.0
minifier-css@1.2.16
minifier-js@2.2.1
minimongo@1.4.1
mobile-experience@1.0.5
mobile-status-bar@1.0.14
modules@0.11.0
modules-runtime@0.9.0
mongo@1.3.0
mongo-dev-server@1.1.0
mongo-id@1.0.6
npm-mongo@2.2.33
ordered-dict@1.0.9
promise@0.10.0
random@1.0.10
reactive-var@1.0.11
reload@1.1.11
retry@1.0.9
routepolicy@1.0.12
shell-server@0.3.0
spacebars-compiler@1.1.3
standard-minifier-css@1.3.5
standard-minifier-js@2.2.1
static-html@1.2.2
templating-tools@1.1.2
tracker@1.1.3
underscore@1.0.10
url@1.1.0
webapp@1.4.0
webapp-hashing@1.0.9

View File

@@ -0,0 +1,11 @@
{
"name": "app-with-private",
"private": true,
"scripts": {
"start": "meteor run"
},
"dependencies": {
"babel-runtime": "^6.26.0",
"meteor-node-stubs": "^0.3.2"
}
}

View File

@@ -114,7 +114,7 @@ var runTest = function () {
unregisteredExtensionPath = files.pathJoin(
tmpOutputDir, "programs", "server", item.assets["test.notregistered"]);
}
if (item.path === "app/main.js") {
if (item.path === "app/app.js") {
testTxtPath = files.pathJoin(
tmpOutputDir, "programs", "server", item.assets['test.txt']);
nestedTxtPath = files.pathJoin(