Skip to content

Commit d3dc9fe

Browse files
committed
feat: adds submodule to repo
1 parent b2849d7 commit d3dc9fe

File tree

5 files changed

+11
-360
lines changed

5 files changed

+11
-360
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "examples"]
2+
path = examples
3+
url = https://github.com/EasyPost/examples

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ EASYPOST_TEST_API_KEY=123... EASYPOST_PROD_API_KEY=123... make coverage
193193

194194
# Run security analysis
195195
make scan
196+
197+
# Update submodules
198+
git submodule init
199+
git submodule update --remote
196200
```
197201

198202
### Typescript Definitions (Beta)

examples

Submodule examples added at 7109112

test/helpers/fixture.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ export default class Fixture {
44
// Read fixture data from the fixtures JSON file
55
static readFixtureData() {
66
const currentDir = process.cwd();
7-
const fixtures = JSON.parse(fs.readFileSync(`${currentDir}/test/helpers/fixtures.json`));
7+
const fixtures = JSON.parse(
8+
fs.readFileSync(`${currentDir}/examples/official/fixtures/client-library-fixtures.json`),
9+
);
810

911
return fixtures;
1012
}

test/helpers/fixtures.json

-359
This file was deleted.

0 commit comments

Comments
 (0)