summaryrefslogtreecommitdiff
path: root/tests/integration/node_compat_tests.rs
blob: c4c4ba1fa0c185dd3d4cd369e525b9668b7a0112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.

use test_util as util;
use test_util::itest;
use util::env_vars_for_npm_tests;

itest!(node_test_module {
  args: "test node/test.js",
  output: "node/test.out",
  envs: env_vars_for_npm_tests(),
  exit_code: 1,
  http_server: true,
});

itest!(node_test_module_no_sanitizers {
  args: "test -A --no-check node/test_no_sanitizers/test.js",
  output: "node/test_no_sanitizers/test.out",
  envs: env_vars_for_npm_tests(),
  exit_code: 0,
  // TODO(mmastrac): fix exit sanitizer part of test
  // exit_code: 123,
  http_server: true,
});