Browse Source

fix dekko test (#17707)

pull/17719/head
zombieJ 5 years ago
committed by GitHub
parent
commit
cdcbb54393
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      tests/dekko/lib.test.js

7
tests/dekko/lib.test.js

@ -7,7 +7,12 @@ $('lib')
.hasFile('index.d.ts'); .hasFile('index.d.ts');
$('lib/*') $('lib/*')
.filter(filename => !filename.endsWith('index.js') && !filename.endsWith('index.d.ts')) .filter(
filename =>
!filename.endsWith('index.js') &&
!filename.endsWith('index.d.ts') &&
!filename.endsWith('.map'),
)
.isDirectory() .isDirectory()
.filter(filename => !filename.endsWith('style') && !filename.endsWith('_util')) .filter(filename => !filename.endsWith('style') && !filename.endsWith('_util'))
.hasFile('index.js') .hasFile('index.js')

Loading…
Cancel
Save