Skip to content

Commit 909546e

Browse files
authored
docs: update README and test names (#179)
1 parent f1b0373 commit 909546e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ This is experimental, and only works with Sass (for now) and may not always work
215215
| `sass` | `{}` | Set [renderer options for Sass](https://sass-lang.com/documentation/js-api#options). |
216216
| `stylus` | `{}` | Set [renderer options for Stylus](https://stylus.bootcss.com/docs/js.html). |
217217

218-
> For convenience, `includePaths` for Sass are extended, not replaced. The defaults are the path of the current file, and `'node_modules'`.
218+
> For convenience, `loadPaths` for Sass are extended, not replaced. The defaults are the path of the current file, and `'node_modules'`.
219219
220220
### Visual Studio Code
221221

src/helpers/__tests__/__snapshots__/getDtsSnapshot.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -892,14 +892,14 @@ exports[`utils / cssSnapshots with goToDefinition enabled should return an objec
892892
}
893893
`;
894894

895-
exports[`utils / cssSnapshots with includePaths in sass options should find external file from includePaths 1`] = `
895+
exports[`utils / cssSnapshots with loadPaths in sass options should find external file from loadPaths 1`] = `
896896
{
897897
"big-font": "include-path-module__big-font---Td7hY",
898898
"class-with-mixin": "include-path-module__class-with-mixin---1u87_",
899899
}
900900
`;
901901

902-
exports[`utils / cssSnapshots with includePaths in stylus options should find external file from includePaths 1`] = `
902+
exports[`utils / cssSnapshots with loadPaths in stylus options should find external file from loadPaths 1`] = `
903903
{
904904
"external-class": "include-path-module__external-class---ecH0A",
905905
"include-path": "include-path-module__include-path---2f2uR",

src/helpers/__tests__/getDtsSnapshot.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ describe('utils / cssSnapshots', () => {
144144
});
145145
});
146146

147-
describe('with includePaths in sass options', () => {
147+
describe('with loadPaths in sass options', () => {
148148
const fileName = join(__dirname, 'fixtures', 'include-path.module.scss');
149149
const css = readFileSync(fileName, 'utf8');
150150

@@ -154,7 +154,7 @@ describe('utils / cssSnapshots', () => {
154154
},
155155
};
156156

157-
it('should find external file from includePaths', () => {
157+
it('should find external file from loadPaths', () => {
158158
const cssExports = getCssExports({
159159
css,
160160
fileName,
@@ -169,7 +169,7 @@ describe('utils / cssSnapshots', () => {
169169
});
170170
});
171171

172-
describe('with includePaths in stylus options', () => {
172+
describe('with loadPaths in stylus options', () => {
173173
const fileName = join(__dirname, 'fixtures', 'include-path.module.styl');
174174
const css = readFileSync(fileName, 'utf8');
175175

@@ -181,7 +181,7 @@ describe('utils / cssSnapshots', () => {
181181
},
182182
};
183183

184-
it('should find external file from includePaths', () => {
184+
it('should find external file from loadPaths', () => {
185185
const cssExports = getCssExports({
186186
css,
187187
fileName,

0 commit comments

Comments
 (0)