Skip to content

Instantly share code, notes, and snippets.

View kyranjamie's full-sized avatar

kyranjamie kyranjamie

View GitHub Profile
Swagger schema validation failed.
#/paths/~1ordinals~1v1~1/get/responses/200/content/application~1json/schema/properties/server_version must NOT have additional properties
#/paths/~1ordinals~1v1~1/get/responses/200/content/application~1json/schema/properties/server_version must have required property '$ref'
#/paths/~1ordinals~1v1~1/get/responses/200/content/application~1json/schema/properties/server_version must match exactly one schema in oneOf
#/paths/~1ordinals~1v1~1/get/responses/200/content/application~1json/schema must have required property '$ref'
#/paths/~1ordinals~1v1~1/get/responses/200/content/application~1json/schema must match exactly one schema in oneOf
#/paths/~1ordinals~1v1~1/get/responses/200 must have required property '$ref'
#/paths/~1ordinals~1v1~1/get/responses/200 must match exactly one schema in oneOf
#/paths/~1ordinals~1v1~1inscriptions/get/parameters/0/schema/anyOf/0 must NOT have additional properties
#/paths/~1ordinals~1v1~1inscriptions/get/parameters/0/schema/anyO
@kyranjamie
kyranjamie / migrate-labels-no-spaces.js
Created March 12, 2024 12:14
Script to remove all spaces from Github labels
// Super hacky script to paste into dev tools to remove spaces from github labels
[...document.querySelectorAll(".js-label-list > div")].forEach(async (el, i) => {
await new Promise((resolve) => setTimeout(resolve, 400 * i));
const edit = el.querySelector(".js-edit-label");
edit?.click();
const label = el.querySelector('[placeholder="Label name"]');
const value = label?.getAttribute("value");
const newValue = value?.replaceAll(' ', '')
console.log(newValue)
label?.setAttribute("value", newValue);
Running 105 tests using 6 workers
✓ 1 [chromium] › specs/fund/fund.spec.ts:12:3 › Buy tokens test › should redirect to provider URL while funding STX (14.2s)
✓ 2 …specs/ledger/ledger.spec.ts:31:7 › App with Ledger › withBitcoinAndStacksKey › that homepage renders correctly (11.5s)
✓ 3 [chromium] › specs/bns-names/bns-names.spec.ts:16:3 › Bns v2 names › that correctly shows bns v2 account name (12.7s)
✓ 4 …romium] › specs/manage-tokens/manage-tokens.spec.ts:12:3 › Manage tokens › that supported sip10 token is shown (12.7s)
✘ 5 …um] › specs/manage-transaction/manage-transaction.spec.ts:24:3 › Manage transaction › that user can cancel fee (18.1s)
✓ 6 …checks/compliance-checks.spec.ts:43:3 › Compliance checks › that it errors if non-compliant entity is detected (14.2s)
✓ 7 [chromium] › specs/ledger/ledger.spec.ts:37:7 › App with Ledger › withBitcoinAndStacksKey › receive modal opens (9.8s)
✓ 8 …e-tokens/manage-tokens.spec.ts:18:3 › Manage tokens › that token can be removed from asset list