Skip to content

Commit

Permalink
build: correct css not generated
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Jul 3, 2024
1 parent ff7cf38 commit ef17ee7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
25 changes: 0 additions & 25 deletions packages/abc/st/test/st.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -750,31 +750,6 @@ describe('abc: st', () => {
.asyncEnd();
}));
});
// TODO: 当前版本自动设置,无须参与计算
xdescribe('[fixed]', () => {
it('should be fixed left column', fakeAsync(() => {
page.updateColumn([
{ title: '1', index: 'id', fixed: 'left', width: '100px' },
{ title: '2', index: 'id', fixed: 'left', width: '100px' },
{ title: '3', index: 'id', fixed: 'left', width: '100px' }
]);
expect(page.getCell(1, 1).style.left).toBe('0px');
expect(page.getCell(1, 2).style.left).toBe('100px');
expect(page.getCell(1, 3).style.left).toBe('200px');
page.asyncEnd();
}));
it('should be fixed right column', fakeAsync(() => {
page.updateColumn([
{ title: '1', index: 'id', fixed: 'right', width: '100px' },
{ title: '2', index: 'id', fixed: 'right', width: '100px' },
{ title: '3', index: 'id', fixed: 'right', width: '100px' }
]);
expect(page.getCell(1, 1).style.right).toBe('200px');
expect(page.getCell(1, 2).style.right).toBe('100px');
expect(page.getCell(1, 3).style.right).toBe('0px');
page.asyncEnd();
}));
});
describe('[Mulit Headers]', () => {
it('should be working', fakeAsync(() => {
page.updateColumn([
Expand Down
5 changes: 2 additions & 3 deletions scripts/ci/build-delon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ buildLess() {
node ./scripts/build/copy-less.js
echo 'fix zorro path...'
node ./scripts/build/fix-zorro-path.js
# TODO: https://github.com/NG-ZORRO/ng-zorro-antd/issues/8618
# echo 'build full css...'
# node ./scripts/build/generate-css.js
echo 'build full css...'
node ./scripts/build/generate-css.js
}

addBanners() {
Expand Down

0 comments on commit ef17ee7

Please sign in to comment.