Skip to content

Commit bd3dd47

Browse files
committed
Set up template and READMEs
1 parent 962a2df commit bd3dd47

File tree

6 files changed

+25
-15
lines changed

6 files changed

+25
-15
lines changed

e2e/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# E2E Tests
2+
3+
This directory is for Firebase E2E tests that are completely independent of the main SDK workspaces. Packages in here should
4+
5+
* Have a start trigger independent of the main CI PR/push triggers (e.g., manual trigger, repository_dispatch, from an external runner like Kokoro, etc.)
6+
7+
A common use case might be to clone this repo, cd into the chosen directory under e2e, npm install, and run npm scripts.
8+
9+
* Have a self-contained set of NPM dependencies. They should not depend on the local version of Firebase in the SDK nor assume inherited availability of any packages in the top level package.json of this repo (typescript, firebase, karma, etc.).
10+
11+
See the `template/` directory for an example.

e2e/template/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# E2E Test Package Template
2+
3+
This is a template for an E2E test package. It contains one dependency not used in the global monorepo workspace to confirm the dependencies in this directory do not affect the global workspace.

e2e/template/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('hello');

e2e/test-project/package.json renamed to e2e/template/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"version": "1.0.0",
44
"main": "index.js",
55
"scripts": {
6+
"start": "node index.js",
67
"test": "echo \"Error: no test specified\" && exit 1"
78
},
89
"author": "",
910
"license": "ISC",
1011
"description": "",
1112
"dependencies": {
12-
"react": "19.1.0",
13-
"tailwindcss": "4.1.7"
13+
"date-fns": "4.1.0"
1414
}
1515
}

e2e/template/yarn.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+
5+
date-fns@4.1.0:
6+
version "4.1.0"
7+
resolved "https://registry.npmjs.org/date-fns/-/date-fns-4.1.0.tgz#64b3d83fff5aa80438f5b1a633c2e83b8a1c2d14"
8+
integrity sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==

e2e/test-project/yarn.lock

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)