Skip to content

Commit

Permalink
test: jest を vitest に移行
Browse files Browse the repository at this point in the history
  • Loading branch information
famibee committed Nov 4, 2024
1 parent 06ac813 commit 22658d8
Show file tree
Hide file tree
Showing 24 changed files with 1,248 additions and 4,108 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
- test: jest を vitest に移行


## [1.61.2](https://github.com/famibee/SKYNovel/compare/v1.61.1...v1.61.2) (2024-11-02)


Expand Down
347 changes: 174 additions & 173 deletions dist/app2.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/app2.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/appMain.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/sn/LayerMng.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/sn/SysApp.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 6 additions & 7 deletions dist/web2.js
Original file line number Diff line number Diff line change
Expand Up @@ -21525,7 +21525,7 @@ $1
R.key = `lnk=[${E}] ` + this.name;
const I = new Sprite();
this.#H(I, R, w, T, g, O ?? {});
const k = R.style ?? "", $ = k + (R.style_hover ?? ""), q = k + (R.style_clicked ?? ""), K = R.r_style ?? "", rt = K + (R.r_style_hover ?? ""), z = K + (R.r_style_clicked ?? ""), G = [...M.getElementsByTagName("rt")];
const k = R.style ?? "", $ = k + (R.style_hover ?? ""), q = k + (R.style_clicked ?? ""), K = R.r_style ?? "", rt = K + (R.r_style_hover ?? ""), z = K + (R.r_style_clicked ?? ""), G = Array.from(M.getElementsByTagName("rt"));
G.forEach((W) => W.dataset.st_r_bk = W.style.cssText);
const tt = M.style.cssText, ft = (W, U) => {
M.style.cssText = tt + W, G.forEach((nt) => nt.style.cssText = nt.dataset.st_r_bk + U);
Expand All @@ -21542,7 +21542,7 @@ $1
), this.#s.addChild(I);
}
}
const y = [...this.#i.getElementsByClassName("sn_ch")];
const y = Array.from(this.#i.getElementsByClassName("sn_ch"));
this.#C = () => (this.#C = () => !1, y.forEach((E) => E.className = E.className.replaceAll(/ go_ch_in_[^\s"]+/g, "")), TxtStage.#D.position.set(
this.#h.break_fixed_left,
this.#h.break_fixed_top
Expand Down Expand Up @@ -22707,8 +22707,8 @@ class FrameMng {
if ("b_color" in t && (o.backgroundColor = t.b_color), "disabled" in t) {
const h = this.#d[e] = argChk_Boolean(t, "disabled", !0), u = r.contentDocument.body;
[
...u.getElementsByTagName("input"),
...u.getElementsByTagName("select")
...Array.from(u.getElementsByTagName("input")),
...Array.from(u.getElementsByTagName("select"))
].forEach((c) => c.disabled = h);
}
return !1;
Expand Down Expand Up @@ -23027,7 +23027,6 @@ void main() {

if (abs(v) < vague) {
float f_a = fg.a *(0.5 +v /vague *0.5);

gl_FragColor.rgb = fg.rgb *f_a;
gl_FragColor.a = f_a;
return;
Expand Down Expand Up @@ -28336,8 +28335,8 @@ class SysBase {
toast(t) {
const e = document.body;
[
...e.getElementsByClassName("sn_BounceIn"),
...e.getElementsByClassName("sn_HopIn")
...Array.from(e.getElementsByClassName("sn_BounceIn")),
...Array.from(e.getElementsByClassName("sn_HopIn"))
].forEach((l) => l.remove());
const r = document.createElement("img"), a = SysBase.#u[t];
if (!a) throw new Error(`toast 名ミス=${t}`);
Expand Down
2 changes: 1 addition & 1 deletion dist/web2.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 22658d8

Please sign in to comment.