We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f343780 commit dee554bCopy full SHA for dee554b
1 file changed
tests/export.test.js
@@ -1,4 +1,5 @@
1
const fs = require('fs');
2
+const path = require('path');
3
const {
4
buildContent,
5
buildFileName,
@@ -142,7 +143,16 @@ describe('export helpers', () => {
142
143
test('imported domain canvas notes start below titles and journey steps', () => {
144
const imported = JSON.parse(
145
fs.readFileSync(
- 'C:/Users/MarjukkaNiinioja/Downloads/specs/canvases/api-product-strategy/domainCanvas.example.json',
146
+ path.join(
147
+ process.cwd(),
148
+ 'node_modules',
149
+ 'apiops-cycles-method-data',
150
+ 'src',
151
+ 'data',
152
+ 'canvas',
153
+ 'import-export-templates',
154
+ 'Canvas_domainCanvas.json',
155
+ ),
156
'utf8',
157
),
158
);
0 commit comments