refactor(tests): migrate npm itests to specs (#25764)

Towards https://github.com/denoland/deno/issues/25241
This commit is contained in:
Satya Rohith 2024-09-21 02:08:32 +05:30 committed by GitHub
parent 3e053f8f06
commit 94bdebe399
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 196 additions and 39 deletions

View file

@ -0,0 +1,14 @@
{
"tempDir": true,
"steps": [
{
"args": "install",
"output": "install.out"
},
{
"args": "run -A index.js",
"output": "index.out",
"exitCode": 0
}
]
}

View file

@ -0,0 +1,3 @@
import * as d from "define-properties";
console.log(typeof d.default === "function", "it works");

View file

@ -0,0 +1 @@
true it works

View file

@ -0,0 +1,23 @@
[UNORDERED_START]
Download http://localhost:4260/define-properties
Download http://localhost:4260/has-property-descriptors
Download http://localhost:4260/object-keys
Download http://localhost:4260/get-intrinsic
Download http://localhost:4260/function-bind
Download http://localhost:4260/has
Download http://localhost:4260/has-symbols
Download http://localhost:4260/define-properties/define-properties-1.2.0.tgz
Download http://localhost:4260/has-property-descriptors/has-property-descriptors-1.0.0.tgz
Download http://localhost:4260/object-keys/object-keys-1.1.1.tgz
Download http://localhost:4260/get-intrinsic/get-intrinsic-1.2.0.tgz
Download http://localhost:4260/has-symbols/has-symbols-1.0.3.tgz
Download http://localhost:4260/has/has-1.0.3.tgz
Download http://localhost:4260/function-bind/function-bind-1.1.1.tgz
Initialize has@1.0.3
Initialize define-properties@1.2.0
Initialize has-property-descriptors@1.0.0
Initialize object-keys@1.1.1
Initialize get-intrinsic@1.2.0
Initialize function-bind@1.1.1
Initialize has-symbols@1.0.3
[UNORDERED_END]

View file

@ -0,0 +1,7 @@
{
"name": "foo",
"type": "module",
"dependencies": {
"define-properties": "^1.2.0"
}
}