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
42072bcf
Commit
42072bcf
authored
Sep 22, 2014
by
Nathan Houle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add warning when sass-spec directory is not present
parent
4fd66035
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
sass-spec.js
test/sass-spec.js
+12
-2
No files found.
test/sass-spec.js
View file @
42072bcf
...
@@ -11,9 +11,19 @@ describe('sass-spec', function() {
...
@@ -11,9 +11,19 @@ describe('sass-spec', function() {
var
sassSpecPath
=
path
.
join
(
__dirname
,
'sass-spec'
),
var
sassSpecPath
=
path
.
join
(
__dirname
,
'sass-spec'
),
sassSpecDirExists
=
fs
.
existsSync
(
sassSpecPath
);
sassSpecDirExists
=
fs
.
existsSync
(
sassSpecPath
);
describe
(
'test directory'
,
function
()
{
describe
(
'spec directory'
,
function
()
{
it
(
'it should exist'
,
function
()
{
it
(
'should be a cloned into place'
,
function
()
{
try
{
assert
.
ok
(
sassSpecDirExists
);
assert
.
ok
(
sassSpecDirExists
);
}
catch
(
e
)
{
console
.
log
([
'test/sass-spec directory missing. Please clone it into place by'
,
'executing `git submodule update --init --recursive test/sass-spec`'
,
'from the project
\'
s root directory.'
].
join
(
' '
));
throw
e
;
}
});
});
});
});
...
...
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