We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0602a1 commit 569bb55Copy full SHA for 569bb55
js-api-spec/logger.test.ts
@@ -15,21 +15,8 @@ it('emits debug to stderr by default', () => {
15
});
16
17
describe('deprecation warning', () => {
18
- // Regression test for sass/dart-sass#1790
19
- it('passes the message and span to the logger', done => {
20
- compileString('* > { --foo: bar }', {
21
- logger: {
22
- warn(message: string, {span}: {span?: SourceSpan}) {
23
- expect(message).toContain('only valid for nesting');
24
- expect(span?.start.line).toBe(0);
25
- expect(span?.start.column).toBe(0);
26
- expect(span?.end.line).toBe(0);
27
- expect(span?.end.column).toBe(3);
28
- done();
29
- },
30
31
- });
32
+ // TODO: Revive this test from Git history once we add new, post-2.0.0
+ // deprecations.
33
34
35
describe('with @warn', () => {
0 commit comments