Skip to content

Commit b1014f4

Browse files
committed
test(service-sms): alias @objectstack/spec/system to source for the sms/test copy pin
Claude-Session: https://claude.ai/code/session_016WV4d1JeXeWGVzxc12FsUx Co-authored-by: Claude <noreply@anthropic.com>
1 parent c68697d commit b1014f4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎packages/services/service-sms/vitest.config.ts‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import path from 'path';
44

55
// Source aliases for the two workspace packages this package's tests read by
66
// VALUE. `src/kernel-cache.ts` reads a service's self-description from
7-
// `@objectstack/spec/api`, and the daily-quota cache pin boots a real
8-
// `ObjectKernel` from `@objectstack/core`. Unaliased, both would follow the
7+
// `@objectstack/spec/api`, the daily-quota cache pin boots a real
8+
// `ObjectKernel` from `@objectstack/core`, and the `sms/test` copy pin reads
9+
// the platform locale table from `@objectstack/spec/system`. Unaliased, both would follow the
910
// workspace link to the package's last build, so a pin about the source next
1011
// to it would report on build state instead (`check:test-source-alias` is the
1112
// gate; aliasing is its intended repair).
@@ -24,6 +25,7 @@ export default {
2425
alias: [
2526
{ find: /^@objectstack\/core$/, replacement: path.resolve(__dirname, '../../core/src/index.ts') },
2627
{ find: /^@objectstack\/spec\/api$/, replacement: path.resolve(__dirname, '../../spec/src/api/index.ts') },
28+
{ find: /^@objectstack\/spec\/system$/, replacement: path.resolve(__dirname, '../../spec/src/system/index.ts') },
2729
],
2830
},
2931
};

0 commit comments

Comments
 (0)