Skip to content

Commit 09db469

Browse files
committed
docs: update README and test names
1 parent 02a9a56 commit 09db469

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
@@ -842,14 +842,14 @@ exports[`utils / cssSnapshots with goToDefinition enabled should return an objec
842842
}
843843
`;
844844

845-
exports[`utils / cssSnapshots with includePaths in sass options should find external file from includePaths 1`] = `
845+
exports[`utils / cssSnapshots with loadPaths in sass options should find external file from loadPaths 1`] = `
846846
{
847847
"big-font": "include-path-module__big-font---Td7hY",
848848
"class-with-mixin": "include-path-module__class-with-mixin---1u87_",
849849
}
850850
`;
851851

852-
exports[`utils / cssSnapshots with includePaths in stylus options should find external file from includePaths 1`] = `
852+
exports[`utils / cssSnapshots with loadPaths in stylus options should find external file from loadPaths 1`] = `
853853
{
854854
"external-class": "include-path-module__external-class---ecH0A",
855855
"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
@@ -141,7 +141,7 @@ describe('utils / cssSnapshots', () => {
141141
});
142142
});
143143

144-
describe('with includePaths in sass options', () => {
144+
describe('with loadPaths in sass options', () => {
145145
const fileName = join(__dirname, 'fixtures', 'include-path.module.scss');
146146
const css = readFileSync(fileName, 'utf8');
147147

@@ -151,7 +151,7 @@ describe('utils / cssSnapshots', () => {
151151
},
152152
};
153153

154-
it('should find external file from includePaths', () => {
154+
it('should find external file from loadPaths', () => {
155155
const cssExports = getCssExports({
156156
css,
157157
fileName,
@@ -165,7 +165,7 @@ describe('utils / cssSnapshots', () => {
165165
});
166166
});
167167

168-
describe('with includePaths in stylus options', () => {
168+
describe('with loadPaths in stylus options', () => {
169169
const fileName = join(__dirname, 'fixtures', 'include-path.module.styl');
170170
const css = readFileSync(fileName, 'utf8');
171171

@@ -177,7 +177,7 @@ describe('utils / cssSnapshots', () => {
177177
},
178178
};
179179

180-
it('should find external file from includePaths', () => {
180+
it('should find external file from loadPaths', () => {
181181
const cssExports = getCssExports({
182182
css,
183183
fileName,

0 commit comments

Comments
 (0)