mirror of
https://github.com/KevinMidboe/inline-html.git
synced 2025-10-29 17:40:29 +00:00
Refactored.
This commit is contained in:
10
test/inline-link-less.js
Normal file
10
test/inline-link-less.js
Normal file
@@ -0,0 +1,10 @@
|
||||
var inline = require('../lib/inline-link-less');
|
||||
var fs = require('fs');
|
||||
var path = require('path');
|
||||
|
||||
var filepath = path.resolve(__dirname, './fixtures/index.html');
|
||||
var html = fs.readFileSync(filepath, 'utf8');
|
||||
|
||||
inline(html, filepath, {})
|
||||
.then(console.log)
|
||||
.catch(console.error);
|
||||
Reference in New Issue
Block a user