sumfunction inside the
tests/sum.test.ts(OXIDE will create a new
testsfolder) and insert the following Jest code:
package.jsonfile. Tip: if you cannot see the
package.jsonfile, ensure that the Show configuration files setting in OXIDE is toggled on.
"build"command is changed.
"main"entry now contains the 'src'
"jest"field which tells Jest to find our tests correctly
package.jsonfile, we must update the lock file using yarn.
babel.config.jsfile with the following configuration:
@types/jestpackage, we need to make a few changes to the