diff --git a/test/formatting-test.js b/test/formatting-test.js index 661da8c..7299d98 100644 --- a/test/formatting-test.js +++ b/test/formatting-test.js @@ -17,7 +17,7 @@ const TAP = { 'not ok 7 A failing TODO # TODO', ' ---', ' operator: fail', - ' at: Test. (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:19:7)', + ' at: Test. (/test/mock/create-simple-tap.cjs:19:7)', ' ...', '# Some failing tests', 'not ok 8 should be strictly equal', @@ -25,14 +25,14 @@ const TAP = { ' operator: equal', ' expected: 666', ' actual: 66', - ' at: Test. (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:27:5)', + ' at: Test. (/test/mock/create-simple-tap.cjs:27:5)', ' stack: |-', ' Error: should be strictly equal', - ' at Test.assert [as _assert] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:479:48)', - ' at Test.strictEqual (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:643:7)', - ' at Test. (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:27:5)', - ' at Test.run (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:113:28)', - ' at Immediate.next [as _onImmediate] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/results.js:157:7)', + ' at Test.assert [as _assert] (/node_modules/tape/lib/test.js:479:48)', + ' at Test.strictEqual (/node_modules/tape/lib/test.js:643:7)', + ' at Test. (/test/mock/create-simple-tap.cjs:27:5)', + ' at Test.run (/node_modules/tape/lib/test.js:113:28)', + ' at Immediate.next [as _onImmediate] (/node_modules/tape/lib/results.js:157:7)', ' at process.processImmediate (node:internal/timers:476:21)', ' ...', 'not ok 9 should be strictly equal', @@ -40,14 +40,14 @@ const TAP = { ' operator: equal', ' expected: \'Good dog\'', ' actual: \'Bad dog\'', - ' at: Test. (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:28:5)', + ' at: Test. (/test/mock/create-simple-tap.cjs:28:5)', ' stack: |-', ' Error: should be strictly equal', - ' at Test.assert [as _assert] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:479:48)', - ' at Test.strictEqual (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:643:7)', - ' at Test. (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:28:5)', - ' at Test.run (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:113:28)', - ' at Immediate.next [as _onImmediate] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/results.js:157:7)', + ' at Test.assert [as _assert] (/node_modules/tape/lib/test.js:479:48)', + ' at Test.strictEqual (/node_modules/tape/lib/test.js:643:7)', + ' at Test. (/test/mock/create-simple-tap.cjs:28:5)', + ' at Test.run (/node_modules/tape/lib/test.js:113:28)', + ' at Immediate.next [as _onImmediate] (/node_modules/tape/lib/results.js:157:7)', ' at process.processImmediate (node:internal/timers:476:21)', ' ...', 'not ok 10 Regex: match fail', @@ -55,14 +55,14 @@ const TAP = { ' operator: match', ' expected: /^A/', ' actual: \'atreides\'', - ' at: Test. (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:29:5)', + ' at: Test. (/test/mock/create-simple-tap.cjs:29:5)', ' stack: |-', ' Error: Regex: match fail', - ' at Test.assert [as _assert] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:479:48)', - ' at Test.match (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:900:8)', - ' at Test. (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:29:5)', - ' at Test.run (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:113:28)', - ' at Immediate.next [as _onImmediate] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/results.js:157:7)', + ' at Test.assert [as _assert] (/node_modules/tape/lib/test.js:479:48)', + ' at Test.match (/node_modules/tape/lib/test.js:900:8)', + ' at Test. (/test/mock/create-simple-tap.cjs:29:5)', + ' at Test.run (/node_modules/tape/lib/test.js:113:28)', + ' at Immediate.next [as _onImmediate] (/node_modules/tape/lib/results.js:157:7)', ' at process.processImmediate (node:internal/timers:476:21)', ' ...', '# Nested tests', @@ -71,15 +71,15 @@ const TAP = { ' operator: deepEqual', ' expected: [ \'foo\', \'bar\', \'foobar baz\' ]', ' actual: [ \'foo\', \'bar\', \'baz\' ]', - ' at: Test. (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:32:8)', + ' at: Test. (/test/mock/create-simple-tap.cjs:32:8)', ' stack: |-', ' Error: Sub-test partial array failure', - ' at Test.assert [as _assert] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:479:48)', - ' at Test.tapeDeepEqual (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:720:7)', - ' at Test. (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:32:8)', - ' at Test.run (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:113:28)', - ' at Test._end (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:385:5)', - ' at Immediate._onImmediate (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:154:9)', + ' at Test.assert [as _assert] (/node_modules/tape/lib/test.js:479:48)', + ' at Test.tapeDeepEqual (/node_modules/tape/lib/test.js:720:7)', + ' at Test. (/test/mock/create-simple-tap.cjs:32:8)', + ' at Test.run (/node_modules/tape/lib/test.js:113:28)', + ' at Test._end (/node_modules/tape/lib/test.js:385:5)', + ' at Immediate._onImmediate (/node_modules/tape/lib/test.js:154:9)', ' at process.processImmediate (node:internal/timers:476:21)', ' ...', 'not ok 12 A small object deepEqual failure', @@ -89,15 +89,15 @@ const TAP = { ' { a: \'bar\', b: [ 420 ] }', ' actual: |-', ' { a: \'foo\', b: [ 42 ], c: \'baz\' }', - ' at: Test. (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:37:8)', + ' at: Test. (/test/mock/create-simple-tap.cjs:37:8)', ' stack: |-', ' Error: A small object deepEqual failure', - ' at Test.assert [as _assert] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:479:48)', - ' at Test.tapeDeepEqual (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:720:7)', - ' at Test. (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:37:8)', - ' at Test.run (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:113:28)', - ' at Test._end (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:385:5)', - ' at Immediate._onImmediate (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:154:9)', + ' at Test.assert [as _assert] (/node_modules/tape/lib/test.js:479:48)', + ' at Test.tapeDeepEqual (/node_modules/tape/lib/test.js:720:7)', + ' at Test. (/test/mock/create-simple-tap.cjs:37:8)', + ' at Test.run (/node_modules/tape/lib/test.js:113:28)', + ' at Test._end (/node_modules/tape/lib/test.js:385:5)', + ' at Immediate._onImmediate (/node_modules/tape/lib/test.js:154:9)', ' at process.processImmediate (node:internal/timers:476:21)', ' ...', '',