Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
41cf00d9
Commit
41cf00d9
authored
Sep 08, 2015
by
dotzero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hotfix Test for --follow option
parent
e289389e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cli.js
test/cli.js
+3
-3
No files found.
test/cli.js
View file @
41cf00d9
...
@@ -578,14 +578,14 @@ describe('cli', function() {
...
@@ -578,14 +578,14 @@ describe('cli', function() {
var
src
=
fixture
(
'follow/input-dir'
);
var
src
=
fixture
(
'follow/input-dir'
);
var
dest
=
fixture
(
'follow/output-dir'
);
var
dest
=
fixture
(
'follow/output-dir'
);
fs
.
mkdirSync
(
src
)
fs
.
mkdirSync
(
src
)
;
fs
.
symlinkSync
(
path
.
join
(
path
.
dirname
(
src
),
'foo'
),
path
.
join
(
src
,
'foo'
),
'dir'
)
fs
.
symlinkSync
(
path
.
join
(
path
.
dirname
(
src
),
'foo'
),
path
.
join
(
src
,
'foo'
),
'dir'
)
;
var
bin
=
spawn
(
cli
,
[
src
,
'--follow'
,
'--output'
,
dest
]);
var
bin
=
spawn
(
cli
,
[
src
,
'--follow'
,
'--output'
,
dest
]);
bin
.
once
(
'close'
,
function
()
{
bin
.
once
(
'close'
,
function
()
{
var
expected
=
path
.
join
(
dest
,
'foo/bar/index.css'
);
var
expected
=
path
.
join
(
dest
,
'foo/bar/index.css'
);
fs
.
unlinkSync
(
path
.
join
(
path
.
dirname
(
src
)
,
'foo'
));
fs
.
unlinkSync
(
path
.
join
(
src
,
'foo'
));
fs
.
rmdirSync
(
src
);
fs
.
rmdirSync
(
src
);
assert
(
fs
.
existsSync
(
expected
));
assert
(
fs
.
existsSync
(
expected
));
fs
.
unlinkSync
(
expected
);
fs
.
unlinkSync
(
expected
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment