File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ export default {
1111 '^.+\\.[tj]sx?$' : [ 'babel-jest' , { configFile : './babel.config.mjs' } ] ,
1212 } ,
1313 transformIgnorePatterns : [ '/node_modules/(?!lit-html).+\\.js' ] ,
14+ moduleNameMapper : {
15+ '\\.css$' : '<rootDir>/test/__mocks__/styleMock.js' ,
16+ } ,
1417 setupFilesAfterEnv : [ './test/helpers/setup.ts' ] ,
1518 testMatch : [ '**/?(*.)+(spec|test).[tj]s?(x)' ] ,
1619 roots : [ '<rootDir>/src' , '<rootDir>/test' ] ,
Original file line number Diff line number Diff line change @@ -173,6 +173,10 @@ export default function (context) {
173173 const td = dom . createElement ( 'td' )
174174 td . classList . add ( 'obj' )
175175 td . setAttribute ( 'notSelectable' , 'false' )
176+ td . style . margin = '0.2em'
177+ td . style . border = 'none'
178+ td . style . padding = '0'
179+ td . style . verticalAlign = 'top'
176180 const theClass = 'obj'
177181
178182 // set about and put 'expand' icon
@@ -196,7 +200,6 @@ export default function (context) {
196200 ) . addEventListener ( 'click' , expandMouseDownListener )
197201 }
198202 td . setAttribute ( 'class' , theClass ) // this is how you find an object
199- // @@ TAKE CSS OUT OF STYLE SHEET
200203 if ( kb . whether ( obj , UI . ns . rdf ( 'type' ) , UI . ns . link ( 'Request' ) ) ) {
201204 td . className = 'undetermined'
202205 } // @@? why-timbl
Original file line number Diff line number Diff line change 1+ module . exports = { } ;
You can’t perform that action at this time.
0 commit comments