Skip to content

Commit

Permalink
update some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmail committed Aug 19, 2024
1 parent ee2f22f commit 580da82
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/core",
"version": "39.4.1",
"version": "39.5.0",
"description": "Tool to develop, test and build js projects",
"license": "MIT",
"author": {
Expand Down
23 changes: 12 additions & 11 deletions packages/independent/https-local/scripts/test/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
* See https://github.com/jsenv/jsenv-core/blob/master/docs/testing/readme.md#jsenv-test-runner
*/

import { executeTestPlan, nodeChildProcess } from "@jsenv/test";
// for now let's disable tests for this package
// import { executeTestPlan, nodeChildProcess } from "@jsenv/test";

await executeTestPlan({
rootDirectoryUrl: new URL("../../", import.meta.url),
testPlan: {
"tests/**/*.test.mjs": {
node: {
runtime: nodeChildProcess(),
},
},
},
});
// await executeTestPlan({
// rootDirectoryUrl: new URL("../../", import.meta.url),
// testPlan: {
// "tests/**/*.test.mjs": {
// node: {
// runtime: nodeChildProcess(),
// },
// },
// },
// });
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { requestCertificate } from "@jsenv/https-local";
const buildStory = async (story) => {
await build({
handleSIGINT: false,
logLevel: "warn",
logs: { level: "warn" },
sourceDirectoryUrl: new URL("./project/src/", import.meta.url),
buildDirectoryUrl: new URL("./project/dist/", import.meta.url),
entryPoints: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { requestCertificate } from "@jsenv/https-local";
const buildStory = async (name) => {
await build({
handleSIGINT: false,
logLevel: "warn",
logs: { level: "warn" },
sourceDirectoryUrl: new URL("./project/client/", import.meta.url),
buildDirectoryUrl: new URL("./project/dist/", import.meta.url),
entryPoints: {
Expand Down

0 comments on commit 580da82

Please sign in to comment.