Skip to content

Commit 569bb55

Browse files
committed
Remove a deprecation test now that the deprecation on longer exists
1 parent f0602a1 commit 569bb55

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

js-api-spec/logger.test.ts

+2-15
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,8 @@ it('emits debug to stderr by default', () => {
1515
});
1616

1717
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-
});
18+
// TODO: Revive this test from Git history once we add new, post-2.0.0
19+
// deprecations.
3320
});
3421

3522
describe('with @warn', () => {

0 commit comments

Comments
 (0)