mm_config 2.1.4 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
- package/test.js +7 -0
- package/cache_test1.json +0 -3
- package/cache_test2.json +0 -3
- package/cache_test3.json +0 -3
- package/config1.json +0 -6
- package/config2.json +0 -4
- package/config_async.json +0 -5
- package/config_debounce.json +0 -5
- package/config_json5.json +0 -4
package/index.js
CHANGED
package/package.json
CHANGED
package/test.js
CHANGED
|
@@ -129,6 +129,13 @@ async function testMethods() {
|
|
|
129
129
|
|
|
130
130
|
const state = await cg.get('state');
|
|
131
131
|
$.log.debug('获取到的状态:', state);
|
|
132
|
+
|
|
133
|
+
// 测试设置选项
|
|
134
|
+
await cg.setOptions({
|
|
135
|
+
sort: 200,
|
|
136
|
+
state: "2"
|
|
137
|
+
});
|
|
138
|
+
$.log.debug('设置后的选项:', await cg.options);
|
|
132
139
|
}
|
|
133
140
|
|
|
134
141
|
// 测试缓存清理功能
|
package/cache_test1.json
DELETED
package/cache_test2.json
DELETED
package/cache_test3.json
DELETED
package/config1.json
DELETED
package/config2.json
DELETED
package/config_async.json
DELETED
package/config_debounce.json
DELETED
package/config_json5.json
DELETED