Commit 4273e11e authored by Fred Chasen's avatar Fred Chasen
Browse files

Move tests into src

parent f9a2c7dd
module.exports = {
testMatch: ['**/?(*.)(test).js?(x)'],
testMatch: ['**/?(*.)(test).js'],
......@@ -42,8 +42,8 @@
"legacy": "./node_modules/.bin/rollup -c rollup.legacy.config.js",
"start": "./node_modules/.bin/rollup -w -c rollup.server.config.js",
"test": "npm run tests && npm run specs",
"tests": "jest --config=tests/jest.config.js",
"specs": "jest --config=specs/jest.config.js",
"tests": "./node_modules/.bin/jest",
"specs": "./node_modules/.bin/jest --config=specs/jest.config.js",
"compile": "./node_modules/.bin/babel src/ -d lib/",
"pretest": "npm run build",
"prepublishOnly": "npm run build && npm run compile && npm run legacy",
import { Chunker } from '../../src/index.js';
import Chunker from './chunker.js';
describe('Chunker', async () => {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment