Skip to content

Commit

Permalink
update a test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmail committed Nov 30, 2024
1 parent a508685 commit d660be8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 54 deletions.
2 changes: 1 addition & 1 deletion packages/related/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/cli",
"version": "0.2.17",
"version": "0.2.18",
"description": "Command Line Interface for jsenv",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/related/cli/template-web-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@babel/plugin-transform-react-jsx": "7.25.9",
"@jsenv/assert": "4.4.2",
"@jsenv/core": "39.7.1",
"@jsenv/plugin-preact": "1.6.29",
"@jsenv/plugin-preact": "1.6.30",
"@jsenv/plugin-bundling": "2.7.19",
"@jsenv/plugin-minification": "1.5.11",
"@jsenv/eslint-config-relax": "1.3.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/related/cli/template-web-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@babel/plugin-transform-react-jsx": "7.25.9",
"@jsenv/assert": "4.4.2",
"@jsenv/core": "39.7.1",
"@jsenv/plugin-react": "1.5.48",
"@jsenv/plugin-react": "1.5.49",
"@jsenv/plugin-bundling": "2.7.19",
"@jsenv/plugin-minification": "1.5.11",
"@jsenv/eslint-config-relax": "1.3.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,92 +19,44 @@ const test = async ({
browserName,
pageLogsAfterUpdatingCssFile = [
{
type: "startGroupCollapsed",
type: "log",
text:
browserName === "chromium"
? "[jsenv] hot reloading file.js (style.css modified)"
: "[jsenv] hot reloading file.js (style.css modified)",
},
{
type: "log",
text: "call dispose callback",
},
{
type: "log",
text: "remove stylesheet",
},
{
type: "log",
text: "importing js module",
},
{
type: "log",
text: "adding stylesheet",
},
{
type: "log",
text: "js module import done",
},
{
type: "endGroup",
text: "",
},
],
pageLogsAfterRemovingCssImport = [
{
type: "startGroupCollapsed",
text: "[jsenv] hot reloading main.js (main.js modified)",
},
{
type: "log",
text: "importing js module",
text: "[jsenv] hot reloading main.js (main.js modified)",
},
{
type: "log",
text: "js module import done",
},
{
type: "endGroup",
text: "",
},
{
type: "startGroupCollapsed",
text: "[jsenv] cleanup file.js (no longer referenced by main.js)",
},
{
type: "log",
text: "call dispose callback",
},
{
type: "log",
text: "remove stylesheet",
},
{
type: "endGroup",
text: "",
},
],
pageLogsAfterRestoringCssImport = [
{
type: "startGroupCollapsed",
text: "[jsenv] hot reloading main.js (main.js modified)",
},
{
type: "log",
text: "importing js module",
text: "[jsenv] hot reloading main.js (main.js modified)",
},
{
type: "log",
text: "adding stylesheet",
},
{
type: "log",
text: "js module import done",
},
{
type: "endGroup",
text: "",
},
],
...rest
}) => {
Expand Down

0 comments on commit d660be8

Please sign in to comment.