-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c07667
commit fbaad9d
Showing
11 changed files
with
9 additions
and
1,223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
Please: | ||
- [ ] Do not include the compiled `.js`, `.js.map`, or `.d.ts` in your pull request as it makes it harder to merge your changes. | ||
- [ ] Make your pull request atomic, fixing one issue at a time unless there are many relevant issues that cannot be decoupled. | ||
- [ ] Provide a test case & update the documentation in the `Readme.md` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ yarn-error.log | |
.idea | ||
*~ | ||
.#* | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
import { assert } from "chai"; | ||
import { exec, getDefaultArgs } from "../typescript-json-schema"; | ||
import * as path from "path"; | ||
|
||
describe("error", () => { | ||
it("error-check", () => { | ||
assert.throws(() => { | ||
// This needs a valid path. "dates" chosen basically at random | ||
exec(path.resolve(__dirname, "./programs/dates/"), "MyObject", getDefaultArgs()); | ||
exec("test/programs/dates/", "MyObject", getDefaultArgs()); | ||
}, Error, "No output definition. Probably caused by errors prior to this?"); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.