Skip to content

Commit d640dd4

Browse files
committed
test: 更新测试用例
1 parent a1ddf1b commit d640dd4

26 files changed

+248
-496
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,6 @@ test/fixtures/*/project
6464
*.zip
6565
.vscode
6666
lib/app-plugin
67-
*.d.ts
67+
*.d.ts
68+
.lcui
69+
build

test/basic.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
const fs from 'fs-extra');
2-
const path from 'path');
3-
const assert from 'assert');
4-
const { execSync } from 'child_process');
1+
const fs = require('fs-extra');
2+
const path = require('path');
3+
const assert = require('assert');
4+
const { execSync } = require('child_process');
55

66
describe('basic', () => {
77
const cwd = path.resolve(__dirname, 'fixtures', 'basic');

test/fixtures/resource/.gitignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

test/fixtures/resource/src/main.c

Lines changed: 0 additions & 7 deletions
This file was deleted.

test/fixtures/resource/src/ui/home.c

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/fixtures/resource/src/ui/home.css

Lines changed: 0 additions & 9 deletions
This file was deleted.

test/fixtures/resource/src/ui/home.css.h

Lines changed: 0 additions & 12 deletions
This file was deleted.

test/fixtures/resource/src/ui/home.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

test/fixtures/resource/src/ui/home.js.h

Lines changed: 0 additions & 61 deletions
This file was deleted.

test/fixtures/resource/src/ui/home.json

Lines changed: 0 additions & 44 deletions
This file was deleted.

test/fixtures/resource/src/ui/home.json.h

Lines changed: 0 additions & 61 deletions
This file was deleted.

test/fixtures/resource/src/ui/home.module.css

Lines changed: 0 additions & 15 deletions
This file was deleted.

test/fixtures/resource/src/ui/home.tsx

Lines changed: 0 additions & 11 deletions
This file was deleted.

test/fixtures/resource/src/ui/home.tsx.h

Lines changed: 0 additions & 55 deletions
This file was deleted.

test/fixtures/resource/src/ui/home.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)