Skip to content

Commit 16bbc5d

Browse files
committed
chore: 调整目录结构
1 parent fc92a7d commit 16bbc5d

File tree

5 files changed

+3
-4
lines changed

5 files changed

+3
-4
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name = "parse-css-to-stylesheet"
33
version = "0.1.0"
44
edition = "2021"
5-
include = ["asset/**"]
65

76
[lib]
87
crate-type = ["cdylib"]
File renamed without changes.
File renamed without changes.
File renamed without changes.

__test__/index.spec.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import test from 'ava'
1010
import { parse } from '../index.js'
1111

1212
test('test parse', (t) => {
13-
const jsx = fs.readFileSync(path.resolve(__dirname, '..', 'asset/mod.jsx'), 'utf8')
14-
const css1 = fs.readFileSync(path.resolve(__dirname, '..', 'asset/Mod.scss'), 'utf8')
15-
const css2 = fs.readFileSync(path.resolve(__dirname, '..', 'asset/test.scss'), 'utf8')
13+
const jsx = fs.readFileSync(path.resolve(__dirname, 'fixure/mod.jsx'), 'utf8')
14+
const css1 = fs.readFileSync(path.resolve(__dirname, 'fixure/Mod.scss'), 'utf8')
15+
const css2 = fs.readFileSync(path.resolve(__dirname, 'fixure/test.scss'), 'utf8')
1616

1717
const code = parse(jsx, [css1, css2])
1818
t.snapshot(code)

0 commit comments

Comments
 (0)