feat: make secret names less derp for tsts
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
describe('e2e', () => {
|
||||
it('verify', () => {
|
||||
expect(process.env.A).toBe("1");
|
||||
expect(process.env.NAMED_TOKEN).toBe("1");
|
||||
expect(process.env.E).toBe("4");
|
||||
expect(process.env.SECRET).toBe("SUPERSECRET");
|
||||
expect(process.env.NAMED_SECRET).toBe("SUPERSECRET");
|
||||
expect(process.env.OTHERSECRET).toBe("OTHERSUPERSECRET");
|
||||
});
|
||||
});
|
||||
@@ -16,9 +16,7 @@ const got = require('got');
|
||||
},
|
||||
body: {
|
||||
data: {
|
||||
a: 1,
|
||||
b: 2,
|
||||
c: 3,
|
||||
secret: "SUPERSECRET",
|
||||
},
|
||||
},
|
||||
json: true,
|
||||
@@ -31,9 +29,7 @@ const got = require('got');
|
||||
},
|
||||
body: {
|
||||
data: {
|
||||
e: 4,
|
||||
f: 5,
|
||||
g: 6,
|
||||
otherSecret: "OTHERSUPERSECRET",
|
||||
},
|
||||
},
|
||||
json: true,
|
||||
|
||||
Reference in New Issue
Block a user