forked from kpdecker/jsdiff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
31 lines (25 loc) · 917 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import * as Diff from '../lib';
import {expect} from 'chai';
describe('root exports', function() {
it('should export APIs', function() {
expect(Diff.Diff).to.exist;
expect(Diff.diffChars).to.exist;
expect(Diff.diffWords).to.exist;
expect(Diff.diffWordsWithSpace).to.exist;
expect(Diff.diffLines).to.exist;
expect(Diff.diffTrimmedLines).to.exist;
expect(Diff.diffSentences).to.exist;
expect(Diff.diffCss).to.exist;
expect(Diff.diffJson).to.exist;
expect(Diff.diffArrays).to.exist;
expect(Diff.structuredPatch).to.exist;
expect(Diff.createTwoFilesPatch).to.exist;
expect(Diff.createPatch).to.exist;
expect(Diff.applyPatch).to.exist;
expect(Diff.applyPatches).to.exist;
expect(Diff.parsePatch).to.exist;
expect(Diff.convertChangesToDMP).to.exist;
expect(Diff.convertChangesToXML).to.exist;
expect(Diff.canonicalize).to.exist;
});
});