Skip to content

Commit 47f197d

Browse files
committed
Update test output paths from js-dist to .js-tests in build scripts and .gitignore
1 parent 822cdb6 commit 47f197d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ _Pvt_Extensions
385385
fable_modules
386386
.fable
387387
*.fs.js
388-
js-dist/
388+
.js-tests/
389389

390390
# Benchmarks
391391
benchmarks/BenchmarkDotNet.Artifacts/

build/build.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ let clean _ =
199199
++ "tests/**/obj"
200200
++ "tools/**/obj"
201201
++ "dist"
202-
++ "js-dist"
202+
++ "**/.js-tests"
203203
++ "**/.python-tests"
204204
|> Shell.cleanDirs
205205

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"rollup": "^2.79.2"
99
},
1010
"scripts": {
11-
"pretest:FsToolkit.ErrorHandling.Tests": "dotnet fable tests/FsToolkit.ErrorHandling.Tests -o js-dist/tests/FsToolkit.ErrorHandling.Tests --noCache",
12-
"pretest:FsToolkit.ErrorHandling.AsyncSeq.Tests": "dotnet fable tests/FsToolkit.ErrorHandling.AsyncSeq.Tests -o js-dist/tests/FsToolkit.ErrorHandling.AsyncSeq.Tests --noCache",
13-
"test:FsToolkit.ErrorHandling.Tests": "node js-dist/tests/FsToolkit.ErrorHandling.Tests/Main.js --timeout 60000",
14-
"test:FsToolkit.ErrorHandling.AsyncSeq.Tests": "node js-dist/tests/FsToolkit.ErrorHandling.AsyncSeq.Tests/Main.js",
11+
"pretest:FsToolkit.ErrorHandling.Tests": "dotnet fable tests/FsToolkit.ErrorHandling.Tests -o tests/FsToolkit.ErrorHandling.Tests/.js-tests",
12+
"pretest:FsToolkit.ErrorHandling.AsyncSeq.Tests": "dotnet fable tests/FsToolkit.ErrorHandling.AsyncSeq.Tests -o tests/FsToolkit.ErrorHandling.AsyncSeq.Tests/.js-tests",
13+
"test:FsToolkit.ErrorHandling.Tests": "node tests/FsToolkit.ErrorHandling.Tests/.js-tests/Main.js --timeout 60000",
14+
"test:FsToolkit.ErrorHandling.AsyncSeq.Tests": "node tests/FsToolkit.ErrorHandling.AsyncSeq.Tests/.js-tests/Main.js",
1515
"test": "npm-run-all test:*",
16-
"watch-test:FsToolkit.ErrorHandling.Tests": "dotnet fable watch tests/FsToolkit.ErrorHandling.Tests -o js-dist/tests/FsToolkit.ErrorHandling.Tests --runWatch mocha js-dist/tests/FsToolkit.ErrorHandling.Tests/Main.js --timeout 10000",
17-
"watch-test:FsToolkit.ErrorHandling.AsyncSeq.Tests": "dotnet fable watch tests/FsToolkit.ErrorHandling.AsyncSeq.Tests -o js-dist/tests/FsToolkit.ErrorHandling.AsyncSeq.Tests --runWatch mocha js-dist/tests/FsToolkit.ErrorHandling.AsyncSeq.Tests/Main.js",
16+
"watch-test:FsToolkit.ErrorHandling.Tests": "dotnet fable watch tests/FsToolkit.ErrorHandling.Tests -o tests/FsToolkit.ErrorHandling.Tests/.js-tests --runWatch node tests/FsToolkit.ErrorHandling.Tests/.js-tests/Main.js --timeout 10000",
17+
"watch-test:FsToolkit.ErrorHandling.AsyncSeq.Tests": "dotnet fable watch tests/FsToolkit.ErrorHandling.AsyncSeq.Tests -o tests/FsToolkit.ErrorHandling.AsyncSeq.Tests/.js-tests --runWatch node tests/FsToolkit.ErrorHandling.AsyncSeq.Tests/.js-tests/Main.js",
1818
"watch-test": "npm-run-all -p watch-test:*"
1919
}
2020
}

0 commit comments

Comments
 (0)