Add a baseline for the empty test

This adds a baseline for the empty module test, and it passes.
Unfortunately, because module names are absolute file paths, this
baseline file has my machine's specific path embedded in it.  I want
to lock these in so they are passing as I make progress.  Sometime
later this morning I'll fix the module naming to be "relative" and
more Mu-friendly, and this issue will go away.
This commit is contained in:
joeduffy 2017-01-10 08:15:34 -08:00
parent a2b02381fc
commit 7017828ae5
2 changed files with 25 additions and 1 deletions

View file

@ -7,7 +7,7 @@
"main": "bin/lib/index.js",
"typings": "bin/lib/index.d.ts",
"scripts": {
"build": "tsc && tslint cmd/*.ts cmd/**/*.ts lib/*.ts lib/**/*.ts && npm run copytestdata",
"build": "tsc && tslint cmd/*.ts cmd/**/*.ts lib/*.ts lib/**/*.ts tests/*.ts tests/**/*.ts && npm run copytestdata",
"copytestdata": "find tests/output/* -type d -exec cp -R {} bin/tests/output/ \\;",
"postinstall": "typings install",
"test": "npm run cov && npm run covreport",

View file

@ -0,0 +1,24 @@
{
"name": "TODO",
"modules": {
"/Users/joeduffy/dev/code/src/github.com/marapongo/mu/tools/mujs/bin/tests/output/empty/empty.ts": {
"kind": "Module",
"name": {
"kind": "Identifier",
"ident": "/Users/joeduffy/dev/code/src/github.com/marapongo/mu/tools/mujs/bin/tests/output/empty/empty.ts"
},
"members": {},
"loc": {
"file": "/Users/joeduffy/dev/code/src/github.com/marapongo/mu/tools/mujs/bin/tests/output/empty/empty.ts",
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 0
}
}
}
}
}