2021-10-05 01:35:55 +02:00
|
|
|
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
|
|
|
|
|
|
|
use crate::itest;
|
|
|
|
|
2021-10-06 19:07:04 +02:00
|
|
|
itest!(globals {
|
|
|
|
args: "run --compat --unstable --allow-read --allow-env compat/globals.ts",
|
|
|
|
output: "compat/globals.out",
|
|
|
|
});
|
|
|
|
|
2021-10-05 01:35:55 +02:00
|
|
|
itest!(fs_promises {
|
|
|
|
args: "run --compat --unstable -A compat/fs_promises.js",
|
|
|
|
output: "compat/fs_promises.out",
|
|
|
|
});
|
|
|
|
|
2021-10-06 01:25:13 +02:00
|
|
|
itest!(node_prefix_fs_promises {
|
|
|
|
args: "run --compat --unstable -A compat/node_fs_promises.js",
|
|
|
|
output: "compat/fs_promises.out",
|
|
|
|
});
|
|
|
|
|
2021-10-05 01:35:55 +02:00
|
|
|
itest!(existing_import_map {
|
2021-10-06 19:07:04 +02:00
|
|
|
args: "run --compat --unstable --import-map compat/existing_import_map.json compat/fs_promises.js",
|
2021-10-05 01:35:55 +02:00
|
|
|
output: "compat/existing_import_map.out",
|
|
|
|
exit_code: 1,
|
|
|
|
});
|