Skip to content

Commit

Permalink
using a stupid version of touch so that files are properly updated
Browse files Browse the repository at this point in the history
  • Loading branch information
catdad committed Jul 7, 2020
1 parent 68ee71e commit ab4a6b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"mocha": "^6.2.2",
"node-stream": "^1.7.0",
"symlink-dir": "^3.1.1",
"touch": "^3.1.0",
"unstyle": "^0.1.0",
"xvfb-maybe": "^0.2.1"
},
Expand Down
6 changes: 5 additions & 1 deletion test/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ const { PassThrough } = require('stream');
const { spawn } = require('child_process');
const ns = require('node-stream');
const unstyle = require('unstyle');
const touch = require('touch');
const symlink = require('symlink-dir');
const { expect } = require('chai');

describe('integration', () => {
let stdout;

const touch = async file => {
const content = await fs.readFile(file);
await fs.writeFile(file, content);
};

const wrap = stream => {
return stream
.pipe(unstyle())
Expand Down

0 comments on commit ab4a6b4

Please sign in to comment.