Skip to content

Commit c59159d

Browse files
authored
Merge pull request #7 from Anna0131/dev
test
2 parents fc87f63 + 69833a4 commit c59159d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/tests/integration/integration.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ const path = require('path');
66
const app = require('../../index');
77
const productsFilePath = path.join(__dirname, './stub-products.json');
88

9+
10+
// 測試前先重置 products.json
911
function resetProductsFile() {
1012
const initialData = [
1113
{

0 commit comments

Comments
 (0)