We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71d9e63 commit 69833a4Copy full SHA for 69833a4
backend/tests/integration/integration.test.js
@@ -6,6 +6,8 @@ const path = require('path');
6
const app = require('../../index');
7
const productsFilePath = path.join(__dirname, './stub-products.json');
8
9
+
10
+// 測試前先重置 products.json
11
function resetProductsFile() {
12
const initialData = [
13
{
0 commit comments