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.
2 parents fc87f63 + 69833a4 commit c59159dCopy full SHA for c59159d
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