diff --git a/packages/client/test/access-log.test.ts b/packages/client/test/access-log.test.ts new file mode 100644 index 0000000..f64c4f6 --- /dev/null +++ b/packages/client/test/access-log.test.ts @@ -0,0 +1,280 @@ +/** + * access-log.test.ts — behavioral tests for logAccess / setAccessLog / enabled + * (src/access-log.ts), as wired through the docs primitives (src/docs.ts). + * + * Tests: + * (a) OFF by default: reads + writes via sparqlQuery / sparqlUpdate / docCreate + * emit nothing to console.log. + * (b) ON via configure({ debugAccessLog: true }): each read/write emits a line + * matching `[] READ/WRITE (