mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
47f7bed677
1. Generally we should prefer to use the `log` crate. 2. I very often accidentally commit `eprintln`s. When we should use `println` or `eprintln`, it's not too bad to be a bit more verbose and ignore the lint rule.
6 lines
115 B
JavaScript
6 lines
115 B
JavaScript
Deno.test("basic test", () => {
|
|
const value = 1 + 1;
|
|
if (value !== 2) {
|
|
throw new Error("failed");
|
|
}
|
|
});
|