diff --git a/package.json b/package.json index 6cb205f..458fadf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "scripts": { - "prepublishOnly": "lerna run build", + "prepublishOnly": "npm run test", "bootstrap": "lerna bootstrap", "publish-all": "lerna publish --conventional-commits --registry=https://registry.npmjs.org/", "test": "lerna run build && lerna run link && lerna run test", diff --git a/packages/bbob-core/test/index.test.js b/packages/bbob-core/test/index.test.js index b48dbda..ceb9df0 100644 --- a/packages/bbob-core/test/index.test.js +++ b/packages/bbob-core/test/index.test.js @@ -78,6 +78,7 @@ describe('@bbob/core', () => { 'Large', ' ', 'Text', + ' ', { tag: 'test-tag', attrs: {},