Last active
January 16, 2025 00:45
-
-
Save Offirmo/0dc6a552e59e6347bc4b096874d3ab3b to your computer and use it in GitHub Desktop.
[🔷TS -- Unit Tests] #TypeScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { expect } from 'chai' | |
import { | |
LIB | |
} from '../index.js' | |
describe(`${LIB}`, function () { | |
describe('plugins', function () { | |
describe(`foo()`, function () { | |
it('should work', () => { | |
// TODO | |
}) | |
}) | |
}) | |
}) | |
"scripts": { | |
"test": "mocha --bail --config ./node_modules/@offirmo/unit-test-toolbox/mocharc.json ./node_modules/@offirmo/unit-test-toolbox/mocha-chai-init-node.cjs 'dist/src.es2022.esm/**/*spec.js'", | |
}, | |
"devDependencies": { | |
"@offirmo/unit-test-toolbox": "^8", | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment