Skip to content

Commit 34fc8f7

Browse files
committed
Bump version and update tests
1 parent eb99666 commit 34fc8f7

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-plugin-css-modules",
3-
"version": "2.1.2",
3+
"version": "2.2.0",
44
"main": "lib/index.js",
55
"author": "Brody McKee <mrmckeb@hotmail.com>",
66
"license": "MIT",

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default classes;
1919

2020
exports[`utils / cssSnapshots with file 'empty.module.less' getClasses should return an object matching expected CSS 1`] = `Object {}`;
2121

22-
exports[`utils / cssSnapshots with file 'empty.module.less' with a custom typescript transformer should transform the generated dts 1`] = `
22+
exports[`utils / cssSnapshots with file 'empty.module.less' with a custom template should transform the generated dts 1`] = `
2323
"/* eslint-disable */
2424
declare const classes: {
2525
@@ -40,7 +40,7 @@ export default classes;
4040

4141
exports[`utils / cssSnapshots with file 'empty.module.sass' getClasses should return an object matching expected CSS 1`] = `Object {}`;
4242

43-
exports[`utils / cssSnapshots with file 'empty.module.sass' with a custom typescript transformer should transform the generated dts 1`] = `
43+
exports[`utils / cssSnapshots with file 'empty.module.sass' with a custom template should transform the generated dts 1`] = `
4444
"/* eslint-disable */
4545
declare const classes: {
4646
@@ -61,7 +61,7 @@ export default classes;
6161

6262
exports[`utils / cssSnapshots with file 'empty.module.scss' getClasses should return an object matching expected CSS 1`] = `Object {}`;
6363

64-
exports[`utils / cssSnapshots with file 'empty.module.scss' with a custom typescript transformer should transform the generated dts 1`] = `
64+
exports[`utils / cssSnapshots with file 'empty.module.scss' with a custom template should transform the generated dts 1`] = `
6565
"/* eslint-disable */
6666
declare const classes: {
6767
@@ -106,7 +106,7 @@ Object {
106106
}
107107
`;
108108

109-
exports[`utils / cssSnapshots with file 'import.module.css' with a custom typescript transformer should transform the generated dts 1`] = `
109+
exports[`utils / cssSnapshots with file 'import.module.css' with a custom template should transform the generated dts 1`] = `
110110
"/* eslint-disable */
111111
declare const classes: {
112112
'classA': string;
@@ -162,7 +162,7 @@ Object {
162162
}
163163
`;
164164

165-
exports[`utils / cssSnapshots with file 'import.module.less' with a custom typescript transformer should transform the generated dts 1`] = `
165+
exports[`utils / cssSnapshots with file 'import.module.less' with a custom template should transform the generated dts 1`] = `
166166
"/* eslint-disable */
167167
declare const classes: {
168168
'nested-class-parent': string;
@@ -216,7 +216,7 @@ Object {
216216
}
217217
`;
218218

219-
exports[`utils / cssSnapshots with file 'test.module.css' with a custom typescript transformer should transform the generated dts 1`] = `
219+
exports[`utils / cssSnapshots with file 'test.module.css' with a custom template should transform the generated dts 1`] = `
220220
"/* eslint-disable */
221221
declare const classes: {
222222
'classA': string;
@@ -272,7 +272,7 @@ Object {
272272
}
273273
`;
274274

275-
exports[`utils / cssSnapshots with file 'test.module.less' with a custom typescript transformer should transform the generated dts 1`] = `
275+
exports[`utils / cssSnapshots with file 'test.module.less' with a custom template should transform the generated dts 1`] = `
276276
"/* eslint-disable */
277277
declare const classes: {
278278
'nested-class-parent': string;
@@ -344,7 +344,7 @@ Object {
344344
}
345345
`;
346346

347-
exports[`utils / cssSnapshots with file 'test.module.sass' with a custom typescript transformer should transform the generated dts 1`] = `
347+
exports[`utils / cssSnapshots with file 'test.module.sass' with a custom template should transform the generated dts 1`] = `
348348
"/* eslint-disable */
349349
declare const classes: {
350350
'local-class-inside-global': string;
@@ -426,7 +426,7 @@ Object {
426426
}
427427
`;
428428

429-
exports[`utils / cssSnapshots with file 'test.module.scss' with a custom typescript transformer should transform the generated dts 1`] = `
429+
exports[`utils / cssSnapshots with file 'test.module.scss' with a custom template should transform the generated dts 1`] = `
430430
"/* eslint-disable */
431431
declare const classes: {
432432
'local-class-inside-global': string;

src/helpers/__tests__/getDtsSnapshot.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ describe('utils / cssSnapshots', () => {
6868
});
6969
});
7070

71-
describe('with a custom typescript transformer', () => {
71+
describe('with a custom template', () => {
7272
it('should transform the generated dts', () => {
7373
const customTemplate = join(
7474
__dirname,

0 commit comments

Comments
 (0)