diff --git a/userTests/test262/build.sh b/userTests/test262/build.sh new file mode 100755 index 0000000..47303d3 --- /dev/null +++ b/userTests/test262/build.sh @@ -0,0 +1,10 @@ +rm -rf test262 +git clone --depth 1 https://github.com/tc39/test262.git test262 +START=$(pwd) +cd $TS +npm link +cd $START/test262 +npm i +npm link typescript +cp $START/tsconfig.json . +npx tsc diff --git a/userTests/test262/tsconfig.json b/userTests/test262/tsconfig.json new file mode 100644 index 0000000..d85c1bc --- /dev/null +++ b/userTests/test262/tsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "target": "ESNext", + "module": "NodeNext", + "moduleResolution": "NodeNext", + + "strict": true, + "types": [], + "lib": ["ESNext"], + + "noEmit": true, + "allowJs": true + }, + "include": ["test/**/*.js"] +}