apollo_developers/bower_components/jsPDF/tests/autoprint/standard.spec.js
venbatechnologies@gmail.com 1809bcf9c9 fixed table for student details
2018-04-23 18:34:11 +05:30

15 lines
335 B
JavaScript
Executable File

'use strict'
/* global describe, it, jsPDF, comparePdf, expect */
/**
* Standard spec tests
*/
describe('Autoprint', () => {
it('should generate an autoprinting document', () => {
const doc = jsPDF()
doc.text(10, 10, 'This is a test')
doc.autoPrint()
comparePdf(doc.output(), 'autoprint.pdf', 'autoprint')
})
})