1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-20 22:34:46 -05:00
denoland-deno/tests/specs/npm/node_modules_dir_with_deps/main.js
Leo Kettmeir 42b71d82db
chore(lint): add .out file reference checker (#27078)
Co-authored-by: David Sherret <dsherret@gmail.com>
2024-11-26 20:53:20 -08:00

12 lines
325 B
JavaScript

import chalk from "npm:chalk@4";
import { expect } from "npm:chai@4.3";
console.log(chalk.green("chalk cjs loads"));
const timeout = setTimeout(() => {}, 0);
expect(timeout).to.be.a("number");
clearTimeout(timeout);
const interval = setInterval(() => {}, 100);
expect(interval).to.be.a("number");
clearInterval(interval);