Skip to content

Commit

Permalink
add tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
zddai committed Apr 14, 2024
1 parent a25b7b7 commit c192362
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 12 deletions.
23 changes: 21 additions & 2 deletions src/test/lib/examples/attributes/assert.origin.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
import A from 'a' assert { }
import D from 'a' assert { a: '' }
import B from 'b' assert { ab: 'xyz' }
import C from 'c' assert { a: 'x',bc:'xyz' }
import C from 'c' assert { a: 'x',bc:'xyz', asdfads: "adg",
gaefasd: "gege",
gaeaesadsasdf: "agefasdfasdgasdf", }
import E from 'b' with { ab: 'xyz' }

export {A, B, C,D,E}
import {debounce,
isEmpty,
omitBy,} from 'b' assert { ab: 'xyz' }


export {A, B, C,D,E,debounce,
isEmpty,
omitBy, OnboardingStatusFilter,
PaymentsStatusFilter}

import { OnboardingStatusFilter,
PaymentsStatusFilter,} from 'd' assert {
a: 'x',
bc: 'xyz',
asdfads: 'adg',
gaefasd: 'gege',
gaeaesadsasdf: 'agefasdfasdgasdf',
};
29 changes: 26 additions & 3 deletions src/test/lib/examples/attributes/assert.result.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
import A from 'a';
import D from 'a' assert { a: '' };
import B from 'b' assert { ab: 'xyz' };
import B, {
debounce,
isEmpty,
omitBy,
} from 'b' assert { ab: 'xyz' };
import E from 'b' with { ab: 'xyz' };
import C from 'c' assert { a: 'x', bc: 'xyz' };
import C from 'c' assert {
a: 'x',
bc: 'xyz',
asdfads: 'adg',
gaefasd: 'gege',
gaeaesadsasdf: 'agefasdfasdgasdf',
};
import {
OnboardingStatusFilter,
PaymentsStatusFilter,
} from 'd' assert {
a: 'x',
bc: 'xyz',
asdfads: 'adg',
gaefasd: 'gege',
gaeaesadsasdf: 'agefasdfasdgasdf',
};

export {A, B, C,D,E}
export {A, B, C,D,E,debounce,
isEmpty,
omitBy, OnboardingStatusFilter,
PaymentsStatusFilter}
25 changes: 22 additions & 3 deletions src/test/lib/examples/attributes/with.origin.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
import A from 'a' with { }
import D from 'a' with { a: '' }
import B from 'b' with { ab: 'xyz' }
import C from 'c' with { a: 'x',bc:'xyz' }
import E from 'c' assert { a: 'x',bc:'xyz' }
import C from 'c' with { a: 'x',bc:'xyz', asdfads: "adg",
gaefasd: "gege",
gaeaesadsasdf: "agefasdfasdgasdf", }
import E from 'b' assert { ab: 'xyz' }

export {A, B, C,D,E}
import {debounce,
isEmpty,
omitBy,} from 'b' with { ab: 'xyz' }


export {A, B, C,D,E,debounce,
isEmpty,
omitBy, OnboardingStatusFilter,
PaymentsStatusFilter}

import { OnboardingStatusFilter,
PaymentsStatusFilter,} from 'c' with {
a: 'x',
bc: 'xyz',
asdfads: 'adg',
gaefasd: 'gege',
gaeaesadsasdf: 'agefasdfasdgasdf1',
};
31 changes: 27 additions & 4 deletions src/test/lib/examples/attributes/with.result.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
import A from 'a';
import D from 'a' with { a: '' };
import B from 'b' with { ab: 'xyz' };
import C from 'c' with { a: 'x', bc: 'xyz' };
import E from 'c' assert { a: 'x', bc: 'xyz' };
import B, {
debounce,
isEmpty,
omitBy,
} from 'b' with { ab: 'xyz' };
import E from 'b' assert { ab: 'xyz' };
import C from 'c' with {
a: 'x',
bc: 'xyz',
asdfads: 'adg',
gaefasd: 'gege',
gaeaesadsasdf: 'agefasdfasdgasdf',
};
import {
OnboardingStatusFilter,
PaymentsStatusFilter,
} from 'c' with {
a: 'x',
bc: 'xyz',
asdfads: 'adg',
gaefasd: 'gege',
gaeaesadsasdf: 'agefasdfasdgasdf1',
};

export {A, B, C,D,E}
export {A, B, C,D,E,debounce,
isEmpty,
omitBy, OnboardingStatusFilter,
PaymentsStatusFilter}

0 comments on commit c192362

Please sign in to comment.