We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1c1c1f commit ee77083Copy full SHA for ee77083
test/index.test.ts
@@ -5,6 +5,12 @@ import {namedReferences} from '../src/named-references';
5
// eslint-disable-next-line @typescript-eslint/no-require-imports
6
const {encode, decode, decodeEntity} = require(process.env.TEST_LIB ? '../lib' : '../src') as typeof HtmlEntities;
7
8
+describe('package', () => {
9
+ it('should have no dependencies', () => {
10
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
11
+ expect(require('../package.json').dependencies).to.equal(undefined);
12
+ });
13
+});
14
describe('encode()', () => {
15
it('should handle undefined', () => {
16
expect(decode(undefined)).to.equal('');
0 commit comments