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:
parent
a2b02381fc
commit
7017828ae5
2 changed files with 25 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
"main": "bin/lib/index.js",
|
"main": "bin/lib/index.js",
|
||||||
"typings": "bin/lib/index.d.ts",
|
"typings": "bin/lib/index.d.ts",
|
||||||
"scripts": {
|
"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/ \\;",
|
"copytestdata": "find tests/output/* -type d -exec cp -R {} bin/tests/output/ \\;",
|
||||||
"postinstall": "typings install",
|
"postinstall": "typings install",
|
||||||
"test": "npm run cov && npm run covreport",
|
"test": "npm run cov && npm run covreport",
|
||||||
|
|
24
tools/mujs/tests/output/empty/Mu.out.json
Normal file
24
tools/mujs/tests/output/empty/Mu.out.json
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue