mirror of
https://github.com/captbaritone/webamp.git
synced 2026-08-02 15:03:53 +00:00
Remove try/catch blocks
There were only here so that we could check in the tests before the code actually worked
This commit is contained in:
parent
ea3a7b4736
commit
3debd3704e
1 changed files with 4 additions and 14 deletions
|
|
@ -69,12 +69,7 @@ describe("can use basic operators", () => {
|
|||
|
||||
versions.forEach(version => {
|
||||
test(`with basic test bytecode compiled by ${version}`, async () => {
|
||||
try {
|
||||
await runFile(`./reference/maki_compiler/${version}/basicTests.maki`);
|
||||
} catch (e) {
|
||||
// Uncomment this next line to find the next bug to work on.
|
||||
console.error(e);
|
||||
}
|
||||
await runFile(`./reference/maki_compiler/${version}/basicTests.maki`);
|
||||
expect(mockMessageBox.mock.calls).toEqual(
|
||||
[
|
||||
"2 + 2 = 4",
|
||||
|
|
@ -140,14 +135,9 @@ describe("can use basic operators", () => {
|
|||
});
|
||||
|
||||
test(`with simple functions test bytecode compiled by ${version}`, async () => {
|
||||
try {
|
||||
await runFile(
|
||||
`./reference/maki_compiler/${version}/simpleFunctions.maki`
|
||||
);
|
||||
} catch (e) {
|
||||
// Uncomment this next line to find the next bug to work on.
|
||||
console.error(e);
|
||||
}
|
||||
await runFile(
|
||||
`./reference/maki_compiler/${version}/simpleFunctions.maki`
|
||||
);
|
||||
expect(mockMessageBox.mock.calls).toEqual(
|
||||
[
|
||||
"simple custom function",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue