Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
feat: expose package.json in file info (#782)
Browse files Browse the repository at this point in the history
* chore: fix CSSDep extractor tests for windows

* chore: fix license field to line up with license file
  • Loading branch information
calebboyd authored and nchanged committed Sep 6, 2017
1 parent 2fb64ee commit 440dd3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"url": "git+https://github.com/fuse-box/fuse-box.git"
},
"author": "",
"license": "ISC",
"license": "MIT",
"bugs": {
"url": "https://github.com/fuse-box/fuse-box/issues"
},
Expand Down Expand Up @@ -112,4 +112,4 @@
"url": "https://opencollective.com/fuse-box",
"logo": "https://opencollective.com/opencollective/logo.txt"
}
}
}
8 changes: 4 additions & 4 deletions src/tests/CSSDependencyExtractor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class DependencyExtractorTest {
`
});
let deps = extractor.getDependencies();
let expected = ["tests/stubs/css/path1/foo.scss", "tests/stubs/css/path1/woo.scss", "tests/stubs/css/path1/hello.scss"]
let expected = ["tests/stubs/css/path1/foo.scss", "tests/stubs/css/path1/woo.scss", "tests/stubs/css/path1/hello.scss"].map(path.normalize)
deps.forEach((dep, index) => {
should(dep).findString(expected[index])
});
Expand All @@ -39,7 +39,7 @@ export class DependencyExtractorTest {
`
});
let deps = extractor.getDependencies();
let expected = ["tests/stubs/css/path1/_underscore.scss"]
let expected = ["tests/stubs/css/path1/_underscore.scss"].map(path.normalize)
deps.forEach((dep, index) => {
should(dep).findString(expected[index])
});
Expand All @@ -59,7 +59,7 @@ export class DependencyExtractorTest {
`
});
let deps = extractor.getDependencies();
let expected = ["tests/stubs/css/path1/_underscore.scss"]
let expected = ["tests/stubs/css/path1/_underscore.scss"].map(path.normalize)
deps.forEach((dep, index) => {
should(dep).findString(expected[index])
});
Expand All @@ -78,7 +78,7 @@ export class DependencyExtractorTest {
`
});
let deps = extractor.getDependencies();
let expected = ["tests/stubs/css/path1/_underscore_css.css"];
let expected = ["tests/stubs/css/path1/_underscore_css.css"].map(path.normalize)
deps.forEach((dep, index) => {
should(dep).findString(expected[index])
});
Expand Down

0 comments on commit 440dd3e

Please sign in to comment.