Skip to content

jaredjj3/vexflow-key-properties-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vexflow-key-properties-issue

Reproduction repo for 0xfe/vexflow#1595.

Environment

  • MacBook Pro
  • Chip: Apple M1 MAX
  • OS: macOS Ventura 13.5.2 (22G91)
  • Docker Desktop 4.23.0 (120376)
  • Docker Engine: 24.0.6

How to run

Prerequisites

  1. Install yarn.
  2. Install docker.
  3. Run yarn in the root directory.

Local

yarn test

Press q to open the menu.

Expectations:

  • The tests run successfully in O(ms).

Docker (x86)

yarn test:docker

Press q to open the menu.

Expectations:

  • The tests run successfully in O(ms).

Docker (amd64)

yarn test:docker:amd64

Press q to open the menu.

Expectations:

  • If your host uses ARM architecture, the tests hang indefinitely.
  • If your host does not use ARM archtecture, the tests run successfully in O(ms).

fake.js

src/fake.js is the Table.keyProperties implementation (permalink) extracted into its own module. You can change this implementation and rerun the test to test theories. To rerun a test without killing the process, press q to bring up the menu, then press enter to rerun.

I've observed that making the following change causes the tests in all environments to run successfully:

before

octave += -1 * options.octave_shift;

after

octave -= options.octave_shift;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published