[BUG] Tests fail because wick doesn't adhere to `'use strict';` standards
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- javascript
- 领域
- testing-qa
调研方向
首先在 Chrome 中打开 engine/tests/index.html,并复现 issue 中描述的严格模式错误。检查失败的 engine 测试,并确定哪些错误是由违反 'use strict' 规则导致的。完成标准是测试运行时不再出现这些错误,尽管该 issue 除了 engine/tests 之外没有指出具体的文件或测试用例。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
I've been trying to get the engine tests up and running, but they continue to reach different types of issues caused by breaking 'use strict'; rules.
To reproduce
Steps to reproduce the behavior:
- Open
index.htmlfromengine/tests. - See errors
Expected behavior
No errors, since most of the things being tested are not problems currently known about the engine's code.
Screenshots
Editor version
Is this bug reproducible in Wick Editor 1.19.3/1.19.4 or only Candlestick? I don't know. Only has been tested in Candlestick, but because I know Candlestick and Wick share most of the same code, I believe it also happens there too.
Device
- Hardware: Wintel PC
- OS: Windows 11
- Browser: Chrome
- Version: 149.0.7827.200 (Official Build) (64-bit) (cohort: 149.0.7827.200 Rollout)
Do you have a suggested solution to this issue? (ex. has another program fixed this bug a certain way? Are you familiar with where in the code base someone would need to fix this issue?)
The solution would be to re-write almost all of the engine to fit into strict JS standards.
Additional context
I don't think this is a problem for the codebase, but strict JS is considered better than default JS nowadays.
- 主要语言
- JavaScript
- 星标
- 53
- 派生
- 22
- 平均合并
- 2 天 10 小时
- 30 天内合并 PR
- 12
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Candlestickers/Candlestick 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
Candlestickers/Candlestick#255 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 70/100
Candlestickers/Candlestick#240 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
Candlestickers/Candlestick#239 ·
维护者通常 1 天内回复
-
[BUG] frames with names lose their circle可能已有人在做 @BaronAWC 于 6 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 68/100
Candlestickers/Candlestick#237 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
Candlestickers/Candlestick#203 · 1 条评论 ·
维护者通常 1 天内回复
查看 Candlestickers/Candlestick 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
keyxmakerx/Chronicle#1469 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 83/100
suradet-ps/codeframe#40 ·
维护者通常 1 天内回复
-
data
难度 1/5 1 小时以内 新手友好度 74/100
gaseous-project/hasheous#637 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
gramps-project/gramps-web#1549 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100