Skip to content

Commit ff3ed92

Browse files
committed
test
1 parent 8c1f9e6 commit ff3ed92

File tree

5 files changed

+1
-6
lines changed

5 files changed

+1
-6
lines changed

src/option/data.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ export function build(cons: Cons, optionBuilder: OptionBuilder, vueInstance: any
1414

1515
const slot = obtainSlot(cons.prototype)
1616
names = excludeNames(names, slot)
17-
console.log(names)
1817
Object.assign(optionBuilder.data, makeObject(names, sample))
1918
}

src/option/watch.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export interface WatchConfig {
1313
type Option = Omit<WatchConfig, 'handler' | 'key'>
1414
export function decorator(key: string, option?: Option) {
1515
return compatibleMemberDecorator(function (proto: any, name: string) {
16-
console.log('watch deco',proto,name,option)
1716
const slot = obtainSlot(proto)
1817
const map = slot.obtainMap('watch');
1918
const opt = Object.assign({}, option ?? {}, {

test/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
import { expect } from 'chai';
33
import 'mocha';
4-
import { Component, Base, toNative } from '../dist/index-return-cons'
4+
import { Component, Base, toNative } from '../dist'
55
import { isEmptyObject } from './utils';
66

77
@Component

test/option/setup.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const SETUP_AXIOM = 'setup is working to allow composition API usage'
1010
const DATA_AXIOM = 'data is injected into the template'
1111
const injectionKey = Symbol('injection test key')
1212
function useInjectedValue() {
13-
console.log('in use')
1413
return inject(injectionKey) as string
1514
}
1615

@@ -24,7 +23,6 @@ class SyncComp extends Base {
2423
}
2524

2625
const SyncCompContext = toNative(SyncComp) as any
27-
console.log('ppp',SyncCompContext.setup())
2826
@Component({
2927
render() { return [] },
3028
setup() {

test/option/watch.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ class Comp extends Base {
4242
}
4343
}
4444
const CompContext = toNative(Comp) as any
45-
console.log(CompContext)
4645
describe('decorator Watch',
4746
() => {
4847
it('default', () => {

0 commit comments

Comments
 (0)