@@ -2,7 +2,7 @@ import { assertNeverCalled } from "@opticss/util";
2
2
import { assert } from "chai" ;
3
3
import { suite , test } from "mocha-typescript" ;
4
4
5
- import { Block , BlockClass , ResolvedConfiguration , RulesetContainer , SourceLocation } from "../../src" ;
5
+ import { Block , BlockClass , RulesetContainer } from "../../src" ;
6
6
import { Inheritable } from "../../src/BlockTree/Inheritable" ;
7
7
8
8
type RootNode = Inheritable <
@@ -91,24 +91,11 @@ class TestSink extends Inheritable<
91
91
get parent ( ) : SinkNode [ "parent" ] { return this . _parent ! ; }
92
92
get root ( ) : SinkNode [ "root" ] { return this . parent . root ; }
93
93
// tslint:disable-next-line:prefer-unknown-to-any
94
- public lookup ( _path : string , _errLoc ?: SourceLocation | undefined ) : Inheritable < any , any , any , any > | undefined {
95
- throw new Error ( "Method not implemented." ) ;
96
- }
97
94
public rulesets : RulesetContainer < BlockClass > ;
98
95
constructor ( name : string , parent : TestNode ) {
99
96
super ( name , parent ) ;
100
97
this . rulesets = new RulesetContainer ( new BlockClass ( name , TEST_BLOCK ) ) ;
101
98
}
102
-
103
- public cssClass ( _opts : ResolvedConfiguration ) : string {
104
- throw new Error ( "Method not implemented." ) ;
105
- }
106
- public asSource ( ) : string {
107
- throw new Error ( "Method not implemented." ) ;
108
- }
109
- public asSourceAttributes ( ) : Attr [ ] {
110
- throw new Error ( "Method not implemented." ) ;
111
- }
112
99
}
113
100
114
101
@suite ( "Inheritable" )
0 commit comments