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
6d530baf
Commit
6d530baf
authored
Jan 02, 2014
by
Nick Schonning
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JSHint source_comments_spec.js test
Remove unused vars
parent
43cff35f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
32 deletions
+0
-32
source_comments_spec.js
test/source_comments_spec.js
+0
-32
No files found.
test/source_comments_spec.js
View file @
6d530baf
...
@@ -4,21 +4,6 @@ var assert = require('assert');
...
@@ -4,21 +4,6 @@ var assert = require('assert');
var
sampleFilename
=
require
(
'path'
).
resolve
(
__dirname
,
'sample.scss'
);
var
sampleFilename
=
require
(
'path'
).
resolve
(
__dirname
,
'sample.scss'
);
var
scssStr
=
'#navbar {
\
width: 80%;
\
height: 23px; }
\
#navbar ul {
\
list-style-type: none; }
\
#navbar li {
\
float: left;
\
a {
\
font-weight: bold; }}
\
@mixin keyAnimation($name, $attr, $value) {
\
@-webkit-keyframes #{$name} {
\
0% { #{$attr}: $value; }
\
}
\
}'
;
var
expectedCommentsScssStr
=
'/* line 1, '
+
sampleFilename
+
' */
\
n
\
var
expectedCommentsScssStr
=
'/* line 1, '
+
sampleFilename
+
' */
\
n
\
#navbar {
\
n
\
#navbar {
\
n
\
width: 80%;
\
n
\
width: 80%;
\
n
\
...
@@ -35,23 +20,6 @@ var expectedCommentsScssStr = '/* line 1, ' + sampleFilename + ' */\n\
...
@@ -35,23 +20,6 @@ var expectedCommentsScssStr = '/* line 1, ' + sampleFilename + ' */\n\
#navbar li a {
\
n
\
#navbar li a {
\
n
\
font-weight: bold; }
\
n'
;
font-weight: bold; }
\
n'
;
var
expectedDebugScssStr
=
'@media -sass-debug-info{filename{font-family:file
\
:'
+
sampleFilename
+
'}line{font-family:
\\
000031}}
\
n
\
#navbar {
\
n
\
width: 80%;
\
n
\
height: 23px; }
\
n
\
\
n
\
@media -sass-debug-info{filename{font-family:file
\
:'
+
sampleFilename
+
'}line{font-family:
\\
000035}}
\
n
\
#navbar ul {
\
n
\
list-style-type: none; }
\
n
\
\
n
\
@media -sass-debug-info{filename{font-family:file
\
:'
+
sampleFilename
+
'}line{font-family:
\\
000038}}
\
n
\
#navbar li {
\
n
\
float: left; }
\
n
\
@media -sass-debug-info{filename{font-family:file
\
:'
+
sampleFilename
+
'}line{font-family:
\\
0000310}}
\
n
\
#navbar li a {
\
n
\
font-weight: bold; }
\
n'
;
describe
(
"compile file with source comments"
,
function
()
{
describe
(
"compile file with source comments"
,
function
()
{
it
(
"should compile with render and comment outputs"
,
function
(
done
)
{
it
(
"should compile with render and comment outputs"
,
function
(
done
)
{
sass
.
render
({
sass
.
render
({
...
...
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