diff --git a/pkg/sass-parser/lib/src/statement/declaration.test.ts b/pkg/sass-parser/lib/src/statement/declaration.test.ts index e7e21feb2..e24d86c01 100644 --- a/pkg/sass-parser/lib/src/statement/declaration.test.ts +++ b/pkg/sass-parser/lib/src/statement/declaration.test.ts @@ -280,7 +280,7 @@ describe('a property declaration', () => { }).toString(), ).toBe('foo:/**/bar {\n baz: bang\n}')); - it('with no value and children', () => + it('with only children', () => expect( new Declaration({ prop: 'foo', diff --git a/pkg/sass-parser/lib/src/statement/declaration.ts b/pkg/sass-parser/lib/src/statement/declaration.ts index 3446d945f..dbf021aa7 100644 --- a/pkg/sass-parser/lib/src/statement/declaration.ts +++ b/pkg/sass-parser/lib/src/statement/declaration.ts @@ -107,7 +107,7 @@ export class Declaration } /** - * The interpolation that represents this declaration's property prop. + * The interpolation that represents this declaration's property name. */ get propInterpolation(): Interpolation { return this._propInterpolation!; @@ -153,7 +153,7 @@ export class Declaration // TODO: Return whether `this.expression` is a nested series of unbracketed // list expressions that ends in the unquoted string `!important` (or an // unquoted string ending in " !important", which can occur if `value` is - // set // manually). + // set manually). throw new Error('Not yet implemented'); } set important(value: boolean) {