Here are some different ways on how to set up Jest to support ESM. This applies for Jest v25, Node v13, and Babel v7.
Node v14 and Jest v26 support ESM natively with the --experimental-vm-modules
flag.
Install cross-env
:
#Meditation bubble for Raspberry Pi Pico | |
#Created by @dalekmad, July 2021 | |
#importing the picodisplay | |
import picodisplay as display | |
import utime | |
# Get the width of the display, in pixels | |
width = display.get_width() | |
# Get the height of the display, in pixels |
I bundled these up into groups and wrote some thoughts about why I ask them!
If these helped you, I'd love to hear about it!! I'm on twitter @vcarl_ or send me an email carl.vitullo@gmail.com
https://blog.vcarl.com/interview-questions-onboarding-workplace/