Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[BUG] Tests fail because wick doesn't adhere to `'use strict';` standards

Aperta
#153 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
javascript
Ambito
testing-qa

Direzione di ricerca

Inizia aprendo engine/tests/index.html in Chrome e riproducendo gli errori strict-mode descritti nell'issue. Esamina i test engine che falliscono e identifica quali errori sono causati da violazioni delle regole di 'use strict'. Il lavoro è completato quando i test vengono eseguiti senza questi errori, anche se l'issue non identifica file o casi di test specifici oltre a engine/tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

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:

  1. Open index.html from engine/tests.
  2. See errors

Expected behavior
No errors, since most of the things being tested are not problems currently known about the engine's code.

Screenshots

Image

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.

Lingua principale
JavaScript
Stelle
56
Fork
24
Merge medio
1g 2h
PR unite (30g)
11

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Candlestickers/Candlestick

Tutte le issue di Candlestickers/Candlestick

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.