Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.

Commit a1156fb

Browse files
committed
Move integration tests into a separated directory and add script to run only integration tests
1 parent 8bf29c5 commit a1156fb

34 files changed

Lines changed: 9 additions & 9 deletions

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"website": "node docs/generate_website.js",
5656
"docs": "npm run pdf-guide && npm run website && npm run browser-demo",
5757
"test": "jest -i",
58+
"test:integration": "jest integration/ -i",
5859
"test:unit": "jest unit/ -i"
5960
},
6061
"main": "js/pdfkit.js",
File renamed without changes.
10 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
var PDFDocument = require('../lib/document').default;
2-
var PDFSecurity = require('../lib/security').default;
1+
var PDFDocument = require('../../lib/document').default;
2+
var PDFSecurity = require('../../lib/security').default;
33
var CryptoJS = require('crypto-js');
44
var path = require('path');
55
var fs = require('fs');

tests/pdfmake/__snapshots__/absolute.spec.js.snap renamed to tests/integration/pdfmake/__snapshots__/absolute.spec.js.snap

File renamed without changes.

tests/pdfmake/__snapshots__/background.spec.js.snap renamed to tests/integration/pdfmake/__snapshots__/background.spec.js.snap

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)